[Nut-upsuser] UPS connection established, lost, established, etc.
Robert McDonald
rmcd1024 at gmail.com
Sun Feb 14 15:16:22 UTC 2010
> Either multiple instances of usbhid-ups running (are you attempting to
> monitor multiple UPS devices at the same time?) Usually the usbhid-ups
> driver will be started before upsmon and on most systems will have a
> lower PID (not a higher one). Could it be that you attempt to start
> the driver again without stopping the previous instance? Or the
> generic (non-NUT) hid-ups driver?
Thank you for the response. I have been confused about how to start
NUT and at one point I was loading both NUT and ups-monitor at
startup. I believe this may have accounted for the extra instance of
usbhid-ups. However, I now load only NUT at startup and the problem
continues.
To create a clean test, I enabled NUT in sysv-rc-conf and rebooted.
Here are the messages I extracted from syslog after the reboot. It
just continues cycling until I stop NUT. Note that there is one error
message about failing to login on UPS. I don't know if that's relevant
Feb 14 08:45:04 fin8344 usbhid-ups[2512]: Startup successful
Feb 14 08:45:04 fin8344 upsd[2513]: listening on 127.0.0.1 port 3493
Feb 14 08:45:04 fin8344 upsd[2513]: listening on ::1 port 3493
Feb 14 08:45:04 fin8344 upsd[2513]: Connected to UPS [apc]: usbhid-ups-apc
Feb 14 08:45:04 fin8344 upsd[2514]: Startup successful
Feb 14 08:45:04 fin8344 upsmon[2516]: Startup successful
Feb 14 08:45:04 fin8344 upsmon[2519]: Login on UPS [apc at localhost]
failed - got [ERR ACCESS-DENIED]
Feb 14 08:45:16 fin8344 upsd[2514]: Data for UPS [apc] is stale - check driver
Feb 14 08:45:19 fin8344 upsd[2514]: UPS [apc] data is no longer stale
Feb 14 08:46:08 fin8344 upsd[2514]: Data for UPS [apc] is stale - check driver
Feb 14 08:46:09 fin8344 upsmon[2519]: Poll UPS [apc at localhost] failed
- Data stale
Feb 14 08:46:09 fin8344 upsmon[2519]: Communications with UPS apc at localhost lost
Feb 14 08:46:11 fin8344 upsd[2514]: UPS [apc] data is no longer stale
Feb 14 08:46:14 fin8344 upsmon[2519]: Communications with UPS
apc at localhost established
Feb 14 08:46:42 fin8344 upsd[2514]: Data for UPS [apc] is stale - check driver
Feb 14 08:46:44 fin8344 upsmon[2519]: Poll UPS [apc at localhost] failed
- Data stale
Feb 14 08:46:44 fin8344 upsmon[2519]: Communications with UPS apc at localhost lost
Feb 14 08:46:49 fin8344 upsmon[2519]: Poll UPS [apc at localhost] failed
- Data stale
Feb 14 08:46:51 fin8344 upsd[2514]: UPS [apc] data is no longer stale
Feb 14 08:46:54 fin8344 upsmon[2519]: Communications with UPS
apc at localhost established
Etc.
More information about the Nut-upsuser
mailing list