[Nut-upsuser] upsd does not strt up

Zoltan Farkas zoly at daxtechnologies.com
Wed Apr 25 19:27:40 UTC 2007


I have nothing listening on port 3493 (checked with netstat + telnet localhost 3493)

What else can I look at to see why its not binding?

--zoly

-----Original Message-----
From: Arjen de Korte [mailto:nut+devel at de-korte.org] 
Sent: Friday, April 20, 2007 4:54 AM
To: Zoltan Farkas
Cc: nut-upsuser at lists.alioth.debian.org
Subject: Re: [Nut-upsuser] upsd does not strt up


> Upsd does not start.

Most likely, another instance of upsd is already running. You need to kill
that one first, before starting a new one.

> #  /usr/local/ups/sbin/upsd -DDDD
> Network UPS Tools upsd 2.1.0
> listen_add: added 0.0.0.0:3493
> setuptcp: try to bind to 0.0.0.0 port 3493
> not listening on 0.0.0.0 port 3493

The output of 'netstat -pan --inet --inet6 | grep 3493' may help to
determine if the port is already claimed.

> I suspect it cannot bind to one of my interfaces, how can I specify the
> interface that it should bind to?

If you're using the development version (which you do) this can be
configured in upsd.conf through the LISTEN directive (see 'man 5
upsd.conf' for the syntax).

Best regards, Arjen
--
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B  7A FE 7E C1 EE 88 BC 57





More information about the Nut-upsuser mailing list