[Bug 10665] New: koha-index-daemon-ctl.sh needs mysql dependency
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10665 Bug ID: 10665 Summary: koha-index-daemon-ctl.sh needs mysql dependency Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: gmcharlt@gmail.com Reporter: fridolyn.somers@biblibre.com QA Contact: testopia@bugs.koha-community.org koha-index-daemon-ctl.sh is a init script for koha-index-daemon from Koha::Contrib::Tamil::IndexerDaemon. When starting system, this script needs to be started after the MySQL server because it uses it to access to Koha database. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10665 Fridolyn SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10665 Fridolyn SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Assignee|gmcharlt@gmail.com |fridolyn.somers@biblibre.co | |m --- Comment #1 from Fridolyn SOMERS <fridolyn.somers@biblibre.com> --- Created attachment 19992 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19992&action=edit Bug 10665 - koha-index-daemon-ctl.sh needs mysql dependency Proposed patch. Without this patch, the log file show on startup : DBD::mysql::st execute failed: MySQL server has gone away at /usr/local/share/perl/5.14.2/Koha/Contrib/Tamil/IndexerDaemon.pm line 71. DBD::mysql::st fetchrow failed: fetch() without execute() at /usr/local/share/perl/5.14.2/Koha/Contrib/Tamil/IndexerDaemon.pm line 73. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10665 Fridolyn SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #19992|0 |1 is obsolete| | --- Comment #2 from Fridolyn SOMERS <fridolyn.somers@biblibre.com> --- Created attachment 20009 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20009&action=edit Bug 10665 - koha-index-daemon-ctl.sh dependency I revised patch because indexer may use a remote MySQL server and so the dependency on $mysql may not be possible. I changed for $all as dependency at startup. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10665 Fridolyn SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|koha-index-daemon-ctl.sh |koha-index-daemon-ctl.sh |needs mysql dependency |dependency -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10665 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #20009|0 |1 is obsolete| | --- Comment #3 from Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> --- Created attachment 20193 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20193&action=edit Bug 10665 - koha-index-daemon-ctl.sh dependency The daemon koha-index-daemon needs a connexion to MySQL server. This patch sets start dependance to "all" in order to wait for local MySQL server or not wait if using a remote MySQL server. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Small fix, no errors. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10665 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |bgkriegel@gmail.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10665 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Looks like a small change - is there an easy way to verify the effect? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10665 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10665 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #20193|0 |1 is obsolete| | --- Comment #5 from Mason James <mtj@kohaaloha.com> --- Created attachment 21074 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21074&action=edit Bug 10665 - koha-index-daemon-ctl.sh dependency The daemon koha-index-daemon needs a connexion to MySQL server. This patch sets start dependance to "all" in order to wait for local MySQL server or not wait if using a remote MySQL server. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Small fix, no errors. Signed-off-by: Mason James <mtj@kohaaloha.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10665 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |In Discussion CC| |mtj@kohaaloha.com --- Comment #6 from Mason James <mtj@kohaaloha.com> --- (In reply to Katrin Fischer from comment #4)
Looks like a small change - is there an easy way to verify the effect?
hmmmmm, a great question! ^^ -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10665 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org