OK, I got that sorted out (I just used port 8080 for both so as not to interfere with the other virtual hosts). But I'm afraid I have new problems now. When I go to the home page I believe it should take me through some kind of configuration process, but instead koha says "System Maintenance ... we'll be back soon! If you have any questions, please contact the Site Administrator" I looked at the error log, and the first thing I notice is [Wed Dec 16 11:55:38 2009] [error] [client 69.207.178.88] [Wed Dec 16 11:55:38 2009] Acquisition.pm: DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /var/www/koha/lib/C4/Context.pm line 485. It looks like koha thinks the mysql database is already populated. It exists, but is empty. Did I miss a step? -Ista On Wed, Dec 16, 2009 at 12:06 PM, Ista Zahn <izahn@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@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@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@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@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@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