I had the following problem while trying to setup web installer... Is this a rights issue? Can any one help. thanks Koha error The following fatal error has occurred: Can't connect to MySQL server on 'xxx.xxx.x.xxx' (111) at /usr/share/koha/lib/C4/Context.pm line 646. Compilation failed in require at /usr/share/koha/lib/C4/Circulation.pm line 25. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Circulation.pm line 25. Compilation failed in require at /usr/share/koha/lib/C4/Overdues.pm line 24. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Overdues.pm line 24. Compilation failed in require at /usr/share/koha/lib/C4/Members.pm line 27. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm line 27. Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 31. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 31. Compilation failed in require at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 23. BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 23. Scott Kushner Information Technologies Middletown Public Library 732 671-3700 (x314)
On Fri, Oct 17, 2008 at 2:28 PM, Scott Kushner <skushner@mplmain.mtpl.org>wrote:
I had the following problem while trying to setup web installer…
Is this a rights issue? Can any one help. thanks
*Koha error*
The following fatal error has occurred:
Can't connect to MySQL server on 'xxx.xxx.x.xxx' (111) at /usr/share/koha/lib/C4/Context.pm line 646. Compilation failed in require at /usr/share/koha/lib/C4/Circulation.pm line 25. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Circulation.pm line 25. Compilation failed in require at /usr/share/koha/lib/C4/Overdues.pm line 24. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Overdues.pm line 24. Compilation failed in require at /usr/share/koha/lib/C4/Members.pm line 27. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm line 27. Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 31. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 31. Compilation failed in require at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 23. BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line
23.
Scott Kushner
Information Technologies
Middletown Public Library
732 671-3700 (x314)
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
This looks more like a network issue. Is the MySQL server on that computer set up to accept outside connections? Most aren't by default. -- Jesse Weaver Software Developer, LibLime
Hello, If i remember right, installiing a particular Perl module: CGI::Session::Serialize::yaml should solve your problem. I don't suspect a MySQL error, but i may be wrong. Thanks and regards, krishnan mani Pune, India --- On Sun, 19/10/08, Jesse Weaver <jesse.weaver@liblime.com> wrote: From: Jesse Weaver <jesse.weaver@liblime.com> Subject: Re: [Koha] Koha error/fatal error To: "Scott Kushner" <skushner@mplmain.mtpl.org> Cc: koha@lists.katipo.co.nz Date: Sunday, 19 October, 2008, 5:07 AM On Fri, Oct 17, 2008 at 2:28 PM, Scott Kushner <skushner@mplmain.mtpl.org> wrote: I had the following problem while trying to setup web installer… Is this a rights issue? Can any one help. thanks Koha error The following fatal error has occurred: Can't connect to MySQL server on 'xxx.xxx.x.xxx' (111) at /usr/share/koha/lib/C4/Context.pm line 646. Compilation failed in require at /usr/share/koha/lib/C4/Circulation.pm line 25. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Circulation.pm line 25. Compilation failed in require at /usr/share/koha/lib/C4/Overdues.pm line 24. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Overdues.pm line 24. Compilation failed in require at /usr/share/koha/lib/C4/Members.pm line 27. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm line 27. Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 31. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 31. Compilation failed in require at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 23. BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 23. Scott Kushner Information Technologies Middletown Public Library 732 671-3700 (x314) _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha This looks more like a network issue. Is the MySQL server on that computer set up to accept outside connections? Most aren't by default. -- Jesse Weaver Software Developer, LibLime _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php
If the database is on the same system, then the IP is typically something like localhost's 127.0.0.1. If the DB is on the same system, try setting your <hostname> to "localhost" rather than an external IP.
From your batch of X's, it looks like that might not be the case. So if the DB is on another system, try the connection from the command line like:
mysql -uMyUser -pMyPassword -h XXX.XXX.X.XXX my_databasename There are four (or five) values there that Koha pulls from your KOHA_CONF file. <database> <hostname> <port> <user> <pass> This should simulate the kind of connection Koha is attempting and possibly give you better detail about the error. --Joe Atzberger, LibLime On Sat, Oct 18, 2008 at 7:37 PM, Jesse Weaver <jesse.weaver@liblime.com>wrote:
On Fri, Oct 17, 2008 at 2:28 PM, Scott Kushner <skushner@mplmain.mtpl.org>wrote:
I had the following problem while trying to setup web installer…
Is this a rights issue? Can any one help. thanks
*Koha error*
The following fatal error has occurred:
Can't connect to MySQL server on 'xxx.xxx.x.xxx' (111) at /usr/share/koha/lib/C4/Context.pm line 646. Compilation failed in require at /usr/share/koha/lib/C4/Circulation.pm line 25. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Circulation.pm line 25. Compilation failed in require at /usr/share/koha/lib/C4/Overdues.pm line 24. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Overdues.pm line 24. Compilation failed in require at /usr/share/koha/lib/C4/Members.pm line 27. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm line 27. Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 31. BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 31. Compilation failed in require at /usr/share/koha/intranet/cgi-bin/mainpage.pl line 23. BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/mainpage.pl line
23.
Scott Kushner Information Technologies Middletown Public Library 732 671-3700 (x314)
This looks more like a network issue. Is the MySQL server on that computer set up to accept outside connections? Most aren't by default.
-- Jesse Weaver Software Developer, LibLime
participants (4)
-
Jesse Weaver -
Joe Atzberger -
Krishnan Mani -
Scott Kushner