[Nut-upsuser] troubleshooting UPS ups at localhost is unavailable

raf raf at raf.org
Mon Nov 30 12:14:00 UTC 2009


Arnaud Quette wrote:

> 2009/11/30 raf <nut at raf.org>:
> > hi,
> 
> Hi Raf,
> 
> > i've just set up two new computers each with a Powerware 3105 ups.
> > they have identical nut configurations and identical upss which
> > are both plugged in via usb but only one is being detected by nut.
> > the other keeps saying:
> >
> >  Broadcast Message from nut at server-1
> >          (somewhere) at 14:52 ...
> >  UPS ups at localhost is unavailable
> > (...)
> 
> everything seems fine there.
> I've recently made several changes and improvements on this driver
> (the USB one) and would be interested in a driver debug output, ie:
> $ /lib/nut/bcmxcp_usb -DDD -a ups
> 
> according to these info, I'll be able to give you a solution.
> 
> cheers,
> Arnaud
> -- 
> Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops
> Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
> Debian Developer - http://www.debian.org
> Free Software Developer - http://arnaud.quette.free.fr/

hi arnaud,

i've attached the output from both hosts. strangely, the output
for the one that works is almost identical to the one that
doesn't.

cheers,
raf


-------------- next part --------------
Network UPS Tools - BCMXCP UPS driver 0.14 (2.2.2)

Warning: This is an experimental driver.
Some features may not function correctly.

Model = POWERWARE UPS    700VA
Firmware = Cont:00.80 Inve:00.60
-------------- next part --------------
debug level is '3'
Shutdown delay =  120 seconds
Index	Offset	Format	NUT



Length of alarm map: 22

Index	Alarm	Supported

