Package: nut
Version: 2.4.3-1.1squeeze1
Severity: important

Trying to configure nut with a Back-UPS Pro 900 power supply,
with USB cable.  Apparently this is a USB-HID device, so the 
entirety of "ups.conf" is:

[back_ups]
        driver = usbhid-ups

Multiple problems,  not sure how closely they're related...

1.  When starting,  I get a "driver(s) failed" message:

# /etc/init.d/nut stop
Stopping Network UPS Tools: (driver(s) failed) upsd upsmon.

However,  syslog reports that upsd is up:

Jun 18 11:29:39 scatha upsd[27839]: listening on 0.0.0.0 port 3493

2.  "upsc -l" fails with "Connection refused". Also, "lsof -i" 
doesn't report anything listening on port 3493:

# upsc -l localhost:3493
Error: Connection failure: Connection refused

3.  Error-message written to syslog when stopping the service: 

# /etc/init.d/nut stop
Stopping Network UPS Tools: (driver(s) failed) upsd upsmon.

Jun 18 11:33:22 scatha kernel: [230320.849512] upsdrvctl[28172]: segfault at 0 
ip b77298e3 sp bfbf83a4 error 4 in libc-2.11.2.so[b76b6000+140000]

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nut depends on:
ii  adduser                3.112+nmu2        add and remove users and groups
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libupsclient1          2.4.3-1.1squeeze1 network UPS tools - client library
ii  libusb-0.1-4           2:0.1.12-16       userspace USB programming library
ii  libwrap0               7.6.q-19          Wietse Venema's TCP wrappers libra
ii  lsb-base               3.2-23.2squeeze1  Linux Standard Base 3.2 init scrip
ii  udev                   164-3             /dev/ and hotplug management daemo

Versions of packages nut recommends:
ii  bash-completion               1:1.2-3    programmable completion for the ba

Versions of packages nut suggests:
pn  nut-cgi                       <none>     (no description available)
pn  nut-dev                       <none>     (no description available)
pn  nut-snmp                      <none>     (no description available)
pn  nut-xml                       <none>     (no description available)

-- Configuration Files:
/etc/default/nut [Errno 2] No such file or directory: u'/etc/default/nut'
/etc/nut/nut.conf changed:
MODE=netserver
UPSD_OPTIONS=""
UPSMON_OPTIONS=""
POWEROFF_WAIT=25m

/etc/nut/ups.conf [Errno 13] Permission denied: u'/etc/nut/ups.conf'
/etc/nut/upsd.conf [Errno 13] Permission denied: u'/etc/nut/upsd.conf'
/etc/nut/upsd.users [Errno 13] Permission denied: u'/etc/nut/upsd.users'
/etc/nut/upsmon.conf [Errno 13] Permission denied: u'/etc/nut/upsmon.conf'
/etc/nut/upssched.conf [Errno 13] Permission denied: u'/etc/nut/upssched.conf'

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to