Well, the path was right in mine (because I didn't even look at the posted path, lol, and went directly to the correct directory), since i manually changed the upsd.conf file. While I realize that won't persist across a reboot, I can assure you, MAXAGE 30 did not this report. I have tried 60. I will report back.
Jun 6 11:10:12 giskard upsmon[82038]: Communications with UPS ups established
Jun 6 11:57:12 giskard usbhid-ups[82898]: Got disconnected by another driver: Device busy
Jun 6 12:00:59 giskard usbhid-ups[82898]: Got disconnected by another driver: Device busy
[root@giskard] /etc/local/nut#
I would also like to point out that this fix of modifying the max age is a pretty good hack. There is most likely something wrong with the driver that gets used and that should be fixed but for the time being this is a good workaround. I think you must have a different problem or something. If I was you I would look to see if the nut process is running or if the driver is running, this just gives you a good idea of the current state. Next you can look into running the driver manually with the debug flag so you can see the actually logs output to stdout. Once you have the driver running and nut started try queuing the UPS and see if communication even works.
no need for a script, you can just put the command into the init box. If you want to run it as a script make sure it works when you run it by hand first.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.