zebraserver does not seem to be running?
When I give the command zebrasrv -f /etc/koha/koha-conf-xml, it seems to start fine. but it never returns me to the command prompt, and looking thru the system there does not seem to be any zebra running (pardon the pun). There does not seem to be any logfile either. Any ideas? Thanks... debian:~# zebrasrv -f /etc/koha/koha-conf.xml 20:49:29-29/03 [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-biblios.cfg 20:49:30-29/03 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 20:49:30-29/03 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 20:49:30-29/03 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 20:49:30-29/03 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 20:49:30-29/03 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 20:49:30-29/03 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 20:49:30-29/03 [log] zebra_start 2.0.36 /etc/koha/zebradb/zebra-authorities.cfg 20:49:30-29/03 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 20:49:30-29/03 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 20:49:30-29/03 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 20:49:30-29/03 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 20:49:30-29/03 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 20:49:30-29/03 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 20:49:30-29/03 [server] Adding dynamic listener on unix:/var/run/koha/zebradb/bibliosocket id=1 20:49:30-29/03 [server] Adding dynamic listener on unix:/var/run/koha/zebradb/authoritysocket id=2 20:49:30-29/03 [server] Starting server zebrasrv pid=4287
On 2009/03/30, at 2:14 PM, Marty wrote:
When I give the command zebrasrv -f /etc/koha/koha-conf-xml, it seems to start fine. but it never returns me to the command prompt, and looking thru the system there does not seem to be any zebra running (pardon the pun). There does not seem to be any logfile either. Any ideas? Thanks...
debian:~# zebrasrv -f /etc/koha/koha-conf.xml
try '-D' for daemon mode ;) $ zebrasrv -D -f /etc/koha/koha-conf.xml -D Use this to make the server put itself in the background and run as a daemon. If neither -i nor -D is given, the server starts in the foreground.
Thanks, but apart from returning me to the command prompt it does not seem to make any difference... I do not know how to check whether the daemon is running, idzebra.pid or something else? --- On Sun, 3/29/09, Mason James <mason.loves.sushi@gmail.com> wrote:
From: Mason James <mason.loves.sushi@gmail.com> Subject: Re: [Koha] zebraserver does not seem to be running? To: ontariowolf64@yahoo.com Cc: "koha koha" <koha@lists.katipo.co.nz> Date: Sunday, March 29, 2009, 10:15 PM On 2009/03/30, at 2:14 PM, Marty wrote:
When I give the command zebrasrv -f
/etc/koha/koha-conf-xml, it
seems to start fine. but it never returns me to the command prompt, and looking thru the system there does not seem to be any zebra running (pardon the pun). There does not seem to be any logfile either. Any ideas? Thanks...
debian:~# zebrasrv -f /etc/koha/koha-conf.xml
try '-D' for daemon mode ;)
$ zebrasrv -D -f /etc/koha/koha-conf.xml
-D Use this to make the server put itself in the background and run as a daemon. If neither -i nor -D is given, the server starts in the foreground.
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
On 2009/03/30, at 3:43 PM, Marty wrote:
Thanks, but apart from returning me to the command prompt it does not seem to make any difference...
yep, thats how '-D' is supposed to behave
I do not know how to check whether the daemon is running, idzebra.pid or something else?
to see if its running - why not just do? $ ps -ef|grep zebrasrv
Mason James <mason.loves.sushi@gmail.com> wrote:
to see if its running - why not just do?
$ ps -ef|grep zebrasrv
BTW, one can get cleaner output by using the command "pgrep zebrasrv" (sometimes pgrep is in another package not installed by default). If something like the named process is running, it returns a list of Process Identifier (PID) numbers. If it find nothing, it returns nothing. To see fuller details, try "ps $(pgrep zebrasrv)" Hope that helps, -- MJ Ray (slef). LMS developer and supporter for a small, friendly worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/ (Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237
participants (3)
-
Marty -
Mason James -
MJ Ray