Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-25 Thread Arjen de Korte
Arjen de Korte [EMAIL PROTECTED]: Generally it is a good idea to run the driver in debug mode and see what it is reporting then. megatec_usb -u root -D -a upsname Looks like I'm going to have to write a troubleshooting guide... We could sure use that. [EMAIL

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-24 Thread Arjen de Korte
Arjen de Korte [EMAIL PROTECTED]: This looks a lot like problems with setting the access controls or on the upsd server. Could you post the contents of 'upsd.conf' and 'upsd.users' here or in a private message? This certainly has nothing to do with the driver. -- upsd.conf

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-24 Thread Eric S. Raymond
Arjen de Korte [EMAIL PROTECTED]: Well, you define an ACL for 'snark', but never do something with it. Also, there is an ACCEPT for 'mybox', which has no ACL. That doesn't fly, so what you're seeing is that ACCESS for the 'snark' system will be denied. That was it, all right. 'mybox' needed

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-24 Thread Arjen de Korte
Eric S. Raymond wrote: But now I've got different troubles. Trunk no longer detects the UPS. [EMAIL PROTECTED]:/home/esr/svn/nut/trunk# /usr/bin/upsdrvctl start Network UPS Tools - UPS driver controller 2.1.0 (916M) Network UPS Tools 2.1.0 (916M) - Megatec protocol driver 1.5.3

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-24 Thread Alexander I. Gordeev
On Thu, 24 May 2007 21:04:21 +0400, Eric S. Raymond [EMAIL PROTECTED] wrote: But now I've got different troubles. Trunk no longer detects the UPS. [EMAIL PROTECTED]:/home/esr/svn/nut/trunk# /usr/bin/upsdrvctl start Network UPS Tools - UPS driver controller 2.1.0 (916M) Network UPS Tools

[Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Eric S. Raymond
Belkin F6C1200-UNV on Ubuntu 7.04, megatec_usb driver, Every few minutes I get a beep and a UPS not available message that seems to be bogus; upsc reports real data, not at complaint that it's stale. Is there some timeout I need to lengthen? Also, shouldn't upsc report the poll time associated

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Arjen de Korte
Belkin F6C1200-UNV on Ubuntu 7.04, megatec_usb driver, Every few minutes I get a beep and a UPS not available message that seems to be bogus; upsc reports real data, not at complaint that it's stale. What's in the logfiles? Is this message generated by the driver, the server or the client?

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Arjen de Korte
Eric S. Raymond wrote: Arjen de Korte [EMAIL PROTECTED]: What's in the logfiles? Is this message generated by the driver, the server or the client? Which log is relevant? /var/log/messages or something else? The syslog. Where that resides, depends on your local configuration, although

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Arjen de Korte
Eric S. Raymond wrote: Many repetitions of this message with different timestamps. May 23 11:25:51 snark upsmon[26084]: Poll UPS [EMAIL PROTECTED] failed - Write error: Bad file descriptor May 23 11:25:56 snark upsd[26065]: Rejecting TCP connection from 192.168.1.11 May 23 11:25:56 snark

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Charles Lepple
On 5/23/07, Arjen de Korte [EMAIL PROTECTED] wrote: Eric S. Raymond wrote: [...] Why not? Seems natural to me to want to know the timestamp on the data sample I'm seeing. [...] Regarding the timestamp, when data is stale it is unimportant how stale it is, it should not be used anymore.

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Eric S. Raymond
Arjen de Korte [EMAIL PROTECTED]: This looks a lot like problems with setting the access controls or on the upsd server. Could you post the contents of 'upsd.conf' and 'upsd.users' here or in a private message? This certainly has nothing to do with the driver. -- upsd.conf

Re: [Nut-upsuser] Bogus UPS not available messages

2007-05-23 Thread Eric S. Raymond
Charles Lepple [EMAIL PROTECTED]: There's a slim possibility that the timestamp could be useful in the upsc output, especially with drivers that have to cope with buggy hardware that does not always respond in the same time interval. That's exactly the case I was thinking about; I'm coping