apcupda mon

tony.chamberlain at lemko.com tony.chamberlain at lemko.com
Wed Aug 22 12:55:31 UTC 2007


Thanks. That seemed to work when I put

 MONITOR 127.0.0.1 main

My one other question is this. I made an rpm package to add some extra stuff
to apcupsd. I made some mail scripts (which get called automatically from
apccontrol). The script files are the same name as the events. I called this
package apcusbd-extras.

I would like to put some requires statements into this rpm (for apcupsd).
However, I could not install apcupsd from an rpm. I had to get the
src, do a ./configure, make, and make install. So even though it is installed,
rpmquery does not know about it, so the require fails. I could use
--nodeps but that kind of defeats the purpose of having a requires.
I don't know how to install apcupsd via an rpm.

Any suggestions?

-----Original Message-----
From: fedora-list-request at redhat.com [mailto:fedora-list-request at redhat.com]
Sent: Wednesday, August 22, 2007 07:50 AM
To: fedora-list at redhat.com
Subject: fedora-list Digest, Vol 42, Issue 235



Message: 3
Date: Wed, 22 Aug 2007 16:19:01 +1000 (EST)
From: Res <res at ausics.net>
Subject: Re: apcupsd-cgi
To: For users of Fedora <fedora-list at redhat.com>
Message-ID: <Pine.LNX.4.64.0708221617030.8789 at ebfjryy.nhfvpf.arg>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Wed, 22 Aug 2007, Tim wrote:

> On Tue, 2007-08-21 at 18:49 +0000, tony.chamberlain at lemko.com wrote:
>> 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?
>
> I can't see any reason why that file needs to be writeable to other
> users. Are you sure it means the /etc/hosts file, and not some other
> hosts file pertinent just to itself?

missed most this thread, apcupsd's cgi requires a hosts.conf file
normally in /etc/apcupsd, this governs what "ups" it will monitor
my apolgiies if this has already been covered earlier in the thread.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070822/c0a97f56/attachment-0001.htm>


More information about the fedora-list mailing list