koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Koha-devel] Koha 3.0 success


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.

 

John

 


From: Mason James [mailto:address@hidden
Sent: Monday, January 14, 2008 4:32 PM
To: Chadwick, John, DCA
Cc: address@hidden
Subject: Re: [Koha-devel] Koha 3.0 success

 

 

On 2008/01/15, at 6:54 AM, Chadwick, John, DCA wrote:



A few more clues.

 

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.

 

 

 

 

Hi John,

 

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 

 

0:52:41-14/01 [log] zebra_start 2.0.22 /etc/koha/zebradb/zebra-biblios.cfg

10:52:41-14/01 [server] Adding dynamic listener on unix:/var/run/koha/zebradb/bibliosocket id=1

10:52:41-14/01 [fatal] Failed to bind to unix:/var/run/koha/zebradb/bibliosocket [File exists]       <<<<< FILE EXISTS

 10:52:41-14/01 [server] Adding dynamic listener on tcp:@:9999 id=0                         <<<<<<<<<<<<<<<<<<<< USING TCP, NOT SOCKETS

10:52:41-14/01 [server] Starting server zebrasrv pid=4784

 

 

 

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

 

 

Cheers, Mason

 

--

Mason James                                address@hidden

Programmer                                         www.liblime.com

LibLime                                             +64 21 542 117





______________________________________________________________________
This inbound email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________



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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]