[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2018-09-09 Thread Gabriel Kozsar
Thank you xb5i7o (xb5i7o) #32 helped me today big time Intel NUC7CJYH - Ubuntu16.04LTS - APCUPSD 3.14.12 over USB to APC BackUPS 700 (BX700U-FR) It works ! Perfect. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2018-03-24 Thread thomas
just a question. what happens when power is coming back during shutdown or before UPS is killed? Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1634572 Title: APCUPSD does not send

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2018-03-24 Thread thomas
Hi @Xb517o looks like this did the trick. Thanks Is it ok that UPS is blinking red and orange? When reinserting the plug after some time power came back, UPS status green again and desktop powering up! Perfect thanks -- You received this bug notification because you are a member of Ubuntu

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2018-03-24 Thread xb5i7o
Hi @thomas Install APCUPSD as you normally would and then... You need to create a custom script with +x (make executable) with these contents: #!/bin/sh if [ "$1" = "poweroff" -a -f /etc/apcupsd/powerfail ]; then /etc/apcupsd/apccontrol killpower fi After that, save the script into this

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2018-03-24 Thread thomas
Hi I am having the same problem. No powerup after power is back Looks like UPS did not shut down. Finally I did not understand the solution provided. anyone having the steps how to ensure after power failure, shutting down desktop ubuntu and ups, restarting desktop when power is back (Bios

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2017-05-27 Thread xb5i7o
Hi Lucas, Your solution worked for Ubuntu 16.04!! and seems to be the easiest for me. THANK YOU !!! Not sure about the SLEEP delay value in apcupsd.conf because by default its 20 seconds from the moment killpower is called but as soon as PC shuts down, it takes about 180 seconds instead. i

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2017-05-16 Thread Lucas Sandery
I got around this by creating (and of course doing chmod +x on) a script at /lib/systemd/system-shutdown/apcups-killpower #!/bin/sh if [ "$1" = "poweroff" -a -f /etc/apcupsd/powerfail ]; then /etc/apcupsd/apccontrol killpower fi Idea from

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2017-03-26 Thread Alek_A
Hi Cees, Nothing else is required, I'm still using this script without problems. Just, as I mentioned, replace "/bin/systemctl stop pacemaker" with command(s) that stop the critical services in your system (services that take some time to stop and that have to be stopped for sure before

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2017-03-26 Thread Cees
Hello Alec, "On 17-1-2017 At 04:51 Alek_A wrote:" Hello Alec, >From your email below I created the file as you described. Is anything else required to link it in? Thanks for your help! Best Regards, Cees -- You received this bug notification because you are a member of Ubuntu Bugs, which

Re: [Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2017-03-26 Thread Cees
Hello Alec, From your email below I created the file as you described. Is anynyting else required to link it in? Thanks for your help! Best Regards, Cees Op 17-1-2017 om 04:51 schreef Alek_A: > Thanks for the idea, Charl! `/sbin/apcupsd --killpower` indeed kills the > power when called not

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2017-02-10 Thread Alek_A
If you don't stop/kill apcupsd BEFORE you kill power, you should be prepared that sometimes killpower would not work, because of apcupsd already accessing the UPS to obtain its state. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2017-02-09 Thread Matthew Clark
Got a similar problem with an APC Smartups 450RM serial UPS. As a temporary workaround I added commands in apccontrol to issue the killpower before starting the shutdown. I've had to up the shutdown delay to 3 minutes and up the lowbatt and lowruntime levels to ensure I can shutdown cleanly, but

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2017-02-05 Thread Alek_A
Hi, Al. You may try method described in my previous post. It worked for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1634572 Title: APCUPSD does not send killpower command to UPS (only happens

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2017-02-03 Thread Al
OH, by the way, I can shut down the UPS using the option in APCTEST in all the above configurations. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1634572 Title: APCUPSD does not send killpower

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2017-02-03 Thread Al
I have been fighting this problem for quite a while. It is gratifying that others also have the same problem. I have tried using several linux releases, including Debian, Fedora, Ubuntu, and Mint. All have the same problem, ie, the UPS will not power down after the system is shut down. My

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2017-01-16 Thread Alek_A
Thanks for the idea, Charl! `/sbin/apcupsd --killpower` indeed kills the power when called not in shutdown sequence. Note that `/sbin/shutdown -H now` and `exit 99` is not necessary here as apccontrol does shutdown anyway. Your workaround works for me as well! Though I made some additions to

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2017-01-08 Thread Charl le Roux
I am struggling with this bug as well, but I am trying to shutdown Proxmox server and it is built on Debian. #cat /etc/*-release PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=debian This is a temporary fix - I created a doshutdown

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2017-01-04 Thread Bryan Kennedy
I am struggling with this bug as well. Ubuntu version: 16.04 APC unit: BE600M1 - http://www.apc.com/shop/us/en/products/APC-Back-UPS-BE600M1-600VA-120V-1-USB-charging-port/P-BE600M1 APC connection: USB Computer: Intel NUC6i5SYK I can successfully shutdown the battery backup unit if I shutdown

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-12-06 Thread xb5i7o
so i found the latest unstable version here: http://packages.ubuntu.com/yakkety/apcupsd version 3.14.14-0.2 I removed old stable 3.14.14 by recompiling and sudo make uninstall. I then reinstalled latest unstable version 3.14.14-0.2, i shutdown but it still doesnt send killpower to UPS.

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-12-06 Thread xb5i7o
@zhangchao, where can i find unstable version?? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1634572 Title: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04) To

Re: [Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-12-06 Thread Cees
Thank you Zhangchao Op 6-12-2016 om 9:58 schreef zhangchao: > This problem has been solved in 16.10 > > apcupsd (3.14.14-0.1) unstable; urgency=medium > > >* Hook killpower into systemd-shutdown. > Hook script from Fedora, thanks. And mask ups-monitor.service, > which is

Re: [Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-12-06 Thread Cees
Thanks a lot!!⁣ Verzonden door TypeApp ​ Op 6 dec. 2016 10:13, bij 10:13, zhangchao schreef: >This problem has been solved in 16.10 > >apcupsd (3.14.14-0.1) unstable; urgency=medium > > > * Hook killpower into systemd-shutdown. >Hook script from Fedora,

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-12-06 Thread xb5i7o
@zhangchao, is it possible that apcupsd unstable version 3.14.14-0.1 will work in 16.04 as well? Id really appreciate if this can be made to work under the LTS 16.04 release. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-12-06 Thread zhangchao
This problem has been solved in 16.10 apcupsd (3.14.14-0.1) unstable; urgency=medium * Hook killpower into systemd-shutdown. Hook script from Fedora, thanks. And mask ups-monitor.service, which is only relevant for /etc/init.d/halt. (Closes: #807689) --

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-11-20 Thread Alek_A
I think that it might work. You can try if you know what to do. Post it here please if you succeed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1634572 Title: APCUPSD does not send killpower

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-11-19 Thread Cees
Dear All, isn't possible to shift the killpower routine to an other part of the poweroff sequence. Just for Ubuntu to make it work for now and wait for the ultimate solution? Kind of quick fix I mean? -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-11-18 Thread xb5i7o
Yes thank you! im glad more people are seeing the problem about this. Can someone set this as urgent for patching? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1634572 Title: APCUPSD does not send

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-11-16 Thread Cees
Just bought an APC Back-UPS 350VA 230V (BK350EI) and after struggling for a couple of days find these posts on your forum. At first I had no monito on the server, which is now set. Everything goes so quickly that I cannot give any information. I see nothing of the script /etc/init-d/ups-monitor

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-11-15 Thread Alberto Salvia Novella
** Changed in: apcupsd (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1634572 Title: APCUPSD does not send killpower command to UPS (only happens on

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-11-14 Thread Alek_A
Ok, thanks, I hope so. Currently we start our servers with power on button after power outages. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1634572 Title: APCUPSD does not send killpower command

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-11-13 Thread xb5i7o
Alek_A It seems like only now, more users are starting to see the problem, since ubuntu 16.04 is still fresh. You helped by reporting this and joining the bug report, aslong as more users join this bug report, the developers will fix the issue. Hope they patch it up soon. -- You received

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-11-13 Thread Alek_A
> Specifically it is believed that this issue is due to Ubuntu shutting down > USB before > the killpower command is issued to the UPS, which which it is no longer > possible to communicate > without USB. It seems that Ubuntu shuts down serial connections as well before the killpower command

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-11-11 Thread JanCeuleers
According to discussion on the apcupsd-users mailing list [1] this issue is OS-specific rather than being a problem in upstream apcupsd. Specifically it is believed that this issue is due to Ubuntu shutting down USB before the killpower command is issued to the UPS, which which it is no longer

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-11-11 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apcupsd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1634572 Title:

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-10-21 Thread xb5i7o
I have noticed as well, that sometimes when i update ubuntu, i get this near the end of the update: insserv: warning: script 'K01apcupsd' missing LSB tags and overrides insserv: warning: script 'ups-monitor' missing LSB tags and overrides insserv: warning: script 'apcupsd' missing LSB tags and

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-10-18 Thread Paul White
** Package changed: ubuntu => apcupsd (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1634572 Title: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04) To

[Bug 1634572] Re: APCUPSD does not send killpower command to UPS (only happens on Ubuntu 16.04)

2016-10-18 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people