[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
Thu Aug 11 16:39:58 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16885
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #53958|0 |1
is obsolete| |
--- Comment #10 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 54314
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54314&action=edit
Bug 16885: koha-stop-zebra should be more sure of stopping zebrasrv
This patch follows Galen's suggestion in comment #7.
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
Sponsored-by: Tulong Aklatan
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Works as expected, no regressions found.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list