Koha:MySQL: Difference between revisions

From TSAS Library
Jump to: navigation, search
(Created page with "Issue: Multiple admins cataloging at once causes the following error messages in browser:<br /> <code>Software error: Can't call method "subfields" on an undefined value at /...")
 
No edit summary
Line 1: Line 1:
Issue: Multiple admins cataloging at once causes the following error messages in browser:<br />
==Issue==
Multiple admins cataloging at once causes the following error messages in browser:<br />
<code>Software error:
<code>Software error:


Line 20: Line 21:
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
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.</code>
For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.</code>
==Attempted resolution==
Added <code># make the buffer pool smaller than 128M since we only have 1 GB of total RAM
innodb_buffer_pool_size = 16M</code> to my.cnf at /etc/mysql/my.cnf<ref>[http://serverfault.com/questions/379714/unknown-unsupported-storage-engine-innodb-mysql-ubuntu]</ref>
==References==
<references />

Revision as of 19:24, 24 August 2016

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]

References