[Nut-upsuser] Windows NUT shutdown UPS?
FredericBohe at Eaton.com
FredericBohe at Eaton.com
Wed Aug 8 11:37:49 UTC 2012
-----------------------------
-----------------------------
_________________
> From: nut-upsuser-bounces+fredericbohe=eaton.com at lists.alioth.debian.org [nut-upsuser-bounces+fredericbohe=eaton.com at lists.alioth.debian.org] on behalf of Kris Jordan [nut.kj at sagebrushnetworks.com]
> Sent: Friday, July 27, 2012 11:11 PM
> To: nut-upsuser at lists.alioth.debian.org
> Subject: Re: [Nut-upsuser] Windows NUT shutdown UPS?
>
> Kris Jordan wrote, On 7/27/2012 9:39 AM:
> >
> > FredericBohe at Eaton.com wrote, On 7/27/2012 12:15 AM:
> >>> On Windows 7 x64 (I haven't tested XP), upsdrvctl shutdown doesn't
> >>> appear to get called during automatic OS shutdown by NUT. I used upsmon
> >>> -c fsd to test. upsdrvctrl shutdown works if I run it manually.
>> > Last time I tested this, upsdrvctl was correclty called at OS
> >> shutdown time. Maybe a regression or an issue with Win7. I will a
> >> have to investigate.
> >
> > Okay, that's good. That is what I was hoping it would at least do.
> > I'll do some more tests to make sure I don't have something else going
> > on.
>
> Not working in XP (as a VM) either. I might be doing something wrong.
This should be fixed in rev 3705
> upsdrvctl stop
>
> Network UPS Tools - UPS driver controller 2.6.4-3534:3579M
> Stopping UPS: ups
> Sending signal to C:\Program Files\NUT\bin\..\var\run/usbhid-ups-ups.pid
> Stopping C:\Program Files\NUT\bin\..\var\run/usbhid-ups-ups.pid
> failed: No error [The parameter is incorrect. ]
>
> I get the same message on Win7.
>
> If I run upsdrvctrl start myself, I can upsdrvctl stop then shutdown
> without issues.
>
> upsmon.pid doesn't get removed after stopping the nut service.
> upsd.exe.pid does get removed and it has 'exe' in its filename.
This should be fixed in 3709
Both fixes will be available in soon to be released NUT 2.6.5 Windows binaries.
Thanks for your feedback.
Fred
--
Eaton Opensource Team - http://opensource.eaton.com
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser at lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
More information about the Nut-upsuser
mailing list