UPS Setup Help

Status
Not open for further replies.

fishinfiend

Dabbler
Joined
Aug 10, 2013
Messages
24
I am having problems setting up my cyberpower cp1000pfclcd ups.
This is what is logged:
Dec 30 20:00:48 HHDN notifier: nut not running? (check /var/db/nut/upsd.pid).
Dec 30 20:00:48 HHDN notifier: nut_upsmon not running? (check /var/db/nut/upsmon.pid).
Dec 30 20:00:48 HHDN notifier: nut_upslog not running? (check /var/db/nut/upslog.pid).
Dec 30 20:00:48 HHDN notifier: nut not running? (check /var/db/nut/upsd.pid).
Dec 30 20:00:48 HHDN notifier: Network UPS Tools - Generic HID driver 0.37 (2.6.5)
Dec 30 20:00:48 HHDN notifier: USB communication driver 0.31
Dec 30 20:00:48 HHDN notifier: No matching HID UPS found
Dec 30 20:00:48 HHDN notifier: Driver failed to start (exit status=1)
Dec 30 20:00:48 HHDN notifier: Network UPS Tools - UPS driver controller 2.6.5
Dec 30 20:00:48 HHDN root: /usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut
Dec 30 20:00:48 HHDN notifier: /usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut
Dec 30 20:00:48 HHDN notifier: nut_upsmon not running? (check /var/db/nut/upsmon.pid).
Dec 30 20:00:48 HHDN notifier: Starting nut_upsmon.
Dec 30 20:00:48 HHDN notifier: kill: No such process
Dec 30 20:00:48 HHDN notifier: UPS: ups (master) (power value 1)
Dec 30 20:00:48 HHDN upsmon[32477]: UPS [ups]: connect failed: Connection failure: Connection refused
Dec 30 20:00:48 HHDN upsmon[32477]: Communications with UPS ups lost
Dec 30 20:00:48 HHDN notifier: nut_upslog not running? (check /var/db/nut/upslog.pid).
Dec 30 20:00:48 HHDN notifier: Starting nut_upslog.
Dec 30 20:00:48 HHDN notifier: Warning: initial connect failed: Connection failure: Connection refused
Dec 30 20:00:49 HHDN notifier: Stopping nut_upslog.
Dec 30 20:00:49 HHDN notifier: Waiting for PIDS: 32505.
Dec 30 20:00:49 HHDN notifier: Stopping nut_upsmon.
Dec 30 20:01:13 HHDN upsmon[32476]: upsmon parent: read
Dec 30 20:01:13 HHDN notifier: Waiting for PIDS: 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477, 32477.
Dec 30 20:01:14 HHDN notifier: nut not running? (check /var/db/nut/upsd.pid).

Settings are the port is on auto and the driver is the same as my UPS. All the rest are what is default.

Please Help me get it to work.

P.S. Yes I know I have to switch up my shutdown timer to a 30 min or should I go with when it hits low power?
 
D

dlavigne

Guest
It looks like that UPS uses the usbhid driver which is supposed to "detect any UPS that uses the HID power device class using libusb". It is possible that that HID is not listed on FreeBSD.

Can you create a bug report at bugs.freenas.org that includes a link to that usbhid driver page as well as the above error output, and post the issue number here. The dev may ask you to add the output of some usb probe commands.
 

fishinfiend

Dabbler
Joined
Aug 10, 2013
Messages
24
I got it to work. All I did was re download and install FreeNAS. Maybe it was that when I moved around my cables it repluged something in. Either way it works.

But know I got a different question. It is what is better, to tell the UPS to shut down in 30 min or when the battery is low? The reason why I choose 30 min is because when it is up and running it says it should last between 50 and 60 min.

Thanks.
 
Status
Not open for further replies.
Top