If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
Debian (lenny) Install Problem - Database Access Error
the issue seems to be network related "Caused by: java.net.ConnectException: Connection refused". Please check if mysql listens on localhost and localhost is reachable. This topic popped up in the past already, mostly because /etc/hosts was broken.
Greetings
Thanks for the pointer. I thought I had already verified this, apparently I didn't. The cause was that my mysql system was "only" listening on an external address. I had to change my bind-address line to be 0.0.0.0 for it to listen on both internal and external addresses.
the issue seems to be network related "Caused by: java.net.ConnectException: Connection refused". Please check if mysql listens on localhost and localhost is reachable. This topic popped up in the past already, mostly because /etc/hosts was broken.
Debian (lenny) Install Problem - Database Access Error
I can't seem to get it to set up the database connections right. The database and open-xchange are on the same computer and the database being used is an existing database with production information already in it. It's throwing the error at the end and I can't seem to get rid of it. Here's what I hope is the relevant information:
Debian 5.0.3 Lenny
Existing MySQL install
Existing Apache2 install
java -version
java version "1.5.0_17"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_17-b04)
Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed mode)
Installed open-xchange by apt-get install open-xchange-meta-singleserver
Verified that it "did" create the tables in the database specified. I also verified connectivity to the database via command line using the user/pass combination specified in these commands.
setting up groupware configuration /opt/open-xchange/etc/groupware
....
skipping configuration of URL in /opt/open-xchange/etc/groupware/configjump.properties
.............................................
groupware daemon must now be restarted if already running
setting up admin daemon configuration /opt/open-xchange/etc/admindaemon
......................
*** RMI authentication is enabled
using oxadminmaster as master account
admin daemon must now be restarted if already running
I started the admin daemon service for it with /etc/init.d/open-xchange-admin start
Command to registerserver:
./registerserver -n oxchange -A oxadminmaster -P password
Output for Command:
server could not be registered:
Server response:
com.openexchange.admin.rmi.exceptions.PoolExceptio n: DBP-0001 Category=5 Message=Cannot get connection to config DB. exceptionID=45963687-12
I guess the question is... why am I getting db connection errors when I've specified the information, verified java versioning, verified the db that I specified is active and accessible and even has tables populated from the first part of the step. However, at no point in this does the db_pool table contain any information. I don't know if that's important or not at this point, it might be too early in the install process for that to matter.
Any assistance will be greatly appreciated.
Last edited by Guest; 03-19-2010, 07:31 AM.
Reason: Added info.
Leave a comment: