[Koha] Solaris/Zoom: Cannot get OPAC or Intranet to load

Tom Metzger tom at incolsa.net
Fri Apr 27 06:19:37 NZST 2007


Solaris 9.
Perl 5.8.8
Got Zoom installed using mostly default options.
Added the Include line to Apache conf and uncommented the Listen  
statements in koha-httpd.conf.
/etc/koha.conf file looks like this:

database=Koha
hostname=localhost
user=kohaadmin
pass=XxXxXxXxX
intranetdir=/usr/local/koha/intranet
opacdir=/usr/local/koha/opac
kohalogdir=/usr/local/koha/log
kohaversion=2.2.8
httpduser=apache
intrahtdocs=/usr/local/koha/intranet/htdocs/intranet-tmpl
opachtdocs=/usr/local/koha/opac/htdocs/opac-tmpl

When I try to load (example) the OPAC page, I get an "Internal Server  
Error" in my browser.  Looking in  /usr/local/koha/log/ I get this:

cedar:/usr/local/koha/log# ls -al
total 8
drwxrwx---  2 root other  512 Apr 26 14:03 .
drwxr-xr-x  5 root other  512 Apr 26 12:19 ..
-rw-r--r--  1 root other    0 Apr 26 14:03 koha-access_log
-rw-r--r--  1 root other    0 Apr 26 14:03 koha-error_log
-rw-r--r--  1 root other  169 Apr 26 14:03 opac-access_log
-rw-r--r--  1 root other 4570 Apr 26 14:03 opac-error_log
cedar:/usr/local/koha/log# cat opac-access_log
208.119.83.102 - - [26/Apr/2007:14:03:28 -0400] "GET / HTTP/1.1" 304 -
208.119.83.102 - - [26/Apr/2007:14:03:28 -0400] "GET /cgi-bin/koha/ 
opac-main.pl
HTTP/1.1" 500 674
cedar:/usr/local/koha/log# cat opac-error_log
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
read_config_file(/etc
/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/ 
Context.pm lin
e 229.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
DBD::mysql::st execut
e failed: No database selected at /usr/local/koha/opac/cgi-bin/opac- 
main.pl line
18.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
DBD::mysql::st fetchr
ow_array failed: fetch() without execute() at /usr/local/koha/opac/ 
cgi-bin/opac-
main.pl line 21.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
DBD::mysql::db select
row_array failed: No database selected at /usr/local/koha/intranet/ 
modules/C4/Co
ntext.pm line 366.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
DBD::mysql::db select
row_array failed: No database selected at /usr/local/koha/intranet/ 
modules/C4/Co
ntext.pm line 366.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
DBD::mysql::db select
row_array failed: No database selected at /usr/local/koha/intranet/ 
modules/C4/Co
ntext.pm line 366.
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
HTML::Template->new()
: Cannot open included file /css/en/opac-main.tmpl : file not found.  
at /usr/lo
cal/lib/perl5/site_perl/5.8.7/HTML/Template.pm line 1658
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
\tHTML::Template::_in
it_template('HTML::Template=HASH(0x23cccc)') called at /usr/local/lib/ 
perl5/site
_perl/5.8.7/HTML/Template.pm line 1238
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
\tHTML::Template::_in
it('HTML::Template=HASH(0x23cccc)') called at /usr/local/lib/perl5/ 
site_perl/5.8
.7/HTML/Template.pm line 1124
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
\tHTML::Template::new
('HTML::Template', 'filename', '/css/en/opac-main.tmpl',  
'die_on_bad_params', 0,
'global_vars', 1, 'path', 'ARRAY(0xdf72d0)', ...) called at /usr/ 
local/koha/int
ranet/modules/C4/Output.pm line 77
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
\tC4::Output::gettemp
late('opac-main.tmpl', 'opac', 'CGI=HASH(0x1244c4)') called at /usr/ 
local/koha/i
ntranet/modules/C4/Auth.pm line 114
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102]  
\tC4::Auth::get_templ
ate_and_user('HASH(0x139e5c)') called at /usr/local/koha/opac/cgi-bin/ 
opac-main.
pl line 30
[Thu Apr 26 14:03:29 2007] [error] [client 208.119.83.102] Premature  
end of scri
pt headers: opac-main.pl
cedar:/usr/local/koha/log#

My eyes are literally crossing from looking at this the last 4  
hours.  Can anyone point me in the right direction for where I need  
to look next?  I'm close...I know I am...it's just being very elusive  
right now.

TIA.



Tom Metzger
INCOLSA Systems Administrator
            Sometimes you have to stride boldly up to Life,
              look it straight in the eye, and say "huh?"




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20070426/6bf1d9d6/attachment-0001.htm


More information about the Koha mailing list