[Nut-upsuser] Master privileges unavailable
Marc Cuypers
mozilla at mgvd.be
Mon Jan 9 15:59:31 UTC 2006
Hi,
I'm using debian sarge on my server and connected a MGE-ups ellipse via
the serial port.
I searched the internet for the answer, but can't find it.
My config files:
<upsd.users>
[admin]
password = pwd
allowfrom = 127.0.0.1/32
actions = set
instcmds = all
[upsmon]
password = pwd
allowfrom = 127.0.0.1/32 10.0.0.224/32
upsmon master
[upsslave]
password = pwd
allowfrom = 10.0.0.223/32
upsmon slave
</upsd.users>
<upsd.conf>
ACL localhost 127.0.0.1/32
ACL test2 10.0.0.223/32
ACCEPT localhost test2
REJECT all
</upsd.conf>
<upsmon.conf>
MONITOR mge at 127.0.0.1 1 admin pwd master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
NOTIFYCMD /etc/nut/notifyme_cmd.sh
NOTIFYFLAG ONLINE SYSLOG+EXEC
NOTIFYFLAG ONBATT SYSLOG+EXEC
NOTIFYFLAG LOWBATT SYSLOG+EXEC
NOTIFYFLAG FSD SYSLOG+EXEC
NOTIFYFLAG COMMOK SYSLOG+EXEC
NOTIFYFLAG COMMBAD SYSLOG
NOTIFYFLAG SHUTDOWN SYSLOG+EXEC
NOTIFYFLAG REPLBATT SYSLOG+EXEC
NOTIFYFLAG NOCOMM SYSLOG+EXEC
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
DEADTIME 15
HOSTSYNC 15
POLLFREQ 15
POLLFREQALERT 5
</upsmon.conf>
I got two problems:
1. Master privileges unavailable.
Jan 9 16:53:15 localhost upsd[5066]: upsd.conf: invalid directive MAXAGE=25
Jan 9 16:53:15 localhost upsd[5066]: Connected to UPS [mge]: mge-shut-ttyS1
Jan 9 16:53:19 localhost upsd[5067]: Startup successful
Jan 9 16:53:19 localhost upsmon[5069]: Startup successful
Jan 9 16:53:19 localhost upsd[5067]: Connection from 127.0.0.1
Jan 9 16:53:19 localhost upsd[5067]: Client admin at 127.0.0.1 logged into
UPS [mge]
Jan 9 16:53:19 localhost upsmon[5070]: Master privileges unavailable on
UPS [mge at 127.0.0.1]
Jan 9 16:53:19 localhost upsmon[5070]: Reason: Access denied
What could be the problem?
2. I get mails that the ups is on battery and the next moment it is
online. The electricity was never down. What could be the problem?
--
Marc
More information about the Nut-upsuser
mailing list