<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Kjell,<br>
<br>
&nbsp;&nbsp;&nbsp; thanks for your answer. The nut package version is&nbsp; 2.0.4-4 <br>
&nbsp;&nbsp;&nbsp; I could solve the problem. It had to do with the USB socket I was
using. I changed it to another and it worked.<br>
<br>
Thanks again.<br>
Aldo<br>
<br>
<br>
Kjell Claesson escribi&oacute;:
<blockquote
 cite="mid:200812092317.26548.kjell.claesson@epost.tidanet.se"
 type="cite">
  <pre wrap="">Den Tuesday 09 December 2008 18.39.58 skrev Aldo Caruso:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,

    </pre>
  </blockquote>
  <pre wrap=""><!---->Hi Aldo,
  </pre>
  <blockquote type="cite">
    <pre wrap="">   I have an UPS Powerware 5110 ( usb connection ), on Linux OS is
Debian 4.0

    </pre>
  </blockquote>
  <pre wrap=""><!---->Good info, but it would be better to know the nut version. And the driver
version number also.

  </pre>
  <blockquote type="cite">
    <pre wrap="">   The /etc/ups.conf file setting is:

[myups]
   driver = bcmxcp_usb
   port = auto
   desc = "UPS Powerware 5110 1500 VA"

    </pre>
  </blockquote>
  <pre wrap=""><!---->That is OK.

  </pre>
  <blockquote type="cite">
    <pre wrap="">When the daemon starts it displays the following message:

"Starting Network UPS Tools: (upsdrvctl failed)."

Looking at /var/log/syslog I found the following line

"Can't connect to UPS [myups] (bcmxcp_usb-auto): No such file or directory"
    </pre>
  </blockquote>
  <pre wrap=""><!---->This should be located in /var/lib/nut and that directory should belong to the
user nut is running as. Normaly nut. But it depends on the packages.

Think we have some debian users that could help you with this.

  </pre>
  <blockquote type="cite">
    <pre wrap="">Does any body know why it appends "-auto" to the driver name ?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
This indicate an older verion of the nut. Now it appands the tag name ( for 
you 'myups') to the socket, like bcmxcp_usb-myups.

This is my /var/lib/nut
ls -l /var/lib/nut/
totalt 8
srw-rw---- 1 nut nut 0  9 dec 21.51 bcmxcp_usb-pw3105
-rw-r--r-- 1 nut nut 5  9 dec 21.51 bcmxcp_usb-pw3105.pid
-rw-r--r-- 1 nut nut 5  9 dec 21.51 upsd.pid

Regards
/Kjell


  </pre>
</blockquote>
</body>
</html>