[Nut-upsuser] "Master privileges unavailable" &

Herman J van der Merwe herman at mercygate.com
Mon Feb 19 13:35:20 CET 2007


as far as I am aware everything is as it should be. Kindly have a look at my
conf files and let me know.

upsd.conf ------------
ACL all 0.0.0.0/0
ACL fileserver 172.16.20.100
ACL mercyadmin 172.16.20.0/24

ACCEPT fileserver
ACCEPT mercyadmin
REJECT all

upsd.users --------------
[nut]
        password = nut12
#       allowfrom = 172.16.20.0/32
        allowfrom = fileserver
        upsmon master           # or upsmon slave

upsmon.conf -------------
POWERDOWNFLAG /etc/killpower

MONITOR QP1000 at fileserver 1 nut nut12 master

# Tell upsmon how to shutdown the system
SHUTDOWNCMD "/sbin/shutdown -h +0"




----- Original Message ----- 
From: "Arjen de Korte" <nut+users at de-korte.org>
To: "Huge" <huge at huge.org.uk>; "Herman J van der Merwe"
<herman at mercygate.com>
Cc: <nut-upsuser at lists.alioth.debian.org>
Sent: Monday, February 19, 2007 2:24 PM
Subject: Re: [Nut-upsuser] "Master privileges unavailable" &


Apologies, allowfrom is in upsd.users.

> What does this mean?
>
>>Feb 19 07:58:11 apophis upsmon[533]: [ID 702911 daemon.alert] Master
>> privileges unavailable on UPS [ups at apophis]
>>Feb 19 07:58:11 apophis upsmon[533]: [ID 702911 daemon.alert] Reason:
>> Access denied

You need to specify in upsd.users an allowfrom line to allow a master. See
'man 5 upsd.users' for a more detailed explanation and some examples. If
you already did this, verify that you specified an ACL from upsd.conf and
not an IP-address or -range (which is wrong).

Best regards, Arjen





-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.412 / Virus Database: 268.18.2/692 - Release Date: 2/18/2007





More information about the Nut-upsuser mailing list