[Koha] Changed IP - Can't connect to mysql server
Robert Linebaugh
rlinebaugh at davisny.edu
Sat May 10 03:26:02 NZST 2008
I had to change the IP scheme of my network. I have changed the
interfaces, hosts and koha.conf files to reflect the new IP. When I try
to access Koha by typing http://koha.domain.com:8050 I get a 500
internal server error. My opac-error_log file says:
Thu May 08 21:24:58 2008] [error] [client 72.227.31.7] DBI
connect('Koha:10.0.250.4','kohaadmin',...) failed: Can't connect to
MySQL server on '10.0.250.4' (111) at
/usr/local/koha/intranet/modules/C4/Context.pm line 411 [Thu May 08
21:24:58 2008] [error] [client 72.227.31.7] DBI
connect('Koha:10.0.250.4','kohaadmin',...) failed: Can't connect to
MySQL server on '10.0.250.4' (111) at
/usr/local/koha/intranet/modules/C4/Context.pm line 411 [Thu May 08
21:24:58 2008] [error] [client 72.227.31.7] Can't call method "prepare"
on an undefined value at /usr/local/koha/opac/cgi-bin/opac-main.pl line
16.
[Thu May 08 21:24:58 2008] [error] [client 72.227.31.7] Premature end of
script headers: opac-main.pl
The Koha database is located on a different server that also received a
new IP address. Can anyone help me determine what configuration step I
have missed. I should also mention I am fairly new to Linux and Koha.
Thanks for the help
*******************************
Rob Linebaugh
Director of Computer Services
Davis College
400 Riverside Drive
Johnson City, NY 13790
T: 607.729.1581 ext.404
F: 607.729.2962
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20080509/d61996a2/attachment.htm
More information about the Koha
mailing list