NUT is not shutdown UPS
Bug #839490 reported by
Dmitriy Altuhov
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nut (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Description: Ubuntu 11.04
Release: 11.04
nut version 2.6.0-1ubuntu3
Problem:
upsmon working under nut user (not root). nut user can't create file /etc/killpower
Example:
1) Mains out. UPS on battery
2) Battery low. set FSD
3) upsmon executes shutdowncmd but fails to create /etc/killpower
4) /etc/init.d/halt executes /etc/init.
5) /etc/init.
6) not sending shutdown command to UPS (upsdrvctl shutdown is not executed)
7) system halted, but UPS stays on battery
8) mains come back, ups going on mains, but load is not switched off/on
9) PC stays OFF (need manual start)
Changed in nut (Ubuntu): | |
importance: | Undecided → Medium |
description: | updated |
Changed in nut (Ubuntu): | |
status: | New → Confirmed |
To post a comment you must log in.
Temp. solution:
1) rm -f /etc/killpower
2) chmod -R g+w /etc/nut/
3) edit upsmon.conf and change POWERDOWNFLAG /etc/nut/killpower
4) service nut restart
After this all fine! UPS shutdowns correctly. PC starts up when UPS goes on.