[Koha] Need installation help

Ista Zahn izahn at psych.rochester.edu
Fri Dec 18 11:06:09 NZDT 2009


Hi everyone,
I'm afraid I'm stuck again. I am finally getting a response from koha,
but unfortunately it's limited to "production mode - trapped fatal
error". The error log is pasted below. Again I'll be grateful for any
pointers.

-Ista

[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: DBD::mysql::db selectrow_array failed:
Table 'koha.systempreferences' doesn't exis
t at /usr/share/koha/lib/C4/Context.pm line 485.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: Use of uninitialized value $debug_level in
string eq at /usr/share/koha/lib/C4/Con
text.pm line 46.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: Use of uninitialized value $debug_level in
string eq at /usr/share/koha/lib/C4/Con
text.pm line 46.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: Can't locate YAML.pm in @INC (@INC
contains: /usr/share/koha/lib /usr/lib/perl5/5.
10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i586-l
inux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0
/usr/lib/perl5/vendor_perl .) at /usr/share/koha/lib/C4/Search.pm line
31.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Search.pm line 31.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Heading.pm line 25.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Heading.pm line 25.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Biblio.pm line 36.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Reserves.pm line 26.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Reserves.pm line 26.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Circulation.pm line 25.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Circulation.pm line 25
.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Overdues.pm line 24.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Overdues.pm line 24.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Members.pm line 27.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Members.pm line 27.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Auth.pm line 27.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Auth.pm line 27.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: Compilation failed in require at
/usr/share/koha/intranet/cgi-bin/mainpage.pl line
 23.
[Thu Dec 17 17:00:11 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:11 2009] mainpage.pl: BEGIN failed--compilation aborted at
/usr/share/koha/intranet/cgi-bin/mainpage.pl
line 23.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] File does not
exist: /usr/share/koha/intranet/htdocs/favicon.ico
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: DBD::mysql::db selectrow_array failed: Table
'koha.systempreferences' doesn't exist at
/usr/share/koha/lib/C4/Context.pm line 485.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: Use of uninitialized value $debug_level in
string eq at /usr/share/koha/lib/C4/Context.
pm line 46.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: Use of uninitialized value $debug_level in
string eq at /usr/share/koha/lib/C4/Context.
pm line 46.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: Can't locate YAML.pm in @INC (@INC contains:
/usr/share/koha/lib /usr/lib/perl5/5.10.0/
i586-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i586-linux-
thread-multi /usr/lib/perl5/vendor_perl/5.10.0
/usr/lib/perl5/vendor_perl .) at /usr/share/koha/lib/C4/Search.pm line
31.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Search.pm line 31.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Heading.pm line 25.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Heading.pm line 25.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Biblio.pm line 36.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Reserves.pm line 26.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Reserves.pm line 26.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Circulation.pm line 25.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Circulation.pm line 25.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Overdues.pm line 24.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Overdues.pm line 24.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Members.pm line 27.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Members.pm line 27.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: Compilation failed in require at
/usr/share/koha/lib/C4/Auth.pm line 27.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: BEGIN failed--compilation aborted at
/usr/share/koha/lib/C4/Auth.pm line 27.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: Compilation failed in require at
/usr/share/koha/intranet/cgi-bin/errors/404.pl line 21
.
[Thu Dec 17 17:00:12 2009] [error] [client 74.44.141.94] [Thu Dec 17
17:00:12 2009] 404.pl: BEGIN failed--compilation aborted at
/usr/share/koha/intranet/cgi-bin/errors/404.pl lin
e 21.






On Wed, Dec 16, 2009 at 12:40 PM, Ista Zahn <izahn at psych.rochester.edu> wrote:
> Thanks for helping a newbie everybody, it's starting to make sense.
>
> -Ista
>
> On Wed, Dec 16, 2009 at 12:32 PM, Bernardo Gonzalez Kriegel
> <gonzalez at famaf.unc.edu.ar> wrote:
>> Ista,
>> we use the following:
>>
>> # OPAC
>> <VirtualHost *:80>
>>    ServerName koha.your.domain
>>   ...
>> </VitualHost>
>> # STAFF
>> <VirtualHost *:8080>
>>    ServerName koha.your.domain
>>    ...
>> </VirtualHost>
>> but you must declare "koha.your.name" on the DNS server, and modify all
>> virtual hosts similarly.
>> Your second mail just arrived, the problem is that opac and staff can listen
>> on the same port, but need to listen to different "names", opac.your.domain
>> and staff.your.domain. In that way you could access only the staff interface
>> and finish the install procedure.
>> # OPAC
>> <VirtualHost *:8080>
>>    ServerName opac.your.domain
>>   ...
>> </VitualHost>
>> # STAFF
>> <VirtualHost *:8080>
>>    ServerName staff.your.domain
>>    ...
>> </VirtualHost>
>>
>>
>>
>> bgk
>>
>> On Wed, Dec 16, 2009 at 2:06 PM, Ista Zahn <izahn at psych.rochester.edu>
>> wrote:
>>>
>>> Thank you, that works! Unfortunately I still have some tweaking to do,
>>> because I have other websites running on the same server, and adding
>>> these lines causes them to all point to the koha page. But this is
>>> clearly an apache issue at this point, so I'll look to the apache docs
>>> for further help. Thanks again!
>>>
>>> -Ista
>>>
>>> On Wed, Dec 16, 2009 at 11:36 AM, Brenner, Martin
>>> <martin.brenner at whitfieldschool.org> wrote:
>>> > Hi Ista,
>>> >
>>> > You are almost there. The make test errors don't make a difference. All
>>> > you
>>> > have to do is add to the section:
>>> >
>>> > ## OPAC
>>> > <VirtualHost 127.0.1.1:80>
>>> >
>>> > and
>>> >
>>> > ## Intranet
>>> > <VirtualHost 127.0.1.1:8080>
>>> >
>>> > to include the IP address of your server. It will end up looking like:
>>> >
>>> > ## OPAC
>>> > <VirtualHost 127.0.1.1:80 10.11.103.4>
>>> >
>>> > and
>>> >
>>> > ## Intranet
>>> > <VirtualHost 127.0.1.1:8080 10.11.103.4:8080>
>>> >
>>> > Where 10.11.103.4 is the IP address of your box.
>>> >
>>> > Martin
>>> >
>>> > Martin Brenner
>>> > Head Librarian
>>> > Whitfield School
>>> > 175 S Mason Rd
>>> > St. Louis MO 63141
>>> >
>>> >
>>> >
>>> > On Wed, Dec 16, 2009 at 10:27 AM, Ista Zahn <izahn at psych.rochester.edu>
>>> > wrote:
>>> >>
>>> >> Hi everyone,
>>> >> I'm new to Koha, and to this list. I'm trying to set up Koha  (version
>>> >> koha-3.00.04_fixed, downloaded from http://koha.org/) for a very small
>>> >> community library, and am running into trouble installing the
>>> >> software. The server is running Ubuntu 8.10 (Intrepid). I followed the
>>> >> installation instructions in the INSTALL.ubuntu file shipped with the
>>> >> program to the letter, but when I run 'make test' I got the following
>>> >> errors:
>>> >>
>>> >> #   Failed test '5 of 3 pieces produced'
>>> >> #   at t/Labels_split_ddcn.t line 30.
>>> >> t/Labels_split_ddcn............NOK 64/82
>>> >> #   Failed test '(MP3-CD F PARKER)[0]   matches: MP3-CD'
>>> >> #   at t/Labels_split_ddcn.t line 35.
>>> >> t/Labels_split_ddcn............NOK 66/82
>>> >> #   Failed test '(MP3-CD F PARKER)[1]   matches: F'
>>> >> #   at t/Labels_split_ddcn.t line 35.
>>> >> t/Labels_split_ddcn............NOK 68/82
>>> >> #   Failed test '(MP3-CD F PARKER)[2]   matches: PARKER'
>>> >> #   at t/Labels_split_ddcn.t line 35.
>>> >> # Looks like you failed 4 tests of 82.
>>> >> t/Labels_split_ddcn............dubious
>>> >>        Test returned status 4 (wstat 1024, 0x400)
>>> >> DIED. FAILED tests 62, 64, 66, 68
>>> >>        Failed 4/82 tests, 95.12% okay
>>> >>
>>> >> I went ahead with 'make install' anyway, and followed the remaining
>>> >> instructions. When I finished, I pointed my browser to <MyDomain>:8080
>>> >> but it just says "The requested URL / was not found on this server."
>>> >>
>>> >> My guess is that the problem is either related to the error message
>>> >> above, or to my apache configuration. My apache config file is pasted
>>> >> below. I'll be really grateful for any pointers on what to try next,
>>> >> as I'm feeling pretty stuck at this point.
>>> >>
>>> >> Thanks!
>>> >> Ista
>>> >>
>>> >> ##########Apache config file##############
>>> >> # Koha Apache Configuration Directives
>>> >>
>>> >> #NameVirtualHost *
>>> >>
>>> >> ## OPAC
>>> >> <VirtualHost 127.0.1.1:80>
>>> >>   ServerAdmin  webmaster at prometheus
>>> >>   DocumentRoot /var/www/koha/opac/htdocs
>>> >>   ServerName prometheus
>>> >> #  ServerAlias opac.mydomain.com
>>> >>   ScriptAlias /cgi-bin/koha/ "/var/www/koha/opac/cgi-bin/opac/"
>>> >>   ScriptAlias /index.html
>>> >> "/var/www/koha/opac/cgi-bin/opac/opac-main.pl"
>>> >>   ScriptAlias /opac-search.pl "/var/www/koha/opac/cgi-bin/opac/search"
>>> >>   ScriptAlias /search "/var/www/koha/opac/cgi-bin/opac/search"
>>> >>   ErrorLog /var/www/koha/var/log/koha-opac-error_log
>>> >> #  TransferLog /var/www/koha/var/log/koha-opac-access_log
>>> >>   SetEnv KOHA_CONF "/var/www/koha/etc/koha-conf.xml"
>>> >>   SetEnv PERL5LIB "/var/www/koha/lib"
>>> >>
>>> >> #  Repeat this virtualhost stanza changing the following environment
>>> >> vars
>>> >> to
>>> >> #  create multiple OPAC interfaces with custom css and/or search
>>> >> limits:
>>> >> #  SetEnv OPAC_CSS_OVERRIDE mystyle.css
>>> >> #  SetEnv OPAC_SEARCH_LIMIT branch:CODE
>>> >> #  SetEnv OPAC_LIMIT_OVERRIDE 1
>>> >>
>>> >>   Options +FollowSymLinks
>>> >>
>>> >>   ErrorDocument 400 /cgi-bin/koha/errors/400.pl
>>> >>   ErrorDocument 401 /cgi-bin/koha/errors/401.pl
>>> >>   ErrorDocument 403 /cgi-bin/koha/errors/403.pl
>>> >>   ErrorDocument 404 /cgi-bin/koha/errors/404.pl
>>> >>   ErrorDocument 500 /cgi-bin/koha/errors/500.pl
>>> >>
>>> >> #  Rewrite Rules
>>> >>   RewriteEngine On
>>> >> #  Uncomment to turn on rewrite logging
>>> >> #  RewriteLog /var/www/koha/var/log/koha-opac-rewrite.log
>>> >> #  RewriteLogLevel 1
>>> >>   RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)
>>> >>   RewriteRule (.+) $1?%1%2 [N,R,NE]
>>> >>
>>> >>   RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/opac-detail\.pl?bib=$1
>>> >> [PT]
>>> >>   RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]
>>> >>   RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]
>>> >> </VirtualHost>
>>> >>
>>> >> ## Intranet
>>> >> <VirtualHost 127.0.1.1:8080>
>>> >>   ServerAdmin webmaster at prometheus
>>> >>   DocumentRoot /var/www/koha/intranet/htdocs
>>> >>   ServerName prometheus:8080
>>> >> #  ServerAlias intranet.mydomain.com
>>> >>   ScriptAlias /cgi-bin/koha/ "/var/www/koha/intranet/cgi-bin/"
>>> >>   ScriptAlias /index.html "/var/www/koha/intranet/cgi-bin/mainpage.pl"
>>> >>   ScriptAlias /search "/var/www/koha/intranet/cgi-bin/search.pl"
>>> >>   ErrorLog /var/www/koha/var/log/koha-error_log
>>> >> #  TransferLog /var/www/koha/var/log/koha-access_log
>>> >>   SetEnv KOHA_CONF "/var/www/koha/etc/koha-conf.xml"
>>> >>   SetEnv PERL5LIB "/var/www/koha/lib"
>>> >>   Options +FollowSymLinks
>>> >>
>>> >>   ErrorDocument 400 /cgi-bin/koha/errors/400.pl
>>> >>   ErrorDocument 401 /cgi-bin/koha/errors/401.pl
>>> >>   ErrorDocument 403 /cgi-bin/koha/errors/403.pl
>>> >>   ErrorDocument 404 /cgi-bin/koha/errors/404.pl
>>> >>   ErrorDocument 500 /cgi-bin/koha/errors/500.pl
>>> >>
>>> >>   RewriteEngine On
>>> >> #  Uncomment to turn on rewrite logging
>>> >> #  RewriteLog /var/www/koha/var/log/koha-intranet-rewrite.log
>>> >> #  RewriteLogLevel 1
>>> >>
>>> >>   RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)
>>> >>   RewriteRule (.+) $1?%1%2 [N,R,NE]
>>> >>   RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/detail\.pl?bib=$1 [PT]
>>> >>   RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]
>>> >>   RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]
>>> >> </VirtualHost>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Ista Zahn
>>> >> Graduate student
>>> >> University of Rochester
>>> >> Department of Clinical and Social Psychology
>>> >> http://yourpsyche.org
>>> >> _______________________________________________
>>> >> Koha mailing list
>>> >> Koha at lists.katipo.co.nz
>>> >> http://lists.katipo.co.nz/mailman/listinfo/koha
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Ista Zahn
>>> Graduate student
>>> University of Rochester
>>> Department of Clinical and Social Psychology
>>> http://yourpsyche.org
>>> _______________________________________________
>>> Koha mailing list
>>> Koha at lists.katipo.co.nz
>>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>
>>
>
>
>
> --
> Ista Zahn
> Graduate student
> University of Rochester
> Department of Clinical and Social Psychology
> http://yourpsyche.org
>



-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org


More information about the Koha mailing list