[Nut-upsuser] Starting Network UPS Tools: (upsdrvctl failed)
upsd upsmon ?
kjell.claesson at epost.tidanet.se
Sat Mar 24 14:52:10 CET 2007
You can try to run the driver only with the ups.conf.
Locate the bcmxcp_usb driver. then run this command.
/path/to/bcmxcp_usb -DD -a powerware
(exchange the /path/to with the right path)
Now it should spit out som debug info if the communication is ok.
You should also upgrade to the 2.0.5 version as (think it was) Arjen
found one bad typo in the shutdown functions. Also you should set
the shutdown_delay to 60 in the ups.conf as it warns that it could
not run more than 60 sec after it signaling low battery.
This time is used to power off the ups after a low battery warning.
So it should give a shutdown -h now on battery low, then run for 60 sec
and power off. Normal a machine should manage to go down to halt in this
time. But with 2.0.4 it would not power off (se above).
lör 2007-03-24 klockan 10:35 +0100 skrev Theo G. Kanter:
> 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 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
> 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)
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
More information about the Nut-upsuser