Koha:MySQL: Difference between revisions

From TSAS Library
Jump to: navigation, search
No edit summary
No edit summary
 
Line 25: Line 25:
Added <code># make the buffer pool smaller than 128M since we only have 1 GB of total RAM
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>
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>
==Actual resolution==
Hosted memory increased from .64 GiB to 1 GiB. No subsequent errors.


==References==
==References==
<references />
<references />
[[Category:Koha]]

Latest revision as of 15:03, 21 September 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]

Actual resolution

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

References