[Nut-upsuser] Starting Network UPS Tools: (upsdrvctl failed) upsd upsmon ?

Theo G. Kanter theo at verkstad.net
Sat Mar 24 10:35:55 CET 2007

Using the HOWTO in
I installed nut on an Ubuntu Edgy LAMP Server with an Eaton Powerware 5110
attached to it via usb. But nut fails to start properly (see the error
message "Starting Network UPS Tools: (upsdrvctl failed) upsd upsmon"
below). It then complains about communication with the UPS being lost
("UPS upsl at localhost is unavailable").

I wonder whether this communication error message may be related to the
howto assuming that a user 'upsl' exists, while 'nut' only configures a
user 'nut'. I am new to 'nut' so any hints are welcome. I have no clue why
upsdrvctl fails when I start nut when it first starts properly by itself.
Below I included the configuration files (found in /etc/nut/*)
Please advise me on how to deal with both these issues.

# upsdrvctl start
Network UPS Tools - UPS driver controller 2.0.4
Network UPS Tools - BCMXCP UPS driver 0.10 (2.0.4)

Model = POWERWARE UPS    1000VA
Firmware = 00.50
Shutdown delay =  120 seconds
Shutdown delay longer than battery capacity when Low Battery warning is
given. (max 60 seconds)
# /etc/init.d/nut start
Starting Network UPS Tools: (upsdrvctl failed) upsd upsmon.

Broadcast Message from nut at Bergvik
        (somewhere) at 9:48 ...

Communications with UPS upsl at localhost lost

--- /etc/nut/ups.conf ---
driver = bcmxcp_usb
port = auto
desc = "PowerWare 5110, USB"

--- /etc/nut/upsd.conf ---
ACL all
ACL remote
ACL localhost
ACCEPT localhost
ACCEPT remote

--- /etc/nut/upsd.users
password = PASSWORD
allowfrom = localhost
actions = SET
instcmds = ALL
upsmon master

--- /etc/nut/upsmon.conf
MONITOR upsl at localhost 1 monuser PASSWORD master
SHUTDOWNCMD "/sbin/shutdown -h +0"

Thanks in advance.
--theo (theo at verkstad.net)

More information about the Nut-upsuser mailing list