[Nut-upsuser] upsd looking at wrong filename for socket?

Forest Bond - Logic Supply forest.bond at logicsupply.com
Fri Feb 16 20:46:48 CET 2007


Hi,

When I start upsd under normal conditions, I get this:

--------------------------------------------------------------------------------
Network UPS Tools upsd 2.0.4
/etc/nut/upsd.conf is world readable
Can't connect to UPS [tripplite] (tripplite_usb-auto): No such file or directory
/etc/nut/upsd.users is world readable
Synchronizing........ giving up
--------------------------------------------------------------------------------

Looking at the state directory, it is obvious what the problem is:

--------------------------------------------------------------------------------
root at sandbox:~# ls -l /var/run/nut
total 8
srw-rw---- 1 nut nut 0 2007-02-16 14:41 tripplite
-rw-r--r-- 1 nut nut 5 2007-02-16 14:41 tripplite_usb-tripplite.pid
-rw-r--r-- 1 nut nut 5 2007-02-16 14:43 upsd.pid
--------------------------------------------------------------------------------

So, I try this:

--------------------------------------------------------------------------------
root at sandbox:~# cd /var/run/nut
root at sandbox:/var/run/nut# ln -s tripplite tripplite_usb-auto
root at sandbox:/var/run/nut# ls -l
total 8
srw-rw---- 1 nut  nut  0 2007-02-16 14:41 tripplite
lrwxrwxrwx 1 root root 9 2007-02-16 14:45 tripplite_usb-auto -> tripplite
-rw-r--r-- 1 nut  nut  5 2007-02-16 14:41 tripplite_usb-tripplite.pid
-rw-r--r-- 1 nut  nut  5 2007-02-16 14:43 upsd.pid
root at sandbox:/var/run/nut# upsd
Network UPS Tools upsd 2.0.4
/etc/nut/upsd.conf is world readable
Connected to UPS [tripplite]: tripplite_usb-auto
/etc/nut/upsd.users is world readable
Synchronizing...done
--------------------------------------------------------------------------------

So, why is upsd looking at the wrong file?  Is my configuration just botched
somewhere?

thanks,
Forest
-- 
Forest Bond
Computer Engineer
Logic Supply, Inc.
Phone: (802) 244-8302
Fax: (802) 244-7938
forest.bond at logicsupply.com
www.logicsupply.com



More information about the Nut-upsuser mailing list