[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
http://keystoneit.wordpress.com/2006/09/25/network-ups-tools-nut-on-ubuntu/
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 ---
[powerware]
driver = bcmxcp_usb
port = auto
desc = "PowerWare 5110, USB"

--- /etc/nut/upsd.conf ---
ACL all 0.0.0.0/0
ACL remote 192.168.0.0/24
ACL localhost 127.0.0.1
ACCEPT localhost
ACCEPT remote
REJECT all

--- /etc/nut/upsd.users
[monuser]
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