Hi David, 2009/3/7 David Smith <[email protected]>
> Hi all, > > I've just upgraded my debian box from etch to lenny, and am now having > Nut problems. I have read through the UPGRADING text (which helped > fixed my first ups driver related problem), but have now hit another > problem, which seems quite common, but non of the responses I've found > on Google apply, so I'm coming to you for help. > > On issuing a "/etc/init.d/nut start" I get the following in my syslog: > > Mar 7 00:27:19 copstick3 upsd[26316]: Connection from 127.0.1.1 > Mar 7 00:27:19 copstick3 upsd[26316]: Client [email protected] logged > into UPS [copstick_ups] > Mar 7 00:27:19 copstick3 upsmon[26319]: Master privileges unavailable > on UPS [copstick_...@copstick3] > Mar 7 00:27:19 copstick3 upsmon[26319]: Response: [ERR ACCESS-DENIED] > > > > Also, the following: > # upsc -L copstick3 > copstick_ups: Unavailable > > Google suggests that the common cause for this is not having a 'upsmon > master' in my upsd.users file, but I've checked that. I'm now just > going round in circles, and so would really appreciate any suggestions. > > My config files (passwords altered) as as follows (the ups is on a > machine called 'copstick3.nobody with an ip of 10.9.2.9): > > hosts.conf > ########## > MONITOR copstick_...@copstick3 "Copstick APC" > > ups.conf > ######## > [copstick_ups] > driver = usbhid-ups > port = /dev/usb/hiddev0 > > > upsd.conf > ######### > ACL all 0.0.0.0/0 > ACL localhost 127.0.0.1/32 > ACL localhost2 127.0.1.1/32 > ACL nobodynet 10.9.2.0/24 > #ACCEPT <http://10.9.2.0/24%0A#ACCEPT> all > ACCEPT localhost > ACCEPT nobodynet > ACCEPT localhost2 > REJECT all > try putting all ACCEPT on the same line, ie: ACCEPT localhost nobodynet localhost2 and restart nut. Arnaud -- Linux/Unix Expert R&D - Eaton - http://www.eaton.com/mgeops Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ Free Software Developer - http://arnaud.quette.free.fr/
_______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

