Re: [Koha] Stuck at final steps of installation
Joe, The document it is in is http://wiki.koha.org/doku.php?id=ubuntu_gutsy. When I enter: sudo a2ensite koha && sudo /etc/init.d/apache2 reload I get: This site is already enabled! * Reloading web server config apache2 I assume that's what I want? However when I enter: sudo zebrasrv -f /etc/koha/koha-conf.xml I still get: 15:07:44-14/07 [log] zebra_start 2.0.32 /etc/koha/zebradb/zebra-biblios.cfg 15:07:44-14/07 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-dom.so 15:07:44-14/07 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-text.so 15:07:44-14/07 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-regx.so 15:07:44-14/07 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-alvis.so 15:07:44-14/07 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-marc.so 15:07:44-14/07 [log] Loaded filter module /usr/lib/idzebra-2.0/modules/mod-grs-xml.so 15:07:44-14/07 [fatal] lock file /var/lock/koha/zebradb/biblios/zebrasrv.pid [No such file or directory] What's my next step? --Paul Joe Atzberger wrote:
Paul --
I think that line needs to be written:
sudo a2ensite koha && *sudo* /etc/init.d/apache2 reload
The elevated permissions do not carry over across "&&", as you can see with a simple test: $ sudo env |grep LOGNAME LOGNAME=root $ sudo echo "This is in sudo." && env |grep LOGNAME This is in sudo. LOGNAME=atz
Or in your case, just try: sudo apache2ctl restart
Can you say what document that is in so that we can update it?
--Joe
On Mon, Jul 14, 2008 at 8:25 AM, Paul Yachnes <yach@cox.net <mailto:yach@cox.net>> wrote:
I'm installing koha 3 on Ubuntu.
1. When I enter:
sudo a2ensite koha && /etc/init.d/apache2 reload
I get:
This site is already enabled! open: Permission denied * Reloading web server config apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 <http://127.0.1.1> for ServerName httpd not running, trying to start (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 <http://0.0.0.0:80> no listening sockets available, shutting down Unable to open logs open: Permission denied
If I stop apache server first, I get:
This site is already enabled! open: Permission denied * Reloading web server config apache2
2. When I enter:
sudo zebrasrv -f /etc/koha/koha-conf.xml
I get:
08:11:18-14/07 [fatal] lock file /var/lock/koha/zebradb/biblios/zebrasrv.pid [No such file or directory]
Any suggestions?
Paul _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz <mailto:Koha@lists.katipo.co.nz> http://lists.katipo.co.nz/mailman/listinfo/koha
Paul Yachnes <yach@cox.net> wrote:
15:07:44-14/07 [fatal] lock file /var/lock/koha/zebradb/biblios/zebrasrv.pid [No such file or directory]
What's my next step?
Check that /var/lock/koha/zebradb/biblios/ exists and that the zebrasrv user can write to it. If not, make it so. Hope that helps, -- MJ Ray (slef) Webmaster for hire, statistician and online shop builder for a small worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/ (Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237
participants (2)
-
MJ Ray -
Paul Yachnes