I'm facing a looming deadline for getting this working, so I'm hoping someone experienced can weigh in on this. I'm getting errors in the Event Log when stopping the service: 1. Error stopping upsd (2) 2. Error stopping upsmon (2) Is there a detailed log somewhere? How can I track this down and find out what they mean? Or does someone know? Also, these three commands result in only a blank line echoed to the screen: 1. upsc ups at localhost 2. upsmon 3. upsd I believe from reading the documentation that these should be producing some result. All of this leads me to the conclusion that NUT isn't working on my system. Here is my configuration: nut.conf ------------ MODE=standalone ups.conf ------------ [ups] driver = usbhid-ups port = auto upsmon.conf ------------ MONITOR ups at localhost 1 upsmon passwd master MINSUPPLIES 1 SHUTDOWNCMD "shutdown -l" POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG "C:\\killpower" RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 upsd.users ------------ [upsmon] password = passwd upsmon master Can someone assist? Thanks, Jeff Bowman Fairbanks, Alaska
On Fri, 9 Sep 2016, Jeff Bowman wrote:> All of this leads me to the conclusion that NUT isn't working on my system. Here is my configuration:What command(s) do you use to start NUT? Do usbhid-ups, upsd and upsmon start up? Roger
> What command(s) do you use to start NUT?I think--THINK--that NUT.exe (running under the Windows service) is supposed to take care of all the startup commands. I say this because when the service is running I get the libUSB conflict error: Can't claim USB device [051d:0003]: libusb0-dll:err [claim_interface] could not claim interface 0, win error: The requested resource is in use. Driver failed to start (exit status=1) ...and when I stop the service I can successfully run usbdrvctl start (albeit with the 45-second hang and no hardware info displayed).> Do usbhid-ups, upsd and upsmon start up?I get this in PowerShell: PS C:\Users\Admin> Get-Process *ups* Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName ------- ------ ----- ----- ----- ------ -- ----------- 56 6 872 3688 46 0.03 4688 usbhid-ups No upsd/upsmon as in your list.> RogerThanks again, Jeff Bowman Fairbanks, Alaska