[Koha-devel] koha 2.2.2b on fedora 3----internal server error on apache???

Shebina K shebina at chintech.org
Wed May 18 00:17:04 CEST 2005


hi.........

i installed koha on fedora 3

when i take the interface  on browser i got internal server error 
message on browser..this is the case when selinux is in enabled state
(setenforce 1)

i got the below error  message from the log file :-

> [Tue May 17 16:26:38 2005] [notice] suEXEC mechanism enabled (wrapper: 
> /usr/sbin/suexec)
> [Tue May 17 16:26:38 2005] [notice] Digest: generating secret for 
> digest authentication ...
> [Tue May 17 16:26:38 2005] [notice] Digest: done
> [Tue May 17 16:26:38 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK
> [Tue May 17 16:26:38 2005] [notice] LDAP: SSL support unavailable
> [Tue May 17 16:26:39 2005] [notice] mod_python: Creating 4 session 
> mutexes based on 256 max processes and 0 max threads.
> [Tue May 17 16:26:39 2005] [notice] Apache/2.0.52 (Fedora) configured 
> -- resuming normal operations
> [Tue May 17 16:27:15 2005] [notice] caught SIGTERM, shutting down
> (13)Permission denied: httpd: could not open error log file 
> /usr/local/koha/log/koha-error_log.
> Unable to open logs
> [Tue May 17 16:27:28 2005] [notice] suEXEC mechanism enabled (wrapper: 
> /usr/sbin/suexec)
> [Tue May 17 16:27:29 2005] [notice] Digest: generating secret for 
> digest authentication ...
> [Tue May 17 16:27:29 2005] [notice] Digest: done
> [Tue May 17 16:27:29 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK
> [Tue May 17 16:27:29 2005] [notice] LDAP: SSL support unavailable
> [Tue May 17 16:52:31 2005] [error] [client 192.168.1.9] DBI 
> connect('Koha:localhost','kohaadmin',...) failed: Can't connect to 
> local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) at 
> /usr/local/koha/intranet/modules/C4/Context.pm line 409
> [Tue May 17 16:52:31 2005] [error] [client 192.168.1.9] DBI 
> connect('Koha:localhost','kohaadmin',...) failed: Can't connect to 
> local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) at 
> /usr/local/koha/intranet/modules/C4/Context.pm line 409
> [Tue May 17 16:52:31 2005] [error] [client 192.168.1.9] Can't call 
> method "selectrow_array" on an undefined value at 
> /usr/local/koha/intranet/modules/C4/Context.pm line 364.
> [Tue May 17 16:52:31 2005] [error] [client 192.168.1.9] Premature end 
> of script headers: mainpage.pl
> [Tue May 17 16:52:34 2005] [error] [client 192.168.1.9] DBI 
> connect('Koha:localhost','kohaadmin',...) failed: Can't connect to 
> local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) at 
> /usr/local/koha/intranet/modules/C4/Context.pm line 409
> [Tue May 17 16:52:34 2005] [error] [client 192.168.1.9] DBI 
> connect('Koha:localhost','kohaadmin',...) failed: Can't connect to 
> local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) at 
> /usr/local/koha/intranet/modules/C4/Context.pm line 409
> [Tue May 17 16:53:50 2005] [error] [client 192.168.1.9] Can't call 
> method "prepare" on an undefined value at 
> /usr/local/koha/opac/cgi-bin/opac-main.pl line 16.
> [Tue May 17 16:53:51 2005] [error] [client 192.168.1.9] Premature end 
> of script headers: opac-main.pl
>
>

when i issue the command " setenforce 0 "  i can work on  koha properly.

why it is happened so...

help me please...


thank you
shebina





More information about the Koha-devel mailing list