Arnaud Quette wrote: > 2009/11/30 raf <[email protected]>: > > Arnaud Quette wrote: > > > >> 2009/11/30 raf <[email protected]>: > >> > hi, > >> > >> Hi Raf, > >> > >> > i've just set up two new computers each with a Powerware 3105 ups. > >> > they have identical nut configurations and identical upss which > >> > are both plugged in via usb but only one is being detected by nut. > >> > the other keeps saying: > >> > > >> > Broadcast Message from n...@server-1 > >> > (somewhere) at 14:52 ... > >> > UPS u...@localhost is unavailable > >> > (...) > >> > >> everything seems fine there. > >> I've recently made several changes and improvements on this driver > >> (the USB one) and would be interested in a driver debug output, ie: > >> $ /lib/nut/bcmxcp_usb -DDD -a ups > >> > >> according to these info, I'll be able to give you a solution. > >> > >> cheers, > >> Arnaud > >> -- > >> Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops > >> Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ > >> Debian Developer - http://www.debian.org > >> Free Software Developer - http://arnaud.quette.free.fr/ > > > > hi arnaud, > > > > i've attached the output from both hosts. strangely, the output > > for the one that works is almost identical to the one that > > doesn't. > > have you started NUT on both machine the same way (ie using > /etc/init.d/nut or invoke-rc.d)?
i started it using /etc/init.d/nut start > the driver starts fine on both machine, but it seems upsd is missing > on the 2nd box... > can you check it (using "ps")? > and if you confirm it is not there, can you try launching upsd > manually and report back. many thanks. that was the problem. i tried restarting it and in saw in /var/log/syslog: bcmxcp_usb[28359]: Signal 15: exiting bcmxcp_usb[28359]: CLOSING upsmon[28363]: Signal 15: exiting upsmon[28362]: upsmon parent: read bcmxcp_usb[1222]: Startup successful upsd[1223]: listening on 0.0.0.0 port 3493 upsd[1223]: Can't open /etc/nut/ups.conf: Can't open /etc/nut/ups.conf: Permission denied upsmon[1225]: Startup successful upsmon[1227]: UPS [...@localhost]: connect failed: Connection failure: Connection refused so the cause was that the files in /etc/nut weren't group readable to nut. many thanks for your time. it's working beautifully now. > cheers, > Arnaud cheers, raf > -- > Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops > Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ > Debian Developer - http://www.debian.org > Free Software Developer - http://arnaud.quette.free.fr/ > > _______________________________________________ > Nut-upsuser mailing list > [email protected] > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

