Koha:MySQL

From TSAS Library
Revision as of 15:03, 21 September 2016 by JStallings (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Issue

Multiple admins cataloging at once causes the following error messages in browser:
Software error:

Can't call method "subfields" on an undefined value at /usr/share/koha/intranet/cgi-bin/authorities/blinddetail-biblio-search.pl line 91. For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.

Software error:

DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1490. at /usr/share/koha/lib/Koha/Database.pm line 90 For help, please send mail to the webmaster ([redacted]), giving this error message and the time and date of the error.

Software error:

DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1490. at /usr/share/koha/lib/Koha/Database.pm line 90 Compilation failed in require at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 32. BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 32.

Software error:

DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1490. at /usr/share/koha/lib/Koha/Database.pm line 90 For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.

Attempted resolution

Added # make the buffer pool smaller than 128M since we only have 1 GB of total RAM innodb_buffer_pool_size = 16M to my.cnf at /etc/mysql/my.cnf[1]

Actual resolution

Hosted memory increased from .64 GiB to 1 GiB. No subsequent errors.

References