Recovering after errors
Dan O'Donnell <[email protected]>
| Newsgroups | gmane.text.refdb.general |
|---|---|
| Organization | Department of English, University of Lethbridge |
| Message-ID | <[email protected]> |
I've been having trouble lately with refdb crashing after errors and then being extremely difficult to restart. A typical cause for something like this might be an incorrect command-line option (I once used -t for the file name instead of -f and was forced to use control c to abort). After an error like this, refdb seems to lose contact with its databases Mysql, however, is still working. I've tried several things to get it running again from using refdbctl to stop and start, to restarting mysql and apache2, to removing my configuration files and reinstalling refdb with the installation script (often when I come to do this there is one or more refdbd sessions not properly killed off and immune to refdbctl [I kill them manually]) I usually get set and viewstat to work in refdba, and can usually selectdb and use whichdb in refdbc. But things hang up the moment I try to add any references. Any ideas what might be making it so unstable? Here's the log of my last session. I image the problem is the lost version file at /usr/local/var/lib/refdb/db/DB_VERSION. In refdbdrc this path is given as /usr/var/lib/refdb/db/ so I'm not sure what is telling it to look in this (non-existent) directory unless something in the setup has missed my original prefix parameter: > 6:pid=5412:Tue Jul 11 20:13:15 2006:adding client 127.0.0.1 on fd 6 > 6:pid=5412:Tue Jul 11 20:13:15 2006:server waiting n_max_fd=6 > 6:pid=5456:Tue Jul 11 20:13:15 2006:serving client on fd 6 with protocol version 4 > 6:pid=5456:Tue Jul 11 20:13:15 2006:dbi is up > 3:pid=5456:Tue Jul 11 20:13:15 2006:could not open version file: > 3:pid=5456:Tue Jul 11 20:13:15 2006:/usr/local/var/lib/refdb/db/DB_VERSION > 4:pid=5456:Tue Jul 11 20:19:29 2006:error > 6:pid=5456:Tue Jul 11 20:19:29 2006:child finished client on fd 6 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642