<div dir="ltr">Hi <div><div><br></div><div>the <span style="font-size:12.8px"> </span><span style="font-size:12.8px">grep usbhid /var/log/messages said:</span></div><div><span style="font-size:12.8px"><br></span></div><div>May 10 23:53:17 kvm-hosts-1 upsd[1762]: Can't connect to UPS [cyberpower] (usbhid-ups-cyberpower): No such file or directory</div><div>May 10 23:58:17 kvm-hosts-1 upsd[1762]: Can't connect to UPS [cyberpower] (usbhid-ups-cyberpower): No such file or directory</div></div><div><br></div><div>it seems I did not have usbhid-ups running, so I  /etc/init.d/ups restart</div><div><div><br></div><div># ps -ef | grep usbhid</div><div>root        91     2  0 May10 ?        00:00:00 [usbhid_resumer]</div><div>nut      16315     1  0 00:06 ?        00:00:00 /sbin/usbhid-ups -a cyberpower</div></div><div><br></div><div><br></div><div>now it is running. hmm, strange.</div><div><br></div><div><br></div><div><br></div><div>min</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 10, 2016 at 4:16 PM, Roger Price <span dir="ltr"><<a href="mailto:roger@rogerprice.org" target="_blank">roger@rogerprice.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 9 May 2016, Min Wang wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
HIin centos: C="/usr/bin/upssched-cmd" <br>
</blockquote>
<br>
Noted, thanks.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
here is the output of that file:<br>
<br></span><span class="">
        ########### ps aux ###########<br>
nut       2651  0.0  0.0  43396  1116 ?        Ss   May07   0:08 /usr/sbin/upsd<br>
root      2654  0.0  0.0  39116  1172 ?        Ss   May07   0:00 /usr/sbin/upsmon<br>
nut       2655  0.0  0.0  41208  1300 ?        S    May07   0:03 /usr/sbin/upsmon<br>
</span></blockquote>
<br>
My NUT setup shows:<br>
<br>
upsd  2859  0.0  0.0  13228   880 ? Ss avril24 3:16 /usr/lib/ups/driver/usbhid-ups -a Eaton-66781<br>
upsd  2863  0.0  0.0  19860  1052 ? Ss avril24 0:34 /usr/sbin/upsd -u upsd<br>
root  2866  0.0  0.0  19400   656 ? Ss avril24 0:00 /usr/sbin/upsmon<br>
upsd  2867  0.0  0.0  19824   824 ? S  avril24 0:30 /usr/sbin/upsmon<br>
<br>
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.<br>
<br>
What does command  grep usbhid /var/log/messages  report?<span class="HOEnZb"><font color="#888888"><br>
<br>
Roger</font></span><br>_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@lists.alioth.debian.org">Nut-upsuser@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><a href="http://www.comrite.com" target="_blank">http://www.comrite.com</a><br>Yellow pages, Ads and Search <br><br><a href="http://www.meidongnet.com" target="_blank">http://www.meidongnet.com</a><br>News, Ads, Free Online dating, Games for Chinese Community in NY, NJ, PA</div>
</div>