Re: apcupsd-cgi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxx>
Subject: Re: APC USB
To: For users of Fedora <fedora-list@xxxxxxxxxx>
Message-ID: <7F56D150-69E1-4491-852D-893E7596C195@xxxxxxxxxxxxx>
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


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux