[Koha] problems installing recent snapshot
James Farrugia
jfarrugi at drew.edu
Sun Sep 9 07:42:39 NZST 2007
Hi,
I'm hoping someone can help me with the installation of a recent snapshot.
I got the snapshot for "Correcting installlation instructions" (Koha-1ad9d8b945ebda4130f07d4abbc313f8...tar.gz)
this morning from http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=summary.
Once unzipped and untarred into /Koha -- note the upper-case "K" -- the instructions in /Koha/README.txt are:
1. perl Makefile.PL
2. make
3. sudo make install
4. ln -s /usr/lib/perl5/site-perl/*/koha/etc/koha-httpd.conf /etc/apache2/sites-available/koha
5. a2ensite koha && /etc/init.d/apache reload
6. zebrasrv -c /usr/lib/perl5/site-perl/*/koha/etc/koha-conf.xml
7. Browse to http://servername:8080/ and answer the questions
In doing step #1, I got warnings about missing packages, so I got them from CPAN.
#2 and #3 seemed to go well.
#4 returned without error, but ...
#5 returned with the error: This site does not exist! (I haven't gotten to #6 and #7.)
The koha link in /etc/apache2/sites-available shows:
koha -> /usr/lib/perl5/site-perl/*/koha/etc/koha-httpd.conf
although doing an ls on /usr/lib/perl5/site-perl/*/koha/etc/koha-httpd.conf gives "No such file or directory".
Indeed there is no /usr/lib/perl5/site-perl dir on my system (Debian Sarge)
What is step #4 above (ln -s /usr/lib/perl5/site-perl/*/koha/etc/koha-httpd..conf /etc/apache2/sites-available/koha)
designed to do?
Thinking I needed to just link to koha-httpd.conf in the sites-available dir,
I did the following to remove the symlink, create a different on, try a2ensite again, and reload apache, with these results:
debian:/Koha/etc# rm /etc/apache2/sites-available/koha
debian:/Koha/etc# ln -s /Koha/etc/koha-httpd.conf /etc/apache2/sites-available/koha
debian:/Koha/etc# a2ensite koha && /etc/init.d/apache reload
Site koha installed; run /etc/init.d/apache2 reload to enable.
bash: /etc/init.d/apache: No such file or directory
Seeing I need to use /etc/init.d/apache2, I tried again, with the following results.
debian:/Koha/etc# a2ensite koha && /etc/init.d/apache2 reload
This site is already enabled!
[Sat Sep 08 08:33:56 2007] [error] (EAI 2)Name or service not known: Could not resolve host name __WEBSERVER_IP__:__WEBSERVER_PORT__ -- ignoring!
Warning: DocumentRoot [/etc/apache2/__BASE_DIR__/opac/htdocs] does not exist
[Sat Sep 08 08:33:56 2007] [error] (EAI 2)Name or service not known: Could not resolve host name __WEBSERVER_IP__:__WEBSERVER_PORT_LIBRARIAN__ -- ignoring!
Warning: DocumentRoot [/etc/apache2/__BASE_DIR__/intranet/htdocs] does not existSyntax error on line 39 of /etc/apache2/sites-enabled/koha:
The port number "__WEBSERVER_HOST__:__WEBSERVER_PORT_LIBRARIAN__" is outside the appropriate range (i.e., 1..65535).
failed!
I'm taking a break now, to plug away later...
Any thoughts or suggestions?
Thanks,
Jim
More information about the Koha
mailing list