From: <mar...@mh...> - 2002-12-15 01:30:23
|
Michael Below writes: > Hi, > > I just installed refdb, but I can't connect to the database: > > If I call viewstat in refdba, it says: > > could not connect to database server > > In the logfile of refdbd, I find messages like this one: > > 6:pid=340:Sat Dec 14 13:18:23 2002:adding client on fd 6 > 6:pid=340:Sat Dec 14 13:18:23 2002:server waiting n_max_fd=6 > 6:pid=812:Sat Dec 14 13:18:23 2002:serving client on fd 6 with > protocol version > 0 > 4:pid=812:Sat Dec 14 13:18:23 2002:creating database connection > structure failed This error message is caused by the call: dbi_conn_new(ptr_clrequest->dbserver) in refdbda.c. There's essentially two possible causes for the failure of this call: 1) libdbi is not set up correctly. Did you run make check after building libdbi? Please also make sure that you built libdbi with the --with-mysql switch as this is required to build the MySQL driver. Please check also that the driver is in a standard location, like /usr/local/lib/dbd/libmysql.so 2) refdbd is configured incorrectly. Please check the settings in /usr/local/etc/refdb/refdbdrc and make sure that you selected mysql as the dbserver. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |