Bug 6552

Summary: searching, add, save record failed
Product: Koha Reporter: mustaqeem <mustaqeemabd>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: CLOSED WONTFIX QA Contact: Bugs List <koha-bugs>
Severity: critical    
Priority: P5 - low CC: koha.sekjal, mustaqeemabd, paul.poulain
Version: 2.2.9   
Hardware: PC   
OS: Linux   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description mustaqeem 2011-07-04 09:12:51 UTC
Currently I get error when use cataloging features. When I search records from database then it just keep loading and after a while it get Internal Server Error.

I check in koha-error-log.txt and i found this kind of error message:




[Sat Jul 02 09:48:03 2011] [error] [client 10.232.34.34] DBD::mysql::st execute failed: MySQL server has gone away at /usr/local/koha/intranet/modules/C4/Context.pm line 437., referer: http://library.amdi.usm.edu.my:8000/cgi-bin/koha/circ/returns.pl
[Sat Jul 02 09:48:03 2011] [error] [client 10.232.34.58] DBI connect('koha229:localhost','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/local/koha/intranet/modules/C4/Context.pm line 411, referer: http://library.amdi.usm.edu.my:8000/cgi-bin/koha/acqui.simple/addbooks.pl

The other errors that occur is timeout waiting and premature end of scripts.

For information, if I search record using one word such 'a'. it did get the result, but when use more than that I will start get that error. and there is time when it works as usual, but it not stable.

thank you
Comment 1 Paul Poulain 2011-10-24 13:55:00 UTC
Mustageem,

1- Koha 2.2.9 is unsupported by the community now
2- this problem does not seem to be related to Koha but to mySQL. At least with the informations you provide that's the only thing we can say: mySQL has gone away means your mySQL is no more reachable. Why is another question.