[Nut-upsuser] Shutdown Problem

Charles Lepple clepple at gmail.com
Mon Jul 17 12:45:19 UTC 2006


On 7/15/06, Eli Wapniarski <eli at orbsky.homelinux.org> wrote:
> On Saturday, 15 בJuly 2006 19:03, Charles Lepple wrote:
> > This is from a successful shutdown last week:
> >
> > Jul  4 17:03:28 boxster upsmon[965]: UPS evo at localhost on battery
> > Jul  4 17:40:14 boxster upsmon[965]: UPS evo at localhost battery is low
> > Jul  4 17:40:14 boxster upsd[962]: Client monitor at 127.0.0.1 set FSD on UPS
> > [evo] Jul  4 17:40:14 boxster upsmon[965]: Executing automatic power-fail
> > shutdown Jul  4 17:40:15 boxster upsmon[965]: Auto logout and shutdown
> > proceeding Jul  4 17:40:20 boxster upsd[962]: Host 127.0.0.1 disconnected
> > (read failure) Jul  4 17:40:23 boxster upsd[962]: Signal 15: exiting
>
> This is what I'm getting in the logs. Looks like Executing automatic power-fail doesn't get triggered.

More importantly, it doesn't look like the driver noticed that the UPS
battery went low.

> Jul 15 17:35:27 orbsky1 upsmon[22747]: Startup successful
> Jul 15 17:35:27 orbsky1 upsd[22744]: Connection from 127.0.0.1
> Jul 15 17:35:27 orbsky1 upsd[22744]: Client nutmon at 127.0.0.1 logged into UPS [Gamatronic_SmartCompact]
> Jul 15 17:35:42 orbsky1 upsd[22744]: Connection from 127.0.0.1
> Jul 15 17:36:22 orbsky1 upsmon[22748]: UPS Gamatronic_SmartCompact at localhost on battery
> Jul 15 17:36:22 orbsky1 wall[22762]: wall: user nut broadcasted 1 lines (50 chars)

Maybe your UPS falls into the category mentioned in the fentonups man page:

EXTRA ARGUMENTS
       This  driver  supports  the  following   optional   settings   in   the
       ups.conf(5):

       lowbattvolt=decimal
              Sets  a user-defined battery voltage under which the driver will
              consider that the UPS is on "low battery" condition when running
              on battery.  This allows initiating a system shutdown before the
              UPS signals a low battery status by itself, and  may  be  useful
              for  some UPSes that don't have enough runtime left for properly
              shutting down the system when they start signaling a  "low  bat-
              tery" status.

-- 
- Charles Lepple


More information about the Nut-upsuser mailing list