[Nut-upsuser] Master privileges unavailable on UPS
David A. Benfell
benfell at parts-unknown.org
Tue Feb 14 04:11:35 UTC 2006
Hello all,
I'm having problems with what I'm told should be a straightforward
issue.
The message in /var/log/daemon is:
<quote>
Feb 13 10:37:57 lupin upsmon[31324]: Master privileges unavailable on
UPS [lupin1500AVR at localhost]
Feb 13 10:37:57 lupin upsmon[31324]: Reason: Access denied
</quote>
And of course I think I've done everything I'm supposed to do.
The configuration follows, with most comments stripped out, and
passwords obliterated.
# Network UPS Tools: example ups.conf
user nutmon
[lupin1500AVR]
driver = cyberpower
port = /dev/tty01
# Network UPS Tools: example upsd configuration file
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCEPT localhost
REJECT all
# Network UPS Tools: Example upsd.users
[monmaster]
password = *
allowfrom = localhost
actions = SET
instcmds = ALL
# Network UPS Tools: example upsmon configuration
RUN_AS_USER nutmon
MONITOR lupin1500AVR at localhost 1 monmaster * master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
NOTIFYCMD /usr/local/ups/bin/notifyme
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC 15
DEADTIME 15
POWERDOWNFLAG /etc/killpower
NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC
NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC
NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC
NOTIFYFLAG FSD SYSLOG+WALL+EXEC
NOTIFYFLAG COMMOK SYSLOG+WALL+EXEC
NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC
NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC
NOTIFYFLAG REPLBATT SYSLOG+WALL+EXEC
NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
What am I missing?
Thanks!
--
David Benfell, LCP
benfell at parts-unknown.org
---
Resume available at http://www.parts-unknown.org/
More information about the Nut-upsuser
mailing list