[Nut-upsuser] cyberpower ups need to manully turn on the switch
Min Wang
mingewang at gmail.com
Wed May 11 01:07:30 UTC 2016
Hi
the grep usbhid /var/log/messages said:
May 10 23:53:17 kvm-hosts-1 upsd[1762]: Can't connect to UPS [cyberpower]
(usbhid-ups-cyberpower): No such file or directory
May 10 23:58:17 kvm-hosts-1 upsd[1762]: Can't connect to UPS [cyberpower]
(usbhid-ups-cyberpower): No such file or directory
it seems I did not have usbhid-ups running, so I /etc/init.d/ups restart
# ps -ef | grep usbhid
root 91 2 0 May10 ? 00:00:00 [usbhid_resumer]
nut 16315 1 0 00:06 ? 00:00:00 /sbin/usbhid-ups -a
cyberpower
now it is running. hmm, strange.
min
On Tue, May 10, 2016 at 4:16 PM, Roger Price <roger at rogerprice.org> wrote:
> On Mon, 9 May 2016, Min Wang wrote:
>
> HIin centos: C="/usr/bin/upssched-cmd"
>>
>
> Noted, thanks.
>
> here is the output of that file:
>>
>> ########### ps aux ###########
>> nut 2651 0.0 0.0 43396 1116 ? Ss May07 0:08
>> /usr/sbin/upsd
>> root 2654 0.0 0.0 39116 1172 ? Ss May07 0:00
>> /usr/sbin/upsmon
>> nut 2655 0.0 0.0 41208 1300 ? S May07 0:03
>> /usr/sbin/upsmon
>>
>
> My NUT setup shows:
>
> upsd 2859 0.0 0.0 13228 880 ? Ss avril24 3:16
> /usr/lib/ups/driver/usbhid-ups -a Eaton-66781
> upsd 2863 0.0 0.0 19860 1052 ? Ss avril24 0:34 /usr/sbin/upsd -u upsd
> root 2866 0.0 0.0 19400 656 ? Ss avril24 0:00 /usr/sbin/upsmon
> upsd 2867 0.0 0.0 19824 824 ? S avril24 0:30 /usr/sbin/upsmon
>
> Note the extra "upshid-ups" line. If your driver is not running then
> perhaps that explains why the UPS shutdown command is not being sent.
>
> What does command grep usbhid /var/log/messages report?
>
> Roger
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
>
--
http://www.comrite.com
Yellow pages, Ads and Search
http://www.meidongnet.com
News, Ads, Free Online dating, Games for Chinese Community in NY, NJ, PA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20160510/e2b90b47/attachment.html>
More information about the Nut-upsuser
mailing list