[Koha] Need installation help

Brenner, Martin martin.brenner at whitfieldschool.org
Thu Dec 17 05:36:20 NZDT 2009


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 <http://127.0.1.1/>>

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 <http://127.0.1.1/> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20091216/4390ad60/attachment.htm 


More information about the Koha mailing list