On 03/11/2010 10:38 PM, David C. Rankin wrote:
>       Just dropping a note on two points. First, Voltages are perfect in 
> 2.4.1 for
> the Cyberpower ups's. Glad to see I'm not pushing 20+ any more:
> 
> http://www.3111skyline.com/nut/
> 

Guys:

        This is strange. I have shutdown and restarted a couple of times since 
the
first email and what is happening is that whatever box has nut started last gets
the usbfs errors written to its logs?? In my first post notice it is box nirvana
that has the usbfs errors. The last shutdown/restart cycle for nut, I started
nirvana fist this time, then archangel. The syslog for nirvana is fine now:

Mar 11 23:00:10 nirvana usbhid-ups[7853]: Startup successful
Mar 11 23:00:10 nirvana upsd[7854]: listening on 192.168.6.17 port 3493
Mar 11 23:00:10 nirvana upsd[7854]: listening on 127.0.0.1 port 3493
Mar 11 23:00:10 nirvana upsd[7854]: Connected to UPS [nirvana_ups]:
usbhid-ups-nirvana_ups
Mar 11 23:00:10 nirvana upsd[7855]: Startup successful
Mar 11 23:00:10 nirvana upsmon[7857]: Startup successful

        but the syslog for archangel now has the 3 second usbfs problem.

Mar 11 23:04:16 archangel kernel: usb 2-1: usbfs: process 20899 (usbhid-ups) did
not claim interface 0 before use
Mar 11 23:04:18 archangel kernel: usb 2-1: usbfs: process 20875 (usbhid-ups) did
not claim interface 0 before use
Mar 11 23:04:18 archangel kernel: usb 2-1: usbfs: process 20875 (usbhid-ups) did
not claim interface 0 before use

        Does this make any sense?? Is machine 1 trying to take control over 
machine 2's
usb port with the ups on it before nut starts on box 2??

        In a related matter, on the box that is started second (box 2), your 
get the
follow errors issued once on startup:

Mar 11 23:00:10 nirvana upsmon[7859]: Login on UPS
[[email protected]] failed - got [ERR ACCESS-DENIED]
Mar 11 23:00:10 nirvana upsmon[7859]: Login on UPS [nirvana_...@localhost]
failed - got [ERR ACCESS-DENIED]

What is it that nut is trying to log into and where can I change the
permissions? This is on Arch Linux if it makes a difference and I compiled nut 
with:

./configure --with-user=nut \
--prefix=/usr \
--datadir=/usr/share/ups \
--sysconfdir=/etc/ups \
--with-group=nut \
--with-hal \
--with-usb \
--with-cgi \
--with-cgipath=/srv/http/cgi-bin/nut \
--with-htmlpath=/srv/http/nut \
--with-udev-dir=/etc/udev || return 1

Let me know what else I can provide and I'll be happy to do it.

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com

_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to