Zoltan,

is this still an open issue?

If so, what happens if you run strace on upsd? Something like the
following should work: "strace -o /tmp/upsd.strace -f upsd"

On 4/25/07, Zoltan Farkas <[EMAIL PROTECTED]> wrote:
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:[EMAIL PROTECTED]
Sent: Friday, April 20, 2007 4:54 AM
To: Zoltan Farkas
Cc: nut-upsuser@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



_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser



--
- Charles Lepple

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to