Odd Apache problem during install...
I'm getting this strange error when I try to do a new install. Software error: Can't connect to MySQL server on '192.XXX.X.XX' (110) at /root/koha/C4/Context.pm line 697. Compilation failed in require at /root/koha/C4/Auth.pm line 32. BEGIN failed--compilation aborted at /root/koha/C4/Auth.pm line 32. Compilation failed in require at /root/koha/mainpage.pl line 23. BEGIN failed--compilation aborted at /root/koha/mainpage.pl line 23. The Problem is that it's trying to find the "old" IP address above, and I've changed the Server's IP to a new address, changed virtual hosts, and ports.conf to point to the new IP, but it is still looking for the old ip address. Does Apache store it somewhere that I don't know about? Thanks for any help. Scott Kushner Information Technologies Middletown Public Library
* Scott Kushner (skushner@mtpl.org) wrote:
I'm getting this strange error when I try to do a new install.
Software error:
Can't connect to MySQL server on '192.XXX.X.XX' (110) at /root/koha/C4/Context.pm line 697.
Compilation failed in require at /root/koha/C4/Auth.pm line 32.
BEGIN failed--compilation aborted at /root/koha/C4/Auth.pm line 32.
Compilation failed in require at /root/koha/mainpage.pl line 23.
BEGIN failed--compilation aborted at /root/koha/mainpage.pl line 23.
The Problem is that it's trying to find the "old" IP address above, and I've changed the Server's IP to a new address, changed virtual hosts, and ports.conf to point to the new IP, but it is still looking for the old ip address.
Does Apache store it somewhere that I don't know about?
Hi Scott Thats not Apache connecting its the Koha perl scripts, what you want to do is check your koha-conf.xml file and fix the address in there. Chris
Thanks for any help.
Scott Kushner
Information Technologies
Middletown Public Library
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Chris Cormack Catalyst IT Ltd. +64 4 803 2238 PO Box 11-053, Manners St, Wellington 6142, New Zealand
Can't connect to MySQL server on '192.XXX.X.XX' (110) at /root/koha/C4/Context.pm line 697. Compilation failed in require at /root/koha/C4/Auth.pm line 32. BEGIN failed--compilation aborted at /root/koha/C4/Auth.pm line 32. Compilation failed in require at /root/koha/mainpage.pl line 23. BEGIN failed--compilation aborted at /root/koha/mainpage.pl line 23.
The Problem is that it’s trying to find the “old” IP address above, and I’ve changed the Server’s IP to a new address, changed virtual hosts, and ports.conf to point to the new IP, but it is still looking for the old ip address.
Have you also updated Koha configuration file? koha-conf.xml. That's where from Koha is linked to MySQL and a specific DB. -- Frédéric
participants (3)
-
Chris Cormack -
Frederic Demians -
Scott Kushner