[Koha] Zebra Status - Is Zebra active? + understanding cmd outputs

Craig Butosi craig.butosi at rcmusic.ca
Thu Apr 30 03:08:44 NZST 2015


Hi all,

I just successfully migrated my koha system to a VPS (Ubuntu 14.04 LTS 64-bit + Koha 3.18.06), and restored the database via mysql.

I'm in the process of activating the Z39.50 server and I noticed something odd (again!). When I ran koha-restart-zebra, the terminal returned the following:

    "Zebra does not appear to have been running for instance library" | "Starting Zebra server for instance library".

This is odd, because each time I ran koha-restart-zebra, it returned the same message. I am interpreting this output as zebra not running at all,  so now I'm a bit confused ( as OPAC and Staff search are working fine, though I haven't catalogued or imported any new records since the migration). So, I ran

    ps aux | grep zebra

and it returned the following output

    koha     12183  0.0  0.0  10892   936 pts/0    S+   10:10   0:00 grep zebra
    library+ 26249  0.0  0.0  19176   248 ?        S    Apr28   0:00 daemon --name=library-koha-zebra --pidfiles=/var/run/koha/library/ --errlog=/var/log/koha/library/zebra-error.log --stdout=/var/log/koha/library/zebra.log --output=/var/log/koha/library/zebra-output.log
verbose=1 --respawn --delay=30 --user=library-koha.library-koha -- zebrasrv -v none,fatal,warn -f /etc/koha/sites/library/koha-conf.xml
    library+ 26250  0.0  0.0 113264  1248 ?        S    Apr28   0:00 zebrasrv -v none,fatal,warn -f /etc/koha/sites/library/koha-conf.xml

I also ran

    ps -f -C zebrasrv

which returned the following output

UID        PID  PPID  C STIME TTY          TIME CMD
library+ 26250 26249  0 Apr28 ?        00:00:00 zebrasrv -v none,fatal,warn -f /etc/koha/sites/library/koha-conf.xml

Is there anything fishy going on with the above outputs? I modified the koha-conf.xml file on April 28th, but have since made sure that that file is correctly edited (April 29th).

Do the above mean that Zebra is indeed running?

Thanks everyone!

Best,

Craig Butosi, MA, MLIS, B Mus (Hons.)
LIBRARY SERVICES MANAGER
the royal conservatory
TELUS Centre for Performance and Learning
273 Bloor Street West Toronto, ON  M5S 1W2
416.408.2824 x338
www.rcmusic.ca


Note: This email message and any attachments are intended only for the use of the individual to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the recipient of this email is not the intended recipient (or the employee or agent responsible for delivering the email to the intended recipient), you are hereby notified that any review, dissemination, distribution or copying or other use of this message is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return email and delete this message and attachments from your system, thank you.


More information about the Koha mailing list