[Nut-upsuser] Slaves under Squeeze
Charles Lepple
clepple at gmail.com
Thu Sep 15 00:14:46 UTC 2011
On Wed, Sep 14, 2011 at 7:57 PM, Rob Donovan <hikerman2005-nut at yahoo.com> wrote:
> hi,
> I recently upgraded my Debian Lenny system to Squeeze, and have been
> happily running nut as a MODE=standalone system talking to my Cyberpower
> 1500 avr lcd via the usbhid-ups driver for a couple of weeks or so. No
> problems.
>
> Now I'm trying to hang another machine off the same ups as a slave, and it
> isn't working. The problem I'm getting is best illustrated by what happens
> when I run this on the server:
>
> upsd -DDDDDDDDD
> Network UPS Tools upsd 2.4.3
> 0.000000 listen_add: added 127.0.0.1:3493
> 0.000070 listen_add: added 192.168.1.104:3493
> 0.000117 setuptcp: try to bind to 192.168.1.104 port 3493
> 0.000204 setuptcp: bind: Cannot assign requested address
> 0.000226 not listening on 192.168.1.104 port 3493
The short answer is that the "listen" directive specifies the address
on the *server* that will be used for listening.
I think you're trying to specify that the server should only listen to
that one slave. Those rules are best handled by the system firewall
(and/or by tcp_wrappers), which is why we dropped the ACL syntax from
NUT.
Your choices for the listen directive are basically any of the
addresses shown in 'ifconfig', or 0.0.0.0 to listen on all IPv4
interfaces.
--
- Charles Lepple
More information about the Nut-upsuser
mailing list