<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Joe,<br>
<br>
The document it is in is <a class="moz-txt-link-freetext" href="http://wiki.koha.org/doku.php?id=ubuntu_gutsy">http://wiki.koha.org/doku.php?id=ubuntu_gutsy</a>.<br>
<br>
When I enter:<br>
<br>
sudo a2ensite koha && sudo /etc/init.d/apache2 reload<br>
<br>
I get:<br>
<br>
This site is already enabled!<br>
* Reloading web server config apache2 <br>
<br>
I assume that's what I want?<br>
<br>
However when I enter:<br>
<br>
sudo zebrasrv -f /etc/koha/koha-conf.xml<br>
<br>
I still get:<br>
<br>
15:07:44-14/07 [log] zebra_start 2.0.32
/etc/koha/zebradb/zebra-biblios.cfg<br>
15:07:44-14/07 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-dom.so<br>
15:07:44-14/07 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-text.so<br>
15:07:44-14/07 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-regx.so<br>
15:07:44-14/07 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-alvis.so<br>
15:07:44-14/07 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-marc.so<br>
15:07:44-14/07 [log] Loaded filter module
/usr/lib/idzebra-2.0/modules/mod-grs-xml.so<br>
15:07:44-14/07 [fatal] lock file
/var/lock/koha/zebradb/biblios/zebrasrv.pid [No such file or directory]<br>
<br>
What's my next step?<br>
<br>
--Paul<br>
<br>
<br>
Joe Atzberger wrote:
<blockquote
cite="mid:235bf14f0807140707j39eadefbj6590fc91a706bb57@mail.gmail.com"
type="cite">Paul --<br>
<br>
I think that line needs to be written:<br>
<br>
<div style="margin-left: 40px;">sudo a2ensite koha && <b>sudo</b>
/etc/init.d/apache2 reload</div>
<br>
The elevated permissions do not carry over across "&&", as you
can see with a simple test:<br>
<div style="margin-left: 40px;">$ sudo env |grep LOGNAME<br>
LOGNAME=root<br>
$ sudo echo "This is in sudo." && env |grep LOGNAME<br>
This is in sudo.<br>
LOGNAME=atz<br>
</div>
<br>
Or in your case, just try:<br>
<div style="margin-left: 40px;">sudo apache2ctl restart<br>
</div>
<br>
Can you say what document that is in so that we can update it?<br>
<br>
--Joe<br>
<br>
<div class="gmail_quote">On Mon, Jul 14, 2008 at 8:25 AM, Paul
Yachnes <<a moz-do-not-send="true" href="mailto:yach@cox.net">yach@cox.net</a>>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm
installing koha 3 on Ubuntu.<br>
<br>
1. When I enter:<br>
<br>
sudo a2ensite koha && /etc/init.d/apache2 reload<br>
<br>
I get:<br>
<br>
This site is already enabled!<br>
open: Permission denied<br>
* Reloading web server config apache2<br>
apache2: Could not reliably determine the server's fully qualified<br>
domain name, using <a moz-do-not-send="true" href="http://127.0.1.1"
target="_blank">127.0.1.1</a> for ServerName<br>
httpd not running, trying to start<br>
(13)Permission denied: make_sock: could not bind to address <a
moz-do-not-send="true" href="http://0.0.0.0:80" target="_blank">0.0.0.0:80</a><br>
no listening sockets available, shutting down<br>
Unable to open logs<br>
open: Permission denied<br>
<br>
If I stop apache server first, I get:<br>
<br>
This site is already enabled!<br>
open: Permission denied<br>
* Reloading web server config apache2<br>
<br>
<br>
2. When I enter:<br>
<br>
sudo zebrasrv -f /etc/koha/koha-conf.xml<br>
<br>
I get:<br>
<br>
08:11:18-14/07 [fatal] lock file<br>
/var/lock/koha/zebradb/biblios/zebrasrv.pid [No such file or directory]<br>
<br>
Any suggestions?<br>
<br>
Paul<br>
_______________________________________________<br>
Koha mailing list<br>
<a moz-do-not-send="true" href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a moz-do-not-send="true"
href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>