|From:||Chadwick, John, DCA|
|Subject:||RE: [Koha-devel] Koha 3.0 success|
|Date:||Mon, 14 Jan 2008 16:58:32 -0700|
Okay, deleting problem directories seems to have resolved the issue. I am getting a clean startup now. Now I will try to do the auto restart.
From: Mason James
On 2008/01/15, at 6:54 AM,
I have restarted the entire server a few times and each time I have had to create new /var/lock/koha/zebradb/bibilos and /var/lock/koha/zebradb/authorities directories.
I have also had to recreate the /var/run/koha/zebradb/bibliosocket and authoritysocket directories each restart.
Nearly there!! :), OK, so 2 issues here...
=== zebrasrv keeps restarting ===
are you running the zebra-daemon?, that will probably be the reason why your zebrasrv keeps restarting
you can check like this...
$ ps -ef | grep 'koha-zebra-ctl'
8591 ? Ss 0:00 daemon --name=koha-zebra-ctl --errlog=/home/chris/koha/var/log/koha-zebradaemon.err --stdout=/home/chris/koha/var/log/koha-zebradaemon.log --output=/home/chris/koha/var/log/koha-zebradaemon-output.log --verbose=1 --respawn --delay=30 --user=chris chris -- /usr/bin/zebrasrv -f /home/chris/koha/etc/koha-conf.xml
if its running, then kill it while you troubleshoot.
=== re-creating new /var/ dirs for zebra ===
I think you manually creating these files is causing problems
when zebrasrv sees these files (/var/lock/koha/zebradb/* , and var/run/koha/zebradb/*socket) ,
it assumes that another zebra process is already running and using those files,
so it tries to start using tcp , not unix sockets.
because those files exist, your zebra isnt starting correctly
try deleting those files, then starting zebrasrv again, and look for the 'Adding dynamic listener' lines during startup
$ zebrasrv -f /home/mtj/koha.single/etc/koha-conf.xml
19:23:45-13/01 [server] Adding dynamic listener on unix:/home/mtj/koha.single/var/run/zebradb/bibliosocket id=1 <<<<<< SUCCESS!!
19:23:45-13/01 [server] Adding dynamic listener on unix:/home/mtj/koha.single/var/run/zebradb/authoritysocket id=2 <<<<<< SUCCESS!!
19:23:45-13/01 [server] Starting server zebrasrv pid=11057
Confidentiality Notice: This e-mail, including all attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited unless specifically provided under the New Mexico Inspection of Public Records Act. If you are not the intended recipient, please contact the sender and destroy all copies of this message. -- This email has been scanned by the Sybari - Antigen Email System.
|[Prev in Thread]||Current Thread||[Next in Thread]|