-001	INVERTER_AC_OVER_VOLTAGE	No
-001	INVERTER_AC_UNDER_VOLTAGE	No
-001	INVERTER_OVER_OR_UNDER_FREQ	No
-001	BYPASS_AC_OVER_VOLTAGE	No
-001	BYPASS_AC_UNDER_VOLTAGE	No
-001	BYPASS_OVER_OR_UNDER_FREQ	No
-001	INPUT_AC_OVER_VOLTAGE	No
-001	INPUT_AC_UNDER_VOLTAGE	No
-001	INPUT_UNDER_OR_OVER_FREQ	No
-001	OUTPUT_OVER_VOLTAGE	No
-001	OUTPUT_UNDER_VOLTAGE	No
-001	OUTPUT_UNDER_OR_OVER_FREQ	No
-001	REMOTE_EMERGENCY_PWR_OFF	No
-001	REMOTE_GO_TO_BYPASS	No
-001	BUILDING_ALARM_6	No
-001	BUILDING_ALARM_5	No
-001	BUILDING_ALARM_4	No
-001	BUILDING_ALARM_3	No
-001	BUILDING_ALARM_2	No
-001	BUILDING_ALARM_1	No
-001	STATIC_SWITCH_OVER_TEMP	No
-001	CHARGER_OVER_TEMP	No
-001	CHARGER_LOGIC_PWR_FAIL	No
-001	CHARGER_OVER_VOLTAGE_OR_CURRENT	No
-001	INVERTER_OVER_TEMP	No
-001	OUTPUT_OVERLOAD	No
-001	RECTIFIER_INPUT_OVER_CURRENT	No
-001	INVERTER_OUTPUT_OVER_CURRENT	No
-001	DC_LINK_OVER_VOLTAGE	No
-001	DC_LINK_UNDER_VOLTAGE	No
-001	RECTIFIER_FAILED	No
-001	INVERTER_FAULT	No
-001	BATTERY_CONNECTOR_FAIL	No
-001	BYPASS_BREAKER_FAIL	No
-001	CHARGER_FAIL	No
-001	RAMP_UP_FAILED	No
-001	STATIC_SWITCH_FAILED	No
-001	ANALOG_AD_REF_FAIL	No
-001	BYPASS_UNCALIBRATED	No
-001	RECTIFIER_UNCALIBRATED	No
-001	OUTPUT_UNCALIBRATED	No
-001	INVERTER_UNCALIBRATED	No
-001	DC_VOLT_UNCALIBRATED	No
-001	OUTPUT_CURRENT_UNCALIBRATED	No
-001	RECTIFIER_CURRENT_UNCALIBRATED	No
-001	BATTERY_CURRENT_UNCALIBRATED	No
-001	INVERTER_ON_OFF_STAT_FAIL	No
-001	BATTERY_CURRENT_LIMIT	No
-001	INVERTER_STARTUP_FAIL	No
-001	ANALOG_BOARD_AD_STAT_FAIL	No
-001	OUTPUT_CURRENT_OVER_100	No
-001	BATTERY_GROUND_FAULT	No
-001	WAITING_FOR_CHARGER_SYNC	No
-001	NV_RAM_FAIL	No
-001	ANALOG_BOARD_AD_TIMEOUT	No
-001	SHUTDOWN_IMMINENT	No
0000	BATTERY_LOW	Yes
0001	UTILITY_FAIL	Yes
-001	OUTPUT_SHORT_CIRCUIT	No
-001	UTILITY_NOT_PRESENT	No
-001	FULL_TIME_CHARGING	No
-001	FAST_BYPASS_COMMAND	No
-001	AD_ERROR	No
-001	INTERNAL_COM_FAIL	No
-001	RECTIFIER_SELFTEST_FAIL	No
-001	RECTIFIER_EEPROM_FAIL	No
-001	RECTIFIER_EPROM_FAIL	No
-001	INPUT_LINE_VOLTAGE_LOSS	No
-001	BATTERY_DC_OVER_VOLTAGE	No
-001	POWER_SUPPLY_OVER_TEMP	No
-001	POWER_SUPPLY_FAIL	No
-001	POWER_SUPPLY_5V_FAIL	No
-001	POWER_SUPPLY_12V_FAIL	No
-001	HEATSINK_OVER_TEMP	No
-001	HEATSINK_TEMP_SENSOR_FAIL	No
-001	RECTIFIER_CURRENT_OVER_125	No
-001	RECTIFIER_FAULT_INTERRUPT_FAIL	No
-001	RECTIFIER_POWER_CAPASITOR_FAIL	No
-001	INVERTER_PROGRAM_STACK_ERROR	No
-001	INVERTER_BOARD_SELFTEST_FAIL	No
-001	INVERTER_AD_SELFTEST_FAIL	No
-001	INVERTER_RAM_SELFTEST_FAIL	No
-001	NV_MEMORY_CHECKSUM_FAIL	No
-001	PROGRAM_CHECKSUM_FAIL	No
-001	INVERTER_CPU_SELFTEST_FAIL	No
-001	NETWORK_NOT_RESPONDING	No
-001	FRONT_PANEL_SELFTEST_FAIL	No
-001	NODE_EEPROM_VERIFICATION_ERROR	No
-001	OUTPUT_AC_OVER_VOLT_TEST_FAIL	No
-001	OUTPUT_DC_OVER_VOLTAGE	No
-001	INPUT_PHASE_ROTATION_ERROR	No
-001	INVERTER_RAMP_UP_TEST_FAILED	No
-001	INVERTER_OFF_COMMAND	No
-001	INVERTER_ON_COMMAND	No
-001	TO_BYPASS_COMMAND	No
-001	FROM_BYPASS_COMMAND	No
-001	AUTO_MODE_COMMAND	No
-001	EMERGENCY_SHUTDOWN_COMMAND	No
-001	SETUP_SWITCH_OPEN	No
-001	INVERTER_OVER_VOLT_INT	No
-001	INVERTER_UNDER_VOLT_INT	No
-001	ABSOLUTE_DCOV_ACOV	No
-001	PHASE_A_CURRENT_LIMIT	No
-001	PHASE_B_CURRENT_LIMIT	No
-001	PHASE_C_CURRENT_LIMIT	No
-001	BYPASS_NOT_AVAILABLE	No
-001	RECTIFIER_BREAKER_OPEN	No
-001	BATTERY_CONTACTOR_OPEN	No
-001	INVERTER_CONTACTOR_OPEN	No
-001	BYPASS_BREAKER_OPEN	No
-001	INV_BOARD_ACOV_INT_TEST_FAIL	No
-001	INVERTER_OVER_TEMP_TRIP	No
-001	INV_BOARD_ACUV_INT_TEST_FAIL	No
-001	INVERTER_VOLTAGE_FEEDBACK_ERROR	No
-001	DC_UNDER_VOLTAGE_TIMEOUT	No
-001	AC_UNDER_VOLTAGE_TIMEOUT	No
-001	DC_UNDER_VOLTAGE_WHILE_CHARGE	No
-001	INVERTER_VOLTAGE_BIAS_ERROR	No
-001	RECTIFIER_PHASE_ROTATION	No
-001	BYPASS_PHASER_ROTATION	No
-001	SYSTEM_INTERFACE_BOARD_FAIL	No
-001	PARALLEL_BOARD_FAIL	No
-001	LOST_LOAD_SHARING_PHASE_A	No
-001	LOST_LOAD_SHARING_PHASE_B	No
-001	LOST_LOAD_SHARING_PHASE_C	No
-001	DC_OVER_VOLTAGE_TIMEOUT	No
-001	BATTERY_TOTALLY_DISCHARGED	No
-001	INVERTER_PHASE_BIAS_ERROR	No
-001	INVERTER_VOLTAGE_BIAS_ERROR_2	No
-001	DC_LINK_BLEED_COMPLETE	No
-001	LARGE_CHARGER_INPUT_CURRENT	No
-001	INV_VOLT_TOO_LOW_FOR_RAMP_LEVEL	No
-001	LOSS_OF_REDUNDANCY	No
-001	LOSS_OF_SYNC_BUS	No
-001	RECTIFIER_BREAKER_SHUNT_TRIP	No
-001	LOSS_OF_CHARGER_SYNC	No
-001	INVERTER_LOW_LEVEL_TEST_TIMEOUT	No
-001	OUTPUT_BREAKER_OPEN	No
-001	CONTROL_POWER_ON	No
-001	INVERTER_ON	No
-001	CHARGER_ON	No
-001	BYPASS_ON	No
-001	BYPASS_POWER_LOSS	No
-001	ON_MANUAL_BYPASS	No
-001	BYPASS_MANUAL_TURN_OFF	No
-001	INVERTER_BLEEDING_DC_LINK_VOLT	No
-001	CPU_ISR_ERROR	No
-001	SYSTEM_ISR_RESTART	No
-001	PARALLEL_DC	No
-001	BATTERY_NEEDS_SERVICE	No
-001	BATTERY_CHARGING	No
-001	BATTERY_NOT_CHARGED	No
-001	DISABLED_BATTERY_TIME	No
-001	SERIES_7000_ENABLE	No
-001	OTHER_UPS_ON	No
-001	PARALLEL_INVERTER	No
-001	UPS_IN_PARALLEL	No
-001	OUTPUT_BREAKER_REALY_FAIL	No
-001	CONTROL_POWER_OFF	No
-001	LEVEL_2_OVERLOAD_PHASE_A	No
-001	LEVEL_2_OVERLOAD_PHASE_B	No
-001	LEVEL_2_OVERLOAD_PHASE_C	No
-001	LEVEL_3_OVERLOAD_PHASE_A	No
-001	LEVEL_3_OVERLOAD_PHASE_B	No
-001	LEVEL_3_OVERLOAD_PHASE_C	No
-001	LEVEL_4_OVERLOAD_PHASE_A	No
-001	LEVEL_4_OVERLOAD_PHASE_B	No
-001	LEVEL_4_OVERLOAD_PHASE_C	No
0002	UPS_ON_BATTERY	Yes
-001	UPS_ON_BYPASS	No
-001	LOAD_DUMPED	No
-001	LOAD_ON_INVERTER	No
-001	UPS_ON_COMMAND	No
-001	UPS_OFF_COMMAND	No
-001	LOW_BATTERY_SHUTDOWN	No
-001	AUTO_ON_ENABLED	No


Shutdown delay longer than battery capacity when Low Battery warning is given. (max 60 seconds)
dstate_init: sock /var/run/nut/bcmxcp_usb-ups open on fd 5
new connection on fd 6
Signal 2: exiting
CLOSING

-------------- next part --------------
Network UPS Tools - BCMXCP UPS driver 0.14 (2.2.2)

Warning: This is an experimental driver.
Some features may not function correctly.

Model = POWERWARE UPS    700VA
Firmware = Cont:00.80 Inve:00.60
-------------- next part --------------
debug level is '3'
Shutdown delay =  120 seconds
Index	Offset	Format	NUT



Length of alarm map: 22

Index	Alarm	Supported

-001	INVERTER_AC_OVER_VOLTAGE	No
-001	INVERTER_AC_UNDER_VOLTAGE	No
-001	INVERTER_OVER_OR_UNDER_FREQ	No
-001	BYPASS_AC_OVER_VOLTAGE	No
-001	BYPASS_AC_UNDER_VOLTAGE	No
-001	BYPASS_OVER_OR_UNDER_FREQ	No
-001	INPUT_AC_OVER_VOLTAGE	No
-001	INPUT_AC_UNDER_VOLTAGE	No
-001	INPUT_UNDER_OR_OVER_FREQ	No
-001	OUTPUT_OVER_VOLTAGE	No
-001	OUTPUT_UNDER_VOLTAGE	No
-001	OUTPUT_UNDER_OR_OVER_FREQ	No
-001	REMOTE_EMERGENCY_PWR_OFF	No
-001	REMOTE_GO_TO_BYPASS	No
-001	BUILDING_ALARM_6	No
-001	BUILDING_ALARM_5	No
-001	BUILDING_ALARM_4	No
-001	BUILDING_ALARM_3	No
-001	BUILDING_ALARM_2	No
-001	BUILDING_ALARM_1	No
-001	STATIC_SWITCH_OVER_TEMP	No
-001	CHARGER_OVER_TEMP	No
-001	CHARGER_LOGIC_PWR_FAIL	No
-001	CHARGER_OVER_VOLTAGE_OR_CURRENT	No
-001	INVERTER_OVER_TEMP	No
-001	OUTPUT_OVERLOAD	No
-001	RECTIFIER_INPUT_OVER_CURRENT	No
-001	INVERTER_OUTPUT_OVER_CURRENT	No
-001	DC_LINK_OVER_VOLTAGE	No
-001	DC_LINK_UNDER_VOLTAGE	No
-001	RECTIFIER_FAILED	No
-001	INVERTER_FAULT	No
-001	BATTERY_CONNECTOR_FAIL	No
-001	BYPASS_BREAKER_FAIL	No
-001	CHARGER_FAIL	No
-001	RAMP_UP_FAILED	No
-001	STATIC_SWITCH_FAILED	No
-001	ANALOG_AD_REF_FAIL	No
-001	BYPASS_UNCALIBRATED	No
-001	RECTIFIER_UNCALIBRATED	No
-001	OUTPUT_UNCALIBRATED	No
-001	INVERTER_UNCALIBRATED	No
-001	DC_VOLT_UNCALIBRATED	No
-001	OUTPUT_CURRENT_UNCALIBRATED	No
-001	RECTIFIER_CURRENT_UNCALIBRATED	No
-001	BATTERY_CURRENT_UNCALIBRATED	No
-001	INVERTER_ON_OFF_STAT_FAIL	No
-001	BATTERY_CURRENT_LIMIT	No
-001	INVERTER_STARTUP_FAIL	No
-001	ANALOG_BOARD_AD_STAT_FAIL	No
-001	OUTPUT_CURRENT_OVER_100	No
-001	BATTERY_GROUND_FAULT	No
-001	WAITING_FOR_CHARGER_SYNC	No
-001	NV_RAM_FAIL	No
-001	ANALOG_BOARD_AD_TIMEOUT	No
-001	SHUTDOWN_IMMINENT	No
0000	BATTERY_LOW	Yes
0001	UTILITY_FAIL	Yes
-001	OUTPUT_SHORT_CIRCUIT	No
-001	UTILITY_NOT_PRESENT	No
-001	FULL_TIME_CHARGING	No
-001	FAST_BYPASS_COMMAND	No
-001	AD_ERROR	No
-001	INTERNAL_COM_FAIL	No
-001	RECTIFIER_SELFTEST_FAIL	No
-001	RECTIFIER_EEPROM_FAIL	No
-001	RECTIFIER_EPROM_FAIL	No
-001	INPUT_LINE_VOLTAGE_LOSS	No
-001	BATTERY_DC_OVER_VOLTAGE	No
-001	POWER_SUPPLY_OVER_TEMP	No
-001	POWER_SUPPLY_FAIL	No
-001	POWER_SUPPLY_5V_FAIL	No
-001	POWER_SUPPLY_12V_FAIL	No
-001	HEATSINK_OVER_TEMP	No
-001	HEATSINK_TEMP_SENSOR_FAIL	No
-001	RECTIFIER_CURRENT_OVER_125	No
-001	RECTIFIER_FAULT_INTERRUPT_FAIL	No
-001	RECTIFIER_POWER_CAPASITOR_FAIL	No
-001	INVERTER_PROGRAM_STACK_ERROR	No
-001	INVERTER_BOARD_SELFTEST_FAIL	No
-001	INVERTER_AD_SELFTEST_FAIL	No
-001	INVERTER_RAM_SELFTEST_FAIL	No
-001	NV_MEMORY_CHECKSUM_FAIL	No
-001	PROGRAM_CHECKSUM_FAIL	No
-001	INVERTER_CPU_SELFTEST_FAIL	No
-001	NETWORK_NOT_RESPONDING	No
-001	FRONT_PANEL_SELFTEST_FAIL	No
-001	NODE_EEPROM_VERIFICATION_ERROR	No
-001	OUTPUT_AC_OVER_VOLT_TEST_FAIL	No
-001	OUTPUT_DC_OVER_VOLTAGE	No
-001	INPUT_PHASE_ROTATION_ERROR	No
-001	INVERTER_RAMP_UP_TEST_FAILED	No
-001	INVERTER_OFF_COMMAND	No
-001	INVERTER_ON_COMMAND	No
-001	TO_BYPASS_COMMAND	No
-001	FROM_BYPASS_COMMAND	No
-001	AUTO_MODE_COMMAND	No
-001	EMERGENCY_SHUTDOWN_COMMAND	No
-001	SETUP_SWITCH_OPEN	No
-001	INVERTER_OVER_VOLT_INT	No
-001	INVERTER_UNDER_VOLT_INT	No
-001	ABSOLUTE_DCOV_ACOV	No
-001	PHASE_A_CURRENT_LIMIT	No
-001	PHASE_B_CURRENT_LIMIT	No
-001	PHASE_C_CURRENT_LIMIT	No
-001	BYPASS_NOT_AVAILABLE	No
-001	RECTIFIER_BREAKER_OPEN	No
-001	BATTERY_CONTACTOR_OPEN	No
-001	INVERTER_CONTACTOR_OPEN	No
-001	BYPASS_BREAKER_OPEN	No
-001	INV_BOARD_ACOV_INT_TEST_FAIL	No
-001	INVERTER_OVER_TEMP_TRIP	No
-001	INV_BOARD_ACUV_INT_TEST_FAIL	No
-001	INVERTER_VOLTAGE_FEEDBACK_ERROR	No
-001	DC_UNDER_VOLTAGE_TIMEOUT	No
-001	AC_UNDER_VOLTAGE_TIMEOUT	No
-001	DC_UNDER_VOLTAGE_WHILE_CHARGE	No
-001	INVERTER_VOLTAGE_BIAS_ERROR	No
-001	RECTIFIER_PHASE_ROTATION	No
-001	BYPASS_PHASER_ROTATION	No
-001	SYSTEM_INTERFACE_BOARD_FAIL	No
-001	PARALLEL_BOARD_FAIL	No
-001	LOST_LOAD_SHARING_PHASE_A	No
-001	LOST_LOAD_SHARING_PHASE_B	No
-001	LOST_LOAD_SHARING_PHASE_C	No
-001	DC_OVER_VOLTAGE_TIMEOUT	No
-001	BATTERY_TOTALLY_DISCHARGED	No
-001	INVERTER_PHASE_BIAS_ERROR	No
-001	INVERTER_VOLTAGE_BIAS_ERROR_2	No
-001	DC_LINK_BLEED_COMPLETE	No
-001	LARGE_CHARGER_INPUT_CURRENT	No
-001	INV_VOLT_TOO_LOW_FOR_RAMP_LEVEL	No
-001	LOSS_OF_REDUNDANCY	No
-001	LOSS_OF_SYNC_BUS	No
-001	RECTIFIER_BREAKER_SHUNT_TRIP	No
-001	LOSS_OF_CHARGER_SYNC	No
-001	INVERTER_LOW_LEVEL_TEST_TIMEOUT	No
-001	OUTPUT_BREAKER_OPEN	No
-001	CONTROL_POWER_ON	No
-001	INVERTER_ON	No
-001	CHARGER_ON	No
-001	BYPASS_ON	No
-001	BYPASS_POWER_LOSS	No
-001	ON_MANUAL_BYPASS	No
-001	BYPASS_MANUAL_TURN_OFF	No
-001	INVERTER_BLEEDING_DC_LINK_VOLT	No
-001	CPU_ISR_ERROR	No
-001	SYSTEM_ISR_RESTART	No
-001	PARALLEL_DC	No
-001	BATTERY_NEEDS_SERVICE	No
-001	BATTERY_CHARGING	No
-001	BATTERY_NOT_CHARGED	No
-001	DISABLED_BATTERY_TIME	No
-001	SERIES_7000_ENABLE	No
-001	OTHER_UPS_ON	No
-001	PARALLEL_INVERTER	No
-001	UPS_IN_PARALLEL	No
-001	OUTPUT_BREAKER_REALY_FAIL	No
-001	CONTROL_POWER_OFF	No
-001	LEVEL_2_OVERLOAD_PHASE_A	No
-001	LEVEL_2_OVERLOAD_PHASE_B	No
-001	LEVEL_2_OVERLOAD_PHASE_C	No
-001	LEVEL_3_OVERLOAD_PHASE_A	No
-001	LEVEL_3_OVERLOAD_PHASE_B	No
-001	LEVEL_3_OVERLOAD_PHASE_C	No
-001	LEVEL_4_OVERLOAD_PHASE_A	No
-001	LEVEL_4_OVERLOAD_PHASE_B	No
-001	LEVEL_4_OVERLOAD_PHASE_C	No
0002	UPS_ON_BATTERY	Yes
-001	UPS_ON_BYPASS	No
-001	LOAD_DUMPED	No
-001	LOAD_ON_INVERTER	No
-001	UPS_ON_COMMAND	No
-001	UPS_OFF_COMMAND	No
-001	LOW_BATTERY_SHUTDOWN	No
-001	AUTO_ON_ENABLED	No


Shutdown delay longer than battery capacity when Low Battery warning is given. (max 60 seconds)
dstate_init: sock /var/run/nut/bcmxcp_usb-ups open on fd 5
Signal 2: exiting
CLOSING



More information about the Nut-upsuser mailing list