Re: [Nut-upsuser] cyberpower ups need to manully turn on the switch

2016-05-10 Thread Min Wang
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

Re: [Nut-upsuser] cyberpower ups need to manully turn on the switch

2016-05-09 Thread Roger Price
On Sun, 8 May 2016, Min Wang wrote: Hi centos 6.3 uses traditional SysV script ( not systemctl) here is the /etc/init.d/ups ( script) assuming it similar to nutshutdown File /etc/init.d/ups is an administrative script which is used to set up the nut daemon - I was looking for a run-time

Re: [Nut-upsuser] cyberpower ups need to manully turn on the switch

2016-05-08 Thread Min Wang
Hi centos 6.3 uses traditional SysV script ( not systemctl) here is the /etc/init.d/ups ( script) assuming it similar to nutshutdown # more /etc/init.d/ups #! /bin/bash # # ups: Starts the Network UPS Tools # # chkconfig: - 26 74 # description: Network UPS Tools is a collection of programs

Re: [Nut-upsuser] cyberpower ups need to manully turn on the switch

2016-05-08 Thread Roger Price
On Sat, 7 May 2016, Min Wang wrote: I am using centos 6.3, and nut-2.6.5-2.el6.x86_64. could you explain why not sending "a delayed command to the UPS to turn it off" may cause that issue?   You need to stop the UPS from beeping. Only then can you get a clear restart when power returns.

Re: [Nut-upsuser] cyberpower ups need to manully turn on the switch

2016-05-07 Thread Min Wang
Hi I am using centos 6.3, and nut-2.6.5-2.el6.x86_64. could you explain why not sending "a delayed command to the UPS to turn it off" may cause that issue? I saw: ups.delay.shutdown: 20 ups.delay.start: 30 is it something related? thanks min On Sat, May 7, 2016 at 3:44 PM, Roger Price

Re: [Nut-upsuser] cyberpower ups need to manully turn on the switch

2016-05-07 Thread Roger Price
On Sat, 7 May 2016, Min Wang wrote: Hi  I have CP825AVR-G UPS.  sometimes the UPS is shutdown due to whatever reason.  But the annoying thing is even if the electrical power is back, that UPS will continue to beep, and I have to manually turn on the switch button in order for it to supply