apcupsd-cgi
tony.chamberlain at lemko.com
tony.chamberlain at lemko.com
Tue Aug 21 18:49:51 UTC 2007
I installed apcusb-cgi too on the centos. There was not a libcrypto.so.5
so I copied one from Fedora and put it into /lib. The web stuff from
apubsb-cgi is in /var/www/cgi-bin/apcupsd. Wehn I run it either standalone
or from the web it sort of works, but I get this error message:
...
</tr>
<tr><td colspan="8" class="Fault">Error: Cannot open hosts file</td></tr>
</table>
(This looks a lot nicer on the web page but I cannot cut and paste). Basically it is telling me it cannot open hosts.
An ls shows -rw-r--r-- 2 root root 391 Aug 14 10:59 /etc/hosts which looks like it is readable. Does it also need to
be writeable? If so, should I run it under tomcat so root has access?
Message: 5
Date: Fri, 17 Aug 2007 11:18:31 -0400
From: Gavin David <dgavin at davegavin.com>
Subject: Re: APC USB
To: For users of Fedora <fedora-list at redhat.com>
Message-ID: <7F56D150-69E1-4491-852D-893E7596C195 at davegavin.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
HI Tony,
No, you don't need powerchute with apcupsd. Set up the scripts in /
etc/apcupsd to send alerts/pages/emails for the different events.
Then /etc/rc.d/init.d/apcupsd will provide the daemon when enabled
and started.
There's another package apcupsd-cgi which will provide a nice web
page where you can get graphics showing load/battery status/run time,
etc. - but I don't know if it's available in the CentOS repositories
(I'm currently running it on Fedora systems only).
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20070821/e6470bba/attachment-0002.html
More information about the users
mailing list