[Nut-upsdev] Syslog flooding

Kelvin Ku kelvin at telemetry-investments.com
Mon Apr 19 20:22:55 UTC 2010


Hello,

I have a TrippLite SU2200XLA UPS with a possibly unreliable USB interface
running on NUT 2.4.3. This flooded syslog last night, beginning with the USB
connection spontaneously reconnecting:

Apr 18 22:00:42 kernel: hiddev96: USB HID v1.11 Device [Tripp Lite       TRIPP LITE UPS  ] on usb-0000:00:0f.2-2
Apr 18 22:00:44 usbhid-ups[486]: Got disconnected by another driver: Device or resource busy
Apr 18 22:00:46 usbhid-ups[486]: Got disconnected by another driver: Device or resource busy
Apr 18 22:00:48 usbhid-ups[486]: Got disconnected by another driver: Device or resource busy

/* repeats every two seconds */ 

Apr 18 22:34:33 usbhid-ups[486]: Got disconnected by another driver: Device or resource busy
Apr 18 22:34:35 upsd[490]: Data for UPS [upsserv7] is stale - check driver
Apr 18 22:34:40 upsmon[495]: Poll UPS [upsserv7 at localhost] failed - Data stale
Apr 18 22:34:40 upsmon[495]: INFO UPS upsserv7 at localhost communications lost
Apr 18 22:34:45 upsmon[495]: Poll UPS [upsserv7 at localhost] failed - Data stale
Apr 18 22:34:50 upsmon[495]: Poll UPS [upsserv7 at localhost] failed - Data stale
Apr 18 22:34:55 upsmon[495]: Poll UPS [upsserv7 at localhost] failed - Data stale

/* repeats every five seconds */

Apr 18 22:39:35 upsmon[495]: INFO UPS upsserv7 at localhost is unavailable (can't be contacted for monitoring)

/* continues repeating every five seconds */

Apr 19 08:13:02 upsmon[495]: Poll UPS [upsserv7 at localhost] failed - Data stale
Apr 19 08:13:02 upsmon[495]: Signal 15: exiting
Apr 19 08:13:02 upsd[490]: User upsmon at 127.0.0.1 logged out from UPS [upsserv7]
Apr 19 08:13:02 upsd[490]: User upsmon at 127.0.0.1 logged out from UPS [upsserv8]
Apr 19 08:13:03 upsd[490]: mainloop: Interrupted system call
Apr 19 08:13:03 upsd[490]: Signal 15: exiting
Apr 19 08:13:03 usbhid-ups[486]: Signal 15: exiting
Apr 19 08:13:03 usbhid-ups[477]: Signal 15: exiting

When I restart NUT, everything is OK until the next spontaneous reconnection. Two questions:

1. If I can reset the connection by restarting the driver, is there a way to
make the driver do this itself?

2. If not, is there a way to suppress or limit the syslog messages, other than
a syslog filter?

Note that I have three other UPSs of the same type which do not exhibit this
behavior.

Thanks,
Kelvin



More information about the Nut-upsdev mailing list