[Nut-upsuser] This guy must be an idiot

Leslie Rhorer lrhorer at satx.rr.com
Fri May 29 14:13:56 UTC 2009


> On Fri, May 29, 2009 at 02:23:14AM -0500, Leslie Rhorer wrote:
> > > >        What am I missing? The S50nut symlink is in /etc/rc2.d, and
> both
> > > > systems are at runlevel 2.  I set up the systems the very same way
> (as
> > > far
> > > > as I can remember or tell), except that one employs driver =
> > > tripplite_usb
> > > > in usb.conf and the other uses driver = usbhid-ups, plus the two
> have
> > > > different backup names.  Otherwise, I think everything is the same.
> > >
> > > One thing you can do to catch any subtle differences is to tar up the
> > > /etc/nut directory on one machine, then extract it into /tmp on the
> > > other machine, and use 'diff -Naur /etc/nut /tmp/nut' or whatnot.
> >
> > Yeah, that was the first thing I did.  The machine name, UPS driver, and
> UPS
> > name are different, of course, but everything else is identical.  The
> > respective names and driver are correct (which we pretty much knew in
> the
> > first place, because it wouldn't work at all otherwise).
> 
> 
> Are you certain your nut startup script is even actually being run?

Not with absolute certainty, no.

> This sounds like for some reason the system's never trying to run the
> script.

'Not really, since running the script manually has no effect, either.

>  Why don't you modify the script to log a timestamp to a file in
> /etc every time it gets run?

I'll try that, buts since running the script manually has no effect, either,
I don't expect anything diagnostic from this.


> Are you certain the system's booting to the correct runlevel?

Runlevel 2.




More information about the Nut-upsuser mailing list