[Nut-upsuser] config file locations
Gene Heskett
gheskett at wdtv.com
Sat Oct 18 23:35:16 UTC 2014
Greetings;
I found pdf user manual which explains a few things that might help.
However, for a ubuntu flavor, the various .conf etc files seem to be in
/etc/nut.
But this pdf says they are in /usr/local/ups/etc, and yes indeed there are
some there, with the .sample files being owned by root, and the rest are
user 503, whoever he may be.
Are these just a sample storage in case one needs to start from square #0
again? Or what?
Then on down the page it says it should start by using upsdrvctl start, I
get
sudo upsdrvctl start
Network UPS Tools - UPS driver controller 2.4.3
Network UPS Tools - Generic HID driver 0.34 (2.4.3)
USB communication driver 0.31
Using subdriver: Belkin HID 0.12
Broadcast Message from gene at coyote
(somewhere) at 19:16 ...
Communications with UPS myups at localhost established
Broadcast Message from gene at coyote
(somewhere) at 19:16 ...
Communications with UPS myups at localhost established
Broadcast Message from gene at coyote
(somewhere) at 19:16 ...
Communications with UPS myups at localhost established
But why do I get 3 of them?
So I go thru htop, after issueing stops to upsdrvctl and nut, then restart
the driver, then nut, and now my log is being spammed by:
Oct 18 19:25:51 coyote kernel: [117004.485575] usb 1-10: usbfs: process
29641 (usbhid-ups) did not claim interface 0 before use
Oct 18 19:25:54 coyote kernel: [117007.499806] usb 1-10: usbfs: process
29668 (usbhid-ups) did not claim interface 0 before use
Oct 18 19:25:54 coyote kernel: [117007.499850] usb 1-10: usbfs: process
29668 (usbhid-ups) did not claim interface 0 before use
about 1/second.
Issueing the stop commands, I am told:
Can't open /var/run/nut/usbhid-ups-3493.pid: No such file or directory
by upsdvrctl. And it leaves usbhid-*** running and I have to kill it as
root.
So whats next? I don't seem to be getting very far in this maze.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS
More information about the Nut-upsuser
mailing list