Error - Koha is DOWN for me
I am having the following error message -- Is there any way that you can help me? Thanks John Software error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /home/koha/kohaclone/C4/Context.pm line 758. Compilation failed in require at /home/koha/kohaclone/C4/Auth.pm line 31. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Auth.pm line 31. Compilation failed in require at /home/koha/kohaclone/opac/opac-main.pl line 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/opac/opac-main.pl line 22. For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error. Server information Koha version: 3.08.17.001 OS version ('uname -a'): Linux koha 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux Perl interpreter: /usr/bin/perl Perl version: 5.010001 Perl @INC:/home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . MySQL version: mysql Ver 14.14 Distrib 5.1.61, for debian-linux-gnu (i486) using readline 6.1 Apache version: Server version: Apache/2.2.16 (Debian)Zebra version:Zebra 2.0.50 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: 732870c555c7d32c5d2b6a4914c6fa7232eb26b2 Using ICU -- ICS Learning Technology learningtechnology@ics.edu.hk LT Hotline: 8228
On 12 March 2014 14:42, John Leger <legerj@ics.edu.hk> wrote:
I am having the following error message -- Is there any way that you can help me?
Thanks
John Software error:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at
This error tells me that MySQL is not running. You could try restarting it. Chris
/home/koha/kohaclone/C4/Context.pm line 758. Compilation failed in require at /home/koha/kohaclone/C4/Auth.pm line 31. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Auth.pm line 31. Compilation failed in require at /home/koha/kohaclone/opac/opac-main.pl line 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/opac/opac-main.pl line 22.
For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error.
Server information Koha version: 3.08.17.001 OS version ('uname -a'): Linux koha 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux Perl interpreter: /usr/bin/perl Perl version: 5.010001 Perl @INC:/home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . MySQL version: mysql Ver 14.14 Distrib 5.1.61, for debian-linux-gnu (i486) using readline 6.1 Apache version: Server version: Apache/2.2.16 (Debian)Zebra version:Zebra 2.0.50 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: 732870c555c7d32c5d2b6a4914c6fa7232eb26b2 Using ICU
-- ICS Learning Technology learningtechnology@ics.edu.hk LT Hotline: 8228 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Chris - Thank you for your response. When I try to start or restart mysql I receive the following message: Error 2002 (HY000): Can't connect to local MYSQLserver through socket '/var/run/mysqld/mysqld.sock' (2) On Wed, Mar 12, 2014 at 9:44 AM, Chris Cormack <chris@bigballofwax.co.nz>wrote:
On 12 March 2014 14:42, John Leger <legerj@ics.edu.hk> wrote:
I am having the following error message -- Is there any way that you can help me?
Thanks
John Software error:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at
This error tells me that MySQL is not running. You could try restarting it.
Chris
/home/koha/kohaclone/C4/Context.pm line 758. Compilation failed in require at /home/koha/kohaclone/C4/Auth.pm line 31. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Auth.pm line 31. Compilation failed in require at /home/koha/kohaclone/opac/opac-main.plline 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/opac/opac-main.pl line 22.
For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error.
Server information Koha version: 3.08.17.001 OS version ('uname -a'): Linux koha 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux Perl interpreter: /usr/bin/perl Perl version: 5.010001 Perl @INC:/home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . MySQL version: mysql Ver 14.14 Distrib 5.1.61, for debian-linux-gnu (i486) using readline 6.1 Apache version: Server version: Apache/2.2.16 (Debian)Zebra version:Zebra 2.0.50 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: 732870c555c7d32c5d2b6a4914c6fa7232eb26b2 Using ICU
-- ICS Learning Technology learningtechnology@ics.edu.hk LT Hotline: 8228 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- ICS Learning Technology learningtechnology@ics.edu.hk LT Hotline: 8228
On 12/03/2014 9:17 pm, "John Leger" <legerj@ics.edu.hk> wrote:
Chris - Thank you for your response.
When I try to start or restart mysql I receive the following message: Error 2002 (HY000): Can't connect to local MYSQLserver through socket
'/var/run/mysqld/mysqld.sock' (2) You need to restart the server, not the client. In any case Koha is not the issue, mysql is. So if you can't get the server to start you might need to look into that. Chris
On Wed, Mar 12, 2014 at 9:44 AM, Chris Cormack <chris@bigballofwax.co.nz>
On 12 March 2014 14:42, John Leger <legerj@ics.edu.hk> wrote:
I am having the following error message -- Is there any way that you
can
help me?
Thanks
John Software error:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at
This error tells me that MySQL is not running. You could try restarting it.
Chris
/home/koha/kohaclone/C4/Context.pm line 758. Compilation failed in require at /home/koha/kohaclone/C4/Auth.pm line
BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Auth.pm
Compilation failed in require at /home/koha/kohaclone/opac/opac-main.plline 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/opac/opac-main.pl line 22.
For help, please send mail to the webmaster (webmaster@koha), giving
wrote: 31. line 31. this
error message and the time and date of the error.
Server information Koha version: 3.08.17.001 OS version ('uname -a'): Linux koha 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux Perl interpreter: /usr/bin/perl Perl version: 5.010001 Perl @INC:/home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . MySQL version: mysql Ver 14.14 Distrib 5.1.61, for debian-linux-gnu (i486) using readline 6.1 Apache version: Server version: Apache/2.2.16 (Debian)Zebra version:Zebra 2.0.50 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: 732870c555c7d32c5d2b6a4914c6fa7232eb26b2 Using ICU
-- ICS Learning Technology learningtechnology@ics.edu.hk LT Hotline: 8228 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- ICS Learning Technology learningtechnology@ics.edu.hk LT Hotline: 8228
If I were you I'd check the configuration of my.cnf find / -name my.cnf -exec less {} \; I realized once that mysql was not configured to listen on the ocrrect IP addreess My 2 cents, Alex 2014-03-12 9:17 GMT+01:00 John Leger <legerj@ics.edu.hk>:
Chris - Thank you for your response.
When I try to start or restart mysql I receive the following message: Error 2002 (HY000): Can't connect to local MYSQLserver through socket '/var/run/mysqld/mysqld.sock' (2)
On Wed, Mar 12, 2014 at 9:44 AM, Chris Cormack <chris@bigballofwax.co.nz
wrote:
On 12 March 2014 14:42, John Leger <legerj@ics.edu.hk> wrote:
I am having the following error message -- Is there any way that you can help me?
Thanks
John Software error:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at
This error tells me that MySQL is not running. You could try restarting it.
Chris
/home/koha/kohaclone/C4/Context.pm line 758. Compilation failed in require at /home/koha/kohaclone/C4/Auth.pm line
BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Auth.pm line 31. Compilation failed in require at /home/koha/kohaclone/opac/opac-main.plline 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/opac/opac-main.pl line 22.
For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error.
Server information Koha version: 3.08.17.001 OS version ('uname -a'): Linux koha 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux Perl interpreter: /usr/bin/perl Perl version: 5.010001 Perl @INC:/home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . MySQL version: mysql Ver 14.14 Distrib 5.1.61, for debian-linux-gnu (i486) using readline 6.1 Apache version: Server version: Apache/2.2.16 (Debian)Zebra version:Zebra 2.0.50 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: 732870c555c7d32c5d2b6a4914c6fa7232eb26b2 Using ICU
-- ICS Learning Technology learningtechnology@ics.edu.hk LT Hotline: 8228 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- ICS Learning Technology learningtechnology@ics.edu.hk LT Hotline: 8228 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Perfect. That was it. Thanks for the suggestion! On Wed, Mar 12, 2014 at 4:28 PM, alessandro macuz < alessandro.macuz@gmail.com> wrote:
If I were you I'd check the configuration of my.cnf
find / -name my.cnf -exec less {} \;
I realized once that mysql was not configured to listen on the ocrrect IP addreess
My 2 cents,
Alex
2014-03-12 9:17 GMT+01:00 John Leger <legerj@ics.edu.hk>:
Chris - Thank you for your response.
When I try to start or restart mysql I receive the following message: Error 2002 (HY000): Can't connect to local MYSQLserver through socket '/var/run/mysqld/mysqld.sock' (2)
On Wed, Mar 12, 2014 at 9:44 AM, Chris Cormack <chris@bigballofwax.co.nz
wrote:
On 12 March 2014 14:42, John Leger <legerj@ics.edu.hk> wrote:
I am having the following error message -- Is there any way that you can help me?
Thanks
John Software error:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at
This error tells me that MySQL is not running. You could try restarting it.
Chris
/home/koha/kohaclone/C4/Context.pm line 758. Compilation failed in require at /home/koha/kohaclone/C4/Auth.pm line
BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Auth.pm line 31. Compilation failed in require at /home/koha/kohaclone/opac/opac-main.plline 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/opac/opac-main.pl line 22.
For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error.
Server information Koha version: 3.08.17.001 OS version ('uname -a'): Linux koha 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux Perl interpreter: /usr/bin/perl Perl version: 5.010001 Perl @INC:/home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . MySQL version: mysql Ver 14.14 Distrib 5.1.61, for debian-linux-gnu (i486) using readline 6.1 Apache version: Server version: Apache/2.2.16 (Debian)Zebra version:Zebra 2.0.50 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: 732870c555c7d32c5d2b6a4914c6fa7232eb26b2 Using ICU
-- ICS Learning Technology learningtechnology@ics.edu.hk LT Hotline: 8228 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- ICS Learning Technology learningtechnology@ics.edu.hk LT Hotline: 8228 _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- ICS Learning Technology learningtechnology@ics.edu.hk LT Hotline: 8228
participants (3)
-
alessandro macuz -
Chris Cormack -
John Leger