[Nut-upsuser] upsd looking at wrong filename for socket?
Peter Selinger
selinger at mathstat.dal.ca
Fri Feb 16 22:20:45 CET 2007
You are using upsd and upsdrvctl 2.0.4 together with tripplite_usb
2.0.5. These versions will not work together, since the socket format
has changed. Use everything from 2.0.5, and you should be fine....
I hope.
-- Peter
Forest Bond - Logic Supply wrote:
>
> On Fri, Feb 16, 2007 at 09:51:28PM +0100, Arjen de Korte wrote:
> > Forest Bond - Logic Supply wrote:
> >
> > > 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
> > > --------------------------------------------------------------------------------
> >
> > You probably didn't use upsdrvctl to start the driver, but rather
> > started it directly from the commandline. That doesn't work.
>
> Hmm. Actually, I did use upsdrvctl. Exhibit B:
>
> --------------------------------------------------------------------------------
> root at sandbox:~# upsdrvctl start
> Network UPS Tools - UPS driver controller 2.0.4
> Network UPS Tools - Tripp Lite OMNIVS and SMARTPRO driver 0.7 (2.0.5)
> Warning: This is an experimental driver.
> Some features may not function correctly.
>
> Detected a UPS: TRIPP LITE/TRIPP LITE UPS
> Using OMNIVS 2001 protocol (2001)
> Attached to Tripp Lite UPS
> root at sandbox:~# ls -l /var/run/nut/
> total 4
> srw-rw---- 1 nut nut 0 2007-02-16 16:11 tripplite
> -rw-r--r-- 1 nut nut 5 2007-02-16 16:11 tripplite_usb-tripplite.pid
> root at sandbox:~# upsd
> 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
> --------------------------------------------------------------------------------
>
> I'm still willing to accept that my configuration sucks :)
>
> -Forest
More information about the Nut-upsuser
mailing list