[Koha] Need installation help
Christopher Curry
ccurry at amphilsoc.org
Thu Dec 17 05:54:01 NZDT 2009
Ista,
Try replacing "127.0.1.1" with the IP address of your server (in your
koha apache config) and make sure you've added "Listen 8080" to
/etc/apache2/ports.conf.
Also, your koha apache config should be symlinked from
/etc/apache2/sites-enabled. If it isn't, check the paths in the "sudo
ln -s /etc/koha/koha-httpd.conf /etc/apache2/sites-available/koha"
command. Make sure they match the paths on your server.
I use Debian, but Ubuntu should be pretty similar.
I had the same issue and replacing "127.0.1.1" with my server IP fixed it.
I also had to delete the "/etc/apache2/sites-enabled/default" file when
I recently installed 3.00.04_fixed*, though I've never had to do that
when installing previous versions.
I'm not an apache expert, so I could be missing something. Good luck!
*I used git, branch 3.0.x; my version actually reads 3.00.05.001 @
cgi-bin/koha/about.pl, but I think they're the same?
Cheers,
Christopher Curry
Assistant Technical Librarian / Assistant IT Officer
American Philosophical Society
105 South Fifth Street
Philadelphia, PA 19106-3386
Tel. (215) 599-4299
ccurry at amphilsoc.org <mailto:ccurry at amphilsoc.org>
*For technical support, please use helpdesk at amphilsoc.org
<mailto:helpdesk at amphilsoc.org>*
Main Library number: (215)440-3400
APS website: http://www.amphilsoc.org
Ista Zahn 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>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20091216/7c033578/attachment-0001.htm
More information about the Koha
mailing list