[Nut-upsuser] nut upset after Oops

Udo van den Heuvel udovdh at xs4all.nl
Tue Mar 6 16:57:55 CET 2007


Peter Selinger wrote:
> Udo van den Heuvel wrote:
>> How can I fix this?
> 
> Please start by providing some information. What NUT version are you
> using, what driver? 

The FC6 binary for 2.0.3-2.1.
I use the Mustek PowerMust driver with a Sweex UPS.

> What messages do you see? How frequently?

Mar  6 16:21:12 epia upsd[21151]: Data for UPS [myups] is stale - check
driver
Mar  6 16:21:14 epia upsmon[21155]: Poll UPS [myups at localhost] failed -
Data stale
Mar  6 16:21:14 epia upsmon[21155]: Communications with UPS
myups at localhost lost
Mar  6 16:21:14 epia wall[22834]: wall: user nut broadcasted 1 lines (46
chars)
Mar  6 16:21:15 epia upsd[21151]: UPS [myups] data is no longer stale
Mar  6 16:21:19 epia upsmon[21155]: Communications with UPS
myups at localhost established
Mar  6 16:21:19 epia wall[22852]: wall: user nut broadcasted 1 lines (53
chars)
Mar  6 16:21:24 epia upsd[21151]: Data for UPS [myups] is stale - check
driver
Mar  6 16:21:24 epia upsmon[21155]: Poll UPS [myups at localhost] failed -
Data stale
Mar  6 16:21:24 epia upsmon[21155]: Communications with UPS
myups at localhost lost
Mar  6 16:21:24 epia wall[22886]: wall: user nut broadcasted 1 lines (46
chars)
Mar  6 16:21:26 epia upsd[21151]: UPS [myups] data is no longer stale
Mar  6 16:21:29 epia upsmon[21155]: Communications with UPS
myups at localhost established
Mar  6 16:21:29 epia wall[22889]: wall: user nut broadcasted 1 lines (53
chars)
(etc)

> Does
> unplugging and replugging the UPS help? 

Didn't try that.

> Does restarting the driver
> help?
> Does restarting upsd help? Does restarting upsmon help? 

I do a `service ups restart` and no change occurs after the restart.

> It could be as simple as you didn't set pollinterval correctly in your
> ups.conf, or MAXAGE in upsd.conf, or DEADTIME or POLLFREQ in
> upsmon.conf (see ups.conf(5), upsd.conf(5), upsmon.conf(5)). Or it
> could be something more complicated.

I already adjusted those some time ago after suffering messages when USB
activity occurred.
Of course the oops may be a factor here but that UPS status does not
change, really.

Udo



More information about the Nut-upsuser mailing list