problems installing recent snapshot
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
"James Farrugia" <jfarrugi@drew.edu> wrote:
I'm hoping someone can help me with the installation of a recent snapshot.
In general, koha-devel@nongnu.org may be a better list to ask, so we don't bore all the users with development questions.
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. [...] 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?
Symlink the koha-httpd.conf into /etc/apache2/sites-available, as you correctly guessed. That line had a ytpo in it and I failed to update the README.txt to match the latest changes to the installer, so I've just patched it. Installer prepatches appear at http://serene.ttllp.co.uk/~mjr/koha-installer/ if you want to try them before the QA manager and Release Manager review them.
debian:/Koha/etc# ln -s /Koha/etc/koha-httpd.conf /etc/apache2/sites-available/koha
That's a mistake: you need the installed copy of koha-httpd.conf, which doesn't contain __KEYWORD__ tags.
[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!
That's the sort of error you'll get using the source copy instead of the installed one. Hope that helps, -- MJ Ray - see/vidu http://mjr.towers.org.uk/email.html Experienced webmaster-developers for hire http://www.ttllp.co.uk/ Also: statistician, sysadmin, online shop builder, workers co-op. Writing on koha, debian, sat TV, Kewstoke http://mjr.towers.org.uk/
participants (2)
-
James Farrugia -
MJ Ray