Package: nut-server
Version: 2.6.5-1
Severity: Serious

Hello, comrades.
The upsd daemon cannot start automatically on system boot.

Log from /var/log/boot
Tue Nov 20 13:52:47 2012: [....] Starting NUT - power devices information server and drivers:  (driver(s) failed). upsd^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Tue Nov 20 13:52:48 2012: [....] Starting NUT - power device monitor and shutdown controller: nut-client^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.

Log from /var/log/syslog
Nov 29 13:18:28 debian-terminal upsd[2476]: listening on 127.0.0.1 port 3493
Nov 29 13:18:28 debian-terminal upsd[2476]: Can't connect to UPS [novex] 
(blazer_usb-novex): No such file or directory
Nov 29 13:18:28 debian-terminal upsd[2477]: Startup successful
Nov 29 13:18:28 debian-terminal upsmon[2534]: Startup successful
Nov 29 13:18:28 debian-terminal upsd[2477]: User [email protected] logged 
into UPS [novex]
Nov 29 13:18:28 debian-terminal upsmon[2539]: Poll UPS [novex@localhost:3493] 
failed - Driver not connected
Nov 29 13:18:28 debian-terminal upsmon[2539]: Communications with UPS 
novex@localhost:3493 lost
Nov 29 13:18:33 debian-terminal upsmon[2539]: Poll UPS [novex@localhost:3493] 
failed - Driver not connected
Nov 29 13:18:33 debian-terminal upsmon[2539]: UPS novex@localhost:3493 is 
unavailable
Nov 29 13:18:38 debian-terminal upsmon[2539]: Poll UPS [novex@localhost:3493] 
failed - Driver not connected
Nov 29 13:18:43 debian-terminal upsmon[2539]: Poll UPS [novex@localhost:3493] 
failed - Driver not connected
Nov 29 13:18:48 debian-terminal upsmon[2539]: Poll UPS [novex@localhost:3493] 
failed - Driver not connected

Further message "Driver not connected" writes every 5 seconds.


If I am start daemon manually, it launches and work normally.

Log from console
$ sudo upsdrvctl start
Network UPS Tools - UPS driver controller 2.6.5
Network UPS Tools - Megatec/Q1 protocol USB driver 0.09 (2.6.5)
Supported UPS detected with megatec protocol
Vendor information read in 1 tries
No values provided for battery high/low voltages in ups.conf
Using 'guestimation' (low: 9.966667, high: 12.458333)!
Battery runtime will not be calculated (runtimecal not set)
Broadcast Message from nut@debian-t                                            
        (somewhere) at 13:21 ...                                               
Communications with UPS novex@localhost:3493 established 
Broadcast Message from nut@debian-t                                            
        (somewhere) at 13:21 ...                                               
UPS novex@localhost:3493: forced shutdown in progress 

Log from /var/log/syslog
Nov 29 13:21:33 debian-terminal upsmon[2539]: Poll UPS [novex@localhost:3493] 
failed - Driver not connected
Nov 29 13:21:38 debian-terminal upsmon[2539]: Poll UPS [novex@localhost:3493] 
failed - Driver not connected
Nov 29 13:21:40 debian-terminal kernel: [  207.113477] usb 3-1: usbfs: 
USBDEVFS_CONTROL failed cmd blazer_usb rqt 128 rq 6 len 255 ret -110
Nov 29 13:21:41 debian-terminal kernel: [  208.117505] usb 3-1: usbfs: 
USBDEVFS_CONTROL failed cmd blazer_usb rqt 128 rq 6 len 255 ret -110
Nov 29 13:21:43 debian-terminal upsmon[2539]: Poll UPS [novex@localhost:3493] 
failed - Driver not connected
Nov 29 13:21:43 debian-terminal blazer_usb[3125]: Startup successful
Nov 29 13:21:45 debian-terminal upsd[2477]: Connected to UPS [novex]: 
blazer_usb-novex
Nov 29 13:21:48 debian-terminal upsmon[2539]: Communications with UPS 
novex@localhost:3493 established
Nov 29 13:21:48 debian-terminal upsmon[2539]: UPS novex@localhost:3493: forced 
shutdown in progress

This error also affected on versions 2.6.4-1 and 2.6.4-2.1.

System Information:
Debian Release: wheezy/sid
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4 amd64
Locale: LANG=ru_RU.UTF-8, LC_CTYPE="ru_RU.UTF-8"
Shell: /bin/sh linked to /bin/dash
libc6 version 2.13-37

I am using an UPS Novex NUPS-650 that supports Megatec protocol. UPS connected 
to desktop computer with USB cable.

Configuration file /etc/nut/ups.conf
[novex]
driver = blazer_usb
protocol = megatec
port = auto
desc = "Terminal UPS"


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to