[Koha-bugs] [Bug 16885] koha-stop-zebra should be more sure of stopping zebrasrv

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 3 05:35:40 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16885

--- Comment #4 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 53925
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53925&action=edit
Bug 16885: koha-stop-zebra should be more sure of stopping zebrasrv

This patch actually loops 10 tens to check, before giving up.

TEST PLAN
---------
1) Back up your koha logs as desired.
2) add something to /var/log/koha/{instance name}/intranet-error.log
3) ps aux | grep zebra
4) logrotate -f /etc/logrotate.d/koha-common
5) ps aux | grep zebra
   -- the zebrasrv and daemon process for zebra indexing
      didn't restart.
6) apply this patch against /usr/sbin/koha-stop-zebra
7) sudo koha-start-zebra {instance name}
8) ps aux | grep zebra
   -- the processes should have started up again.
9) add different junk to /var/log/koha/{instance name}/intranet-error.log
10) ps aux | grep zebra
11) logrotate -f /etc/logrotate.d/koha-common
12) ps aux | grep zebra
    -- the process ids for the zebrasrv and daemon processes should
       be different, but the number of processes is the same as before.
13) sign off, because its less ugly than comment #3

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list