Package: nut
Version: 2.6.4-1
Severity: normal

Cannot shutdown APC Smart-UPS with AP9617 and get the following error:

root@abex:~# /lib/nut/snmp-ups -DDDD -a apc10001 -k
Network UPS Tools - Generic SNMP UPS driver 0.66 (2.6.4)
   0.000000     debug level is '4'
   0.000446     SNMP UPS driver : entering upsdrv_initups()
   0.000471     SNMP UPS driver : entering nut_snmp_init(snmp-ups)
   0.018439     SNMP UPS driver : entering load_mib2nut(apcc)
   0.018467     load_mib2nut: trying classic method with 'apcc' mib
   0.018478     Entering nut_snmp_get_str()
   0.018499     nut_snmp_get(.1.3.6.1.4.1.318.1.1.1.1.1.1.0)
   0.035932     load_mib2nut: using apcc mib
   0.035963     su_find_info: "ups.model" found
   0.035980     Entering nut_snmp_get_str()
   0.036007     nut_snmp_get(.1.3.6.1.4.1.318.1.1.1.1.1.1.0)
   0.055572     Detected Smart-UPS 1000 on host 10.100.200.30 (mib: apcc 1.1)
   0.055610     su_find_info: unknown info type (load.off.delay)
   0.055630     su_find_info: unknown info type (load.on.delay)
   0.055668     su_find_info: unknown info type (load.off.delay)
   0.055687     Initiating UPS shutdown
   0.055705     upsdrv_shutdown...
   0.055721     entering su_instcmd(shutdown.return, (null))
   0.055740     su_find_info: "shutdown.return" found
   0.055771     entering nut_snmp_set (.1.3.6.1.4.1.318.1.1.1.6.1.1.0, i, 2)
   0.098838     [apc10001] nut_snmp_set: can't set 
.1.3.6.1.4.1.318.1.1.1.6.1.1.0: Error in packet: (genError) A general failure 
occured
   0.098870     su_instcmd: cannot set value for shutdown.return
   0.098888     entering su_instcmd(shutdown.reboot, (null))
   0.098919     su_find_info: unknown info type (shutdown.reboot)
   0.098938     su_instcmd: shutdown.reboot unavailable
   0.098955     entering su_instcmd(load.off.delay, (null))
   0.098981     su_find_info: unknown info type (load.off.delay)
   0.098993     su_instcmd: load.off.delay unavailable
   0.099026     Shutdown failed!


tcpdump output:
15:22:22.063065 IP 10.100.200.1.43571 > 10.100.200.30.161:  C=private 
GetRequest(34)  .1.3.6.1.4.1.318.1.1.1.1.1.1.0
15:22:22.080085 IP 10.100.200.30.161 > 10.100.200.1.43571:  C=private 
GetResponse(52)  .1.3.6.1.4.1.318.1.1.1.1.1.1.0="Smart-UPS 1000"
15:22:22.080286 IP 10.100.200.1.43571 > 10.100.200.30.161:  C=private 
GetRequest(34)  .1.3.6.1.4.1.318.1.1.1.1.1.1.0
15:22:22.098435 IP 10.100.200.30.161 > 10.100.200.1.43571:  C=private 
GetResponse(52)  .1.3.6.1.4.1.318.1.1.1.1.1.1.0="Smart-UPS 1000"
15:22:22.098717 IP 10.100.200.1.43571 > 10.100.200.30.161:  C=private 
SetRequest(35)  .1.3.6.1.4.1.318.1.1.1.6.1.1.0=2
15:22:22.135136 IP 10.100.200.30.161 > 10.100.200.1.43571:  C=private 
GetResponse(35)  genErr@1 .1.3.6.1.4.1.318.1.1.1.6.1.1.0=2


ups.conf contains:
user = nut
[apc10001]
    driver = snmp-ups
    port = 10.100.200.30
    snmp_version = v1
    mibs = apcc
    pollfreq = 15
    desc = "APC Smart-UPS 1000I"
    community=private


-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nut depends on:
ii  nut-client  2.6.4-1
ii  nut-server  2.6.4-1

nut recommends no packages.

nut suggests no packages.

-- no debconf information


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

Reply via email to