Dear nut users, I have recently installed nut to manage a DELL USB UPS on a DELL server running UBUNTU Server. I have installed nut via apt-get and then configured following several tutorials found on the web. I just try to get a safe shutdown of the server on low battery and if possible a clean reboot on power back. So far I think I don't have communication between the UPS and the server but I can't really understand what is happening. Can someone tell me how to test my configuration or at least where to start so that I can fix it or come back with more precise questions ? In which files should I look for error messages ? "dmesg" sais : usb 2-1.1: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 128 rq 6 len 255 ret -110 Thanks in advance for your help ! R?mi. P.S : as you can understand I'm not a linux specialist but I really need this thing to work so I'll try out any advice you have.
Hi, I already installed my UPS accordind the installation description in the web. see: http://www.networkupstools.org/doc/2.2.0/INSTALL.html Hope this helps. You well need to set up some files, like upsd.inf upsmon.inf and start the daemones on startup. Ritchie> Dear nut users, > > I have recently installed nut to manage a DELL USB UPS on a DELL > server running UBUNTU Server. > > I have installed nut via apt-get and then configured following several > tutorials found on the web. > > I just try to get a safe shutdown of the server on low battery and if > possible a clean reboot on power back. > > So far I think I don't have communication between the UPS and the > server but I can't really understand what is happening. Can someone > tell me how to test my configuration or at least where to start so > that I can fix it or come back with more precise questions ? > > In which files should I look for error messages ? > > "dmesg" sais : > usb 2-1.1: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 128 rq 6 > len 255 ret -110 > > Thanks in advance for your help ! > > R?mi. > > P.S : as you can understand I'm not a linux specialist but I really > need this thing to work so I'll try out any advice you have. > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser >
On Thu, 11 Nov 2010, R?mi Lavergne wrote:> I have recently installed nut to manage a DELL USB UPSWhich model? What does lsusb report?> on a DELL server running UBUNTU Server. I have installed nut via > apt-get and then configured following several tutorials found on > the web.Which one did you follow? or did you create your own configuration? If you could put your NUT configuration files on a web server so that we could browse them that would help. (Remove anything confidential)> I just try to get a safe shutdown of the server on low battery and > if possible a clean reboot on power back. So far I think I don't > have communication between the UPS and the server but I can't > really understand what is happening.Tell us precisely what you did so far to test your setup. Which commands did you use? What was the result?> Can someone tell me how to test my configuration or at least where > to start so that I can fix it or come back with more precise > questions ? In which files should I look for error messages ?Try /var/log/messages. Roger
Bonjour R?mi, I just realized that we went off the list... Any news on your issue? 2010/11/12 Arnaud Quette> Hi > > 2010/11/12 R?mi Lavergne > >> Hello, >> >> Thanks for your help. This is how it looks: >> >> ----- >> >> root at srv# reboot >> >> root at srv# tail /var/log/messages >> [...] >> Nov 12 10:37:09 srv kernel: [ 7.727025] generic-usb: probe of >> 0003:047C:FFFF.0001 failed with error -22 >> Nov 12 10:37:09 srv kernel: [ 7.727057] usbcore: registered new >> interface driver usbhid >> Nov 12 10:37:09 srv kernel: [ 7.727059] usbhid: v2.6:USB HID core >> driver >> >> root at srv# upsc dell >> Error: Connection failure: Connection refused >> >> (...) >> >> /etc/nut/upsd.conf : >> LISTEN 127.0.0.1 3494 >> > > here is the issue: you've changed the default (3493) port. > change it back, or simply omit it, restart everything and check upsc again. > > cheers, > Arno >cheers, Arno -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20101116/69ee960a/attachment.htm>