apcupda mon

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

 



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@xxxxxxxxxx [mailto:fedora-list-request@xxxxxxxxxx]
Sent: Wednesday, August 22, 2007 07:50 AM
To: fedora-list@xxxxxxxxxx
Subject: fedora-list Digest, Vol 42, Issue 235



Message: 3
Date: Wed, 22 Aug 2007 16:19:01 +1000 (EST)
From: Res <res@xxxxxxxxxx>
Subject: Re: apcupsd-cgi
To: For users of Fedora <fedora-list@xxxxxxxxxx>
Message-ID: <Pine.LNX.4.64.0708221617030.8789@xxxxxxxxxxxxxxxxxx>
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@xxxxxxxxx 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.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux