Re: [Nut-upsuser] problem starting upsd

2011-03-13 Thread Arjen de Korte

Citeren James bjloc...@lockie.ca:


$ sudo /usr/sbin/upsd -
Network UPS Tools upsd 2.4.3
   0.00 listen_add: added ::1:3493
   0.84 listen_add: added 127.0.0.1:3493
   0.000102 setuptcp: try to bind to 127.0.0.1 port 3493
   0.000185 listening on 127.0.0.1 port 3493
   0.000204 setuptcp: try to bind to ::1 port 3493
   0.001328 setuptcp: socket: Address family not supported by protocol
   0.001381 not listening on ::1 port 3493


Apparently the version of NUT you're using was built on a system that  
had IPv6 enabled and yours doesn't. Adding


LISTEN 127.0.0.1

to 'upsd.conf' should fix this. See also 'man 5 upsd.conf'.

Best regards, Arjen
--
Please keep list traffic on the list (off-list replies will be rejected)


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


[Nut-upsuser] problem starting upsd

2011-03-12 Thread James
$ sudo /usr/sbin/upsd -
Network UPS Tools upsd 2.4.3
   0.00 listen_add: added ::1:3493
   0.84 listen_add: added 127.0.0.1:3493
   0.000102 setuptcp: try to bind to 127.0.0.1 port 3493
   0.000185 listening on 127.0.0.1 port 3493
   0.000204 setuptcp: try to bind to ::1 port 3493
   0.001328 setuptcp: socket: Address family not supported by protocol
   0.001381 not listening on ::1 port 3493

$ sudo upsc -L
Error: Connection failure: Connection refused



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