[Nut-upsuser] Getting "Error: No such host" and [ERR ACCESS-DENIED]
Roger Price
roger at rogerprice.org
Thu Sep 30 12:20:18 UTC 2010
I'm using NUT 2.4.1 with openSUSE 11.2, my UPS is an MGE/Eaton
Ellipse ASR 1500 USBS. The set-up is as described at
http://rogerprice.org/NUT.html.
Since NUT uses TCP wrappers, I have the /etc/hosts.allow entry
upsd : 10.0.0/24, localhost, LOCAL, 127.0.0.1 : ALLOW
When I pull the plug from the wall to test my setup, I get the
sequence of KDE notifications and finally a successful shutdown;
just as one would expect from the configuration. :-)
However I cannot access upsc
rprice at glacon2:~> upsc -l
Eaton-66781
rprice at glacon2:~> upsc -L `upsc -l`
Error: No such host
and no log messages appear in /var/log/messages or /var/log/warn.
On system startup I get the following messages in /var/log/messages
usbhid-ups[23704]: Startup successful
upsd[23707]: listening on 127.0.0.1 port 3493
upsd[23707]: listening on ::1 port 3493
upsd[23707]: Connected to UPS [Eaton-66781]: usbhid-ups-Eaton-66781
upsd[23708]: Startup successful
upsmon[23711]: Startup successful
upsmon[23712]: Login on UPS [Eaton-66781 at localhost] failed - got
[ERR ACCESS-DENIED]
Command ps aux reports:
rprice at glacon2:~> ps aux | grep upsd
upsd 7632 0.0 0.0 20288 1144 ? Ss Sep26 0:52 /usr/lib/ups/driver/usbhid-ups -a Eaton-66781
upsd 7636 0.0 0.0 16176 888 ? Ss Sep26 0:06 /usr/sbin/upsd -u upsd
upsd 7640 0.0 0.0 16140 816 ? S Sep26 0:05 /usr/sbin/upsmon
Question 1: What is causing the "Error: No such host" and [ERR ACCESS-DENIED] ?
Question 2: Should I have a second instance of upsmon running ?
Roger
More information about the Nut-upsuser
mailing list