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