apcupsd-cgi

Gene Heskett gene.heskett at verizon.net
Wed Aug 22 14:06:25 UTC 2007


On Wednesday 22 August 2007, Res wrote:
>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.

Mmm, hijacking a thread here, sorry.

Can you post a typical such file?

I don't think that's my problem, but then maybe.  The ups shows in an lsusb, 
but apctest cannot talk to it.



-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
A pencil with no point needs no eraser.




More information about the users mailing list