Unable to use SnmpTranslate with HP MIBs - snmp

I'm trying to use SnmpTranslate to translate the SNMP traps sent by my ProLiant DL360p Gen8 server. I used the MIB files from the Insight Management MIB update kit - http://h18013.www1.hp.com/products/servers/management/hpsim/mibkit.html - as recommended here - http://h30499.www3.hp.com/t5/ProLiant-Servers-ML-DL-SL/I-want-to-download-DL-380p-Gen8-Mib/td-p/5877083#.U8U63fmSwlo
However, when trying the following, I encountered a long list of errors. Any tip will be much appreciated.
snmptranslate.exe -M mibs\mibs -mALL -Td .1.3.6.1.4.1.232.0.3046
No log handling enabled - turning on stderr logging
Did not find 'mgmt' in module RFC1155-SMI (mibs\mibs/rfc1213.mib)
Unlinked OID in RFC1213-MIB: mib-2 ::= { mgmt 1 }
Undefined identifier: mgmt near line 16 of mibs\mibs/rfc1213.mib
Unlinked OID in ZTSAMIB: enterprises ::= { private 1 }
Undefined identifier: private near line 27 of mibs\mibs/ztsa.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/ztmx.mib)
Unlinked OID in SNMP-TMUX-MIB: tandem ::= { enterprises 169 }
Undefined identifier: enterprises near line 22 of mibs\mibs/ztmx.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/zsmp.mib)
Unlinked OID in SNMP-AGENT-PUBLIC-MIB: tandem ::= { enterprises 169 }
Undefined identifier: enterprises near line 42 of mibs\mibs/zsmp.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/zhrm.mib)
Unlinked OID in SNMP-HMSA-MIB: tandem ::= { enterprises 169 }
Undefined identifier: enterprises near line 22 of mibs\mibs/zhrm.mib
Unlinked OID in EthernetSubagentPvt-MIB: enterprises ::= { private 1 }
Undefined identifier: private near line 22 of mibs\mibs/zesa.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/xp1024trapmib.mib)
Unlinked OID in RAID450MIB: hitachi ::= { enterprises 116 }
Undefined identifier: enterprises near line 17 of mibs\mibs/xp1024trapmib.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/xl_hsv_200.mib)
Unlinked OID in CPQHSV200V6-MIB: compaq ::= { enterprises 232 }
Undefined identifier: enterprises near line 39 of mibs\mibs/xl_hsv_200.mib
Expected "(" (_): At line 383 in mibs\mibs/wbt3mib.mib
Should be ACCESS (port-modem): At line 383 in mibs\mibs/wbt3mib.mib
Bad parse of OBJECT-TYPE: At line 383 in mibs\mibs/wbt3mib.mib
Did not find 'vmDisplayName' in module VMWARE-VMINFO-MIB (mibs\mibs/VMWARE-TRAPS
-MIB.mib)
Unlinked OID in HOST-RESOURCES-MIB: mib-2 ::= { mgmt 1 }
Undefined identifier: mgmt near line 14 of mibs\mibs/rfc1514.mib
Group not found in module (hrSystemGroup): At line 118 in mibs\mibs/VMWARE-AGENT
CAP-MIB.mib
Group not found in module (hrStorageGroup): At line 119 in mibs\mibs/VMWARE-AGEN
TCAP-MIB.mib
Group not found in module (hrDeviceGroup): At line 120 in mibs\mibs/VMWARE-AGENT
CAP-MIB.mib
Group not found in module (hrSWRunGroup): At line 121 in mibs\mibs/VMWARE-AGENTC
AP-MIB.mib
Group not found in module (hrSWRunPerfGroup): At line 122 in mibs\mibs/VMWARE-AG
ENTCAP-MIB.mib
Group not found in module (hrSWInstalledGroup): At line 123 in mibs\mibs/VMWARE-
AGENTCAP-MIB.mib
Object not found in module (hrSystemNumUsers): At line 126 in mibs\mibs/VMWARE-A
GENTCAP-MIB.mib
Object not found in module (hrSWRunName): At line 130 in mibs\mibs/VMWARE-AGENTC
AP-MIB.mib
Object not found in module (hrDeviceErrors): At line 134 in mibs\mibs/VMWARE-AGE
NTCAP-MIB.mib
Object not found in module (hrSWOSIndex): At line 142 in mibs\mibs/VMWARE-AGENTC
AP-MIB.mib
Object not found in module (hrFSLastFullBackupDate): At line 146 in mibs\mibs/VM
WARE-AGENTCAP-MIB.mib
Object not found in module (hrFSLastPartialBackupDate): At line 150 in mibs\mibs
/VMWARE-AGENTCAP-MIB.mib
Object not found in module (hrPrinterStatus): At line 154 in mibs\mibs/VMWARE-AG
ENTCAP-MIB.mib
Object not found in module (hrPrinterDetectedErrorState): At line 158 in mibs\mi
bs/VMWARE-AGENTCAP-MIB.mib
Did not find 'zeroDotZero' in module SNMPv2-SMI (mibs\mibs/vc-module-mib.mib)
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/vc-module-mib.mib)
Unlinked OID in HPVCMODULE-MIB: hp ::= { enterprises 11 }
Undefined identifier: enterprises near line 29 of mibs\mibs/vc-module-mib.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/vc-qos-mib.mib)
Did not find 'virtualConnect' in module HPVCMODULE-MIB (mibs\mibs/vc-qos-mib.mib
)
Unlinked OID in HPVCQOS-MIB: vcQoSMIB ::= { virtualConnect 5 }
Undefined identifier: virtualConnect near line 27 of mibs\mibs/vc-qos-mib.mib
Did not find 'zeroDotZero' in module SNMPv2-SMI (mibs\mibs/vc-domain-mib.mib)
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/vc-domain-mib.mib)
Unlinked OID in HPVC-MIB: hp ::= { enterprises 11 }
Undefined identifier: enterprises near line 28 of mibs\mibs/vc-domain-mib.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/brocade-reg-mib.mib)
Unlinked OID in Brocade-REG-MIB: bcsi ::= { enterprises 1588 }
Undefined identifier: enterprises near line 41 of mibs\mibs/brocade-reg-mib.mib
Did not find 'bcsiModules' in module Brocade-REG-MIB (mibs\mibs/brocade-tc.mib)
Unlinked OID in Brocade-TC: bcsiModuleTC ::= { bcsiModules 2 }
Undefined identifier: bcsiModules near line 21 of mibs\mibs/brocade-tc.mib
Did not find 'fcSwitch' in module Brocade-REG-MIB (mibs\mibs/v5_3sw.mib)
Did not find 'bcsiModules' in module Brocade-REG-MIB (mibs\mibs/v5_3sw.mib)
Unlinked OID in SW-MIB: swMibModule ::= { bcsiModules 3 }
Undefined identifier: bcsiModules near line 28 of mibs\mibs/v5_3sw.mib
Unlinked OID in SW-MIB: sw20x0 ::= { fcSwitch 4 }
Undefined identifier: fcSwitch near line 81 of mibs\mibs/v5_3sw.mib
Unlinked OID in SW-MIB: sw21kN24k ::= { fcSwitch 3 }
Undefined identifier: fcSwitch near line 75 of mibs\mibs/v5_3sw.mib
Unlinked OID in SW-MIB: sw28k ::= { fcSwitch 2 }
Undefined identifier: fcSwitch near line 69 of mibs\mibs/v5_3sw.mib
Unlinked OID in SW-MIB: sw ::= { fcSwitch 1 }
Undefined identifier: fcSwitch near line 63 of mibs\mibs/v5_3sw.mib
Did not find 'fibrechannel' in module Brocade-REG-MIB (mibs\mibs/v5_1ha.mib)
Did not find 'swID' in module SW-MIB (mibs\mibs/v5_1ha.mib)
Did not find 'swSsn' in module SW-MIB (mibs\mibs/v5_1ha.mib)
Unlinked OID in HA-MIB: haMIB ::= { fibrechannel 2 }
Undefined identifier: fibrechannel near line 13 of mibs\mibs/v5_1ha.mib
Did not find 'fcSwitch' in module Brocade-REG-MIB (mibs\mibs/v5_0ficon.mib)
Unlinked OID in LINK-INCIDENT-MIB: linkIncidentMIB ::= { fcSwitch 50 }
Undefined identifier: fcSwitch near line 17 of mibs\mibs/v5_0ficon.mib
Did not find 'mgmt' in module RFC1155-SMI (mibs\mibs/svrclu.mib)
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/svrclu.mib)
Unlinked OID in SVRCLU-MIB: dec ::= { enterprises 36 }
Undefined identifier: enterprises near line 50 of mibs\mibs/svrclu.mib
Did not find 'svrCluster' in module SVRCLU-MIB (mibs\mibs/truclu.mib)
Did not find 'svrCluMemberIndex' in module SVRCLU-MIB (mibs\mibs/truclu.mib)
Unlinked OID in TRUCLUSTER-SERVER-MIB: svrUNIXCluster ::= { svrCluster 3 }
Undefined identifier: svrCluster near line 38 of mibs\mibs/truclu.mib
Did not find 'mib-2' in module RFC1213-MIB (mibs\mibs/token.mib)
Unlinked OID in RFC1231-MIB: transmission ::= { mib-2 10 }
Undefined identifier: mib-2 near line 19 of mibs\mibs/token.mib
Did not find 'mib-2' in module RFC1213-MIB (mibs\mibs/rfc1271-mib.mib)
Unlinked OID in RFC1271-MIB: rmon ::= { mib-2 16 }
Undefined identifier: mib-2 near line 14 of mibs\mibs/rfc1271-mib.mib
Did not find 'rmon' in module RFC1271-MIB (mibs\mibs/token-ring-rmon-mib.mib)
Did not find 'statistics' in module RFC1271-MIB (mibs\mibs/token-ring-rmon-mib.m
ib)
Did not find 'history' in module RFC1271-MIB (mibs\mibs/token-ring-rmon-mib.mib)
Unlinked OID in TOKEN-RING-RMON-MIB: tokenRingPHistoryTable ::= { history 4 }
Undefined identifier: history near line 1123 of mibs\mibs/token-ring-rmon-mib.mi
b
Unlinked OID in TOKEN-RING-RMON-MIB: tokenRingMLHistoryTable ::= { history 3 }
Undefined identifier: history near line 731 of mibs\mibs/token-ring-rmon-mib.mib
Unlinked OID in TOKEN-RING-RMON-MIB: tokenRing ::= { rmon 10 }
Undefined identifier: rmon near line 34 of mibs\mibs/token-ring-rmon-mib.mib
Unlinked OID in TOKEN-RING-RMON-MIB: tokenRingPStatsTable ::= { statistics 3 }
Undefined identifier: statistics near line 428 of mibs\mibs/token-ring-rmon-mib.
mib
Unlinked OID in TOKEN-RING-RMON-MIB: tokenRingMLStatsTable ::= { statistics 2 }
Undefined identifier: statistics near line 42 of mibs\mibs/token-ring-rmon-mib.m
ib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/symtrap.mib)
Unlinked OID in SYMTRAP-MIB: symbios ::= { enterprises 1123 }
Undefined identifier: enterprises near line 26 of mibs\mibs/symtrap.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/switch.mib)
Unlinked OID in SnetSwitch-MIB: tandem ::= { enterprises 169 }
Undefined identifier: enterprises near line 85 of mibs\mibs/switch.mib
Did not find 'mgmt' in module RFC1155-SMI (mibs\mibs/svrntc.mib)
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/svrntc.mib)
Unlinked OID in SVRNTCLU-MIB: dec ::= { enterprises 36 }
Undefined identifier: enterprises near line 49 of mibs\mibs/svrntc.mib
Did not find 'mgmt' in module RFC1155-SMI (mibs\mibs/svrmgt.mib)
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/svrmgt.mib)
Unlinked OID in SVRMGT-MIB: dec ::= { enterprises 36 }
Undefined identifier: enterprises near line 25 of mibs\mibs/svrmgt.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/smsagent.mib)
Unlinked OID in SMSAGENT-MIB: unisys ::= { enterprises 223 }
Undefined identifier: enterprises near line 11 of mibs\mibs/smsagent.mib
Did not find 'mib-2' in module RFC1213-MIB (mibs\mibs/rmon2-mib.mib)
Did not find 'ifIndex' in module RFC1213-MIB (mibs\mibs/rmon2-mib.mib)
Did not find 'tokenRing' in module TOKEN-RING-RMON-MIB (mibs\mibs/rmon2-mib.mib)
Did not find 'tokenRingMLStatsEntry' in module TOKEN-RING-RMON-MIB (mibs\mibs/rm
on2-mib.mib)
Did not find 'tokenRingPStatsEntry' in module TOKEN-RING-RMON-MIB (mibs\mibs/rmo
n2-mib.mib)
Did not find 'ringStationControlEntry' in module TOKEN-RING-RMON-MIB (mibs\mibs/
rmon2-mib.mib)
Did not find 'sourceRoutingStatsEntry' in module TOKEN-RING-RMON-MIB (mibs\mibs/
rmon2-mib.mib)
Unlinked OID in RMON2-MIB: rmon ::= { mib-2 16 }
Undefined identifier: mib-2 near line 47 of mibs\mibs/rmon2-mib.mib
Unlinked OID in RMON2-MIB: sourceRoutingStats2Table ::= { tokenRing 8 }
Undefined identifier: tokenRing near line 4953 of mibs\mibs/rmon2-mib.mib
Unlinked OID in RMON2-MIB: ringStationControl2Table ::= { tokenRing 7 }
Undefined identifier: tokenRing near line 4902 of mibs\mibs/rmon2-mib.mib
Did not find 'mgmt' in module RFC1155-SMI (mibs\mibs/rfc1158.mib)
Unlinked OID in RFC1158-MIB: mib-2 ::= { mgmt 1 }
Undefined identifier: mgmt near line 15 of mibs\mibs/rfc1158.mib
Did not find 'mib-2' in module RFC1213-MIB (mibs\mibs/rfc1215.mib)
Did not find 'ifIndex' in module RFC1213-MIB (mibs\mibs/rfc1215.mib)
Did not find 'egpNeighAddr' in module RFC1213-MIB (mibs\mibs/rfc1215.mib)
Unlinked OID in RFC1215-MIB: snmp ::= { mib-2 11 }
Undefined identifier: mib-2 near line 6 of mibs\mibs/rfc1215.mib
Did not find 'mib-2' in module RFC1213-MIB (mibs\mibs/bridge.mib)
Unlinked OID in BRIDGE-MIB: dot1dBridge ::= { mib-2 17 }
Undefined identifier: mib-2 near line 126 of mibs\mibs/bridge.mib
Did not find 'dot1dTp' in module BRIDGE-MIB (mibs\mibs/p-bridge-mib.mib)
Did not find 'dot1dTpPort' in module BRIDGE-MIB (mibs\mibs/p-bridge-mib.mib)
Did not find 'dot1dBridge' in module BRIDGE-MIB (mibs\mibs/p-bridge-mib.mib)
Did not find 'dot1dBasePortEntry' in module BRIDGE-MIB (mibs\mibs/p-bridge-mib.m
ib)
Did not find 'dot1dBasePort' in module BRIDGE-MIB (mibs\mibs/p-bridge-mib.mib)
Unlinked OID in P-BRIDGE-MIB: dot1dTpPortOverflowTable ::= { dot1dTp 6 }
Undefined identifier: dot1dTp near line 674 of mibs\mibs/p-bridge-mib.mib
Unlinked OID in P-BRIDGE-MIB: dot1dTpHCPortTable ::= { dot1dTp 5 }
Undefined identifier: dot1dTp near line 595 of mibs\mibs/p-bridge-mib.mib
Unlinked OID in P-BRIDGE-MIB: pBridgeMIB ::= { dot1dBridge 6 }
Undefined identifier: dot1dBridge near line 19 of mibs\mibs/p-bridge-mib.mib
Did not find 'dot1dBridge' in module BRIDGE-MIB (mibs\mibs/q-bridge.mib)
Did not find 'dot1dBasePortEntry' in module BRIDGE-MIB (mibs\mibs/q-bridge.mib)
Did not find 'dot1dBasePort' in module BRIDGE-MIB (mibs\mibs/q-bridge.mib)
Unlinked OID in Q-BRIDGE-MIB: qBridgeMIB ::= { dot1dBridge 7 }
Undefined identifier: dot1dBridge near line 32 of mibs\mibs/q-bridge.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/radlan-mib.mib)
Did not find 'RowPointer' in module SNMPv2-TC-v1 (mibs\mibs/radlan-mib.mib)
Did not find 'dot1dBasePort' in module BRIDGE-MIB (mibs\mibs/radlan-mib.mib)
Did not find 'dot1dBasePortEntry' in module BRIDGE-MIB (mibs\mibs/radlan-mib.mib
)
Did not find 'dot1qFdbId' in module Q-BRIDGE-MIB (mibs\mibs/radlan-mib.mib)
Unlinked OID in RADLAN-MIB: rnd ::= { enterprises 89 }
Undefined identifier: enterprises near line 166 of mibs\mibs/radlan-mib.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/powernet.mib)
Unlinked OID in PowerNet-MIB: apc ::= { enterprises 318 }
Undefined identifier: enterprises near line 23 of mibs\mibs/powernet.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/pfc.mib)
Did not find 'mgmt' in module RFC1155-SMI (mibs\mibs/pfc.mib)
Unlinked OID in PATROL-MIB: bmc ::= { enterprises 1031 }
Undefined identifier: enterprises near line 20 of mibs\mibs/pfc.mib
Unlinked OID in PATROL-MIB: mib-2 ::= { mgmt 1 }
Undefined identifier: mgmt near line 17 of mibs\mibs/pfc.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/pcisnet.mib)
Unlinked OID in ServerNetPCI-MIB: tandem ::= { enterprises 169 }
Undefined identifier: enterprises near line 112 of mibs\mibs/pcisnet.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/parselog.mib)
Unlinked OID in HPNSASEL-MIB: hp ::= { enterprises 11 }
Undefined identifier: enterprises near line 54 of mibs\mibs/parselog.mib
Did not find 'tcpConnLocalAddress' in module RFC1213-MIB (mibs\mibs/old-cisco-tc
p.mib)
Did not find 'tcpConnLocalPort' in module RFC1213-MIB (mibs\mibs/old-cisco-tcp.m
ib)
Did not find 'tcpConnRemAddress' in module RFC1213-MIB (mibs\mibs/old-cisco-tcp.
mib)
Did not find 'tcpConnRemPort' in module RFC1213-MIB (mibs\mibs/old-cisco-tcp.mib
)
Did not find 'ipAdEntAddr' in module RFC1213-MIB (mibs\mibs/old-cisco-ip.mib)
Did not find 'ipRouteDest' in module RFC1213-MIB (mibs\mibs/old-cisco-ip.mib)
Did not find 'ifIndex' in module RFC1213-MIB (mibs\mibs/old-cisco-interfaces.mib
)
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/nwserver.mib)
Unlinked OID in NetWare-Server-MIB: novell ::= { enterprises 23 }
Undefined identifier: enterprises near line 23 of mibs\mibs/nwserver.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/nwalarm.mib)
Unlinked OID in NetWare-Server-Alarm-MIB: novell ::= { enterprises 23 }
Undefined identifier: enterprises near line 22 of mibs\mibs/nwalarm.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/nsnicmib.mib)
Unlinked OID in NSNICMIB-MIB: hp ::= { enterprises 11 }
Undefined identifier: enterprises near line 236 of mibs\mibs/nsnicmib.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/nsavolcp.mib)
Unlinked OID in HPNSASTORAGECAP-MIB: hp ::= { enterprises 11 }
Undefined identifier: enterprises near line 73 of mibs\mibs/nsavolcp.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/nsatrmgr.mib)
Unlinked OID in HPNSATRAPMNGR-MIB: hp ::= { enterprises 11 }
Undefined identifier: enterprises near line 75 of mibs\mibs/nsatrmgr.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/nsatrcfg.mib)
Unlinked OID in HPNSATRAPCFG-MIB: hp ::= { enterprises 11 }
Undefined identifier: enterprises near line 44 of mibs\mibs/nsatrcfg.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/nsascsi.mib)
Unlinked OID in HPNSASCSI-MIB: hp ::= { enterprises 11 }
Undefined identifier: enterprises near line 84 of mibs\mibs/nsascsi.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/nsarps.mib)
Unlinked OID in HPNSARPS-MIB: hp ::= { enterprises 11 }
Undefined identifier: enterprises near line 20 of mibs\mibs/nsarps.mib
Expected "(" (_): At line 356 in mibs\mibs/nsapci.mib
Should be ACCESS (Computer): At line 356 in mibs\mibs/nsapci.mib
Bad parse of OBJECT-TYPE: At line 356 in mibs\mibs/nsapci.mib
Expected "(" (_): At line 282 in mibs\mibs/nsainfo.mib
Should be ACCESS (Vectra): At line 282 in mibs\mibs/nsainfo.mib
Bad parse of OBJECT-TYPE: At line 282 in mibs\mibs/nsainfo.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/nsaevent.mib)
Unlinked OID in HPNSAEVENT-MIB: hp ::= { enterprises 11 }
Undefined identifier: enterprises near line 119 of mibs\mibs/nsaevent.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/nsadimm.mib)
Unlinked OID in HPNSADIMM-MIB: hp ::= { enterprises 11 }
Undefined identifier: enterprises near line 66 of mibs\mibs/nsadimm.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/nsaasr.mib)
Unlinked OID in HPNSAASR-MIB: hp ::= { enterprises 11 }
Undefined identifier: enterprises near line 42 of mibs\mibs/nsaasr.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/ndstrap.mib)
Unlinked OID in Novell-Directory-Services-Trap-MIB: novell ::= { enterprises 23
}
Undefined identifier: enterprises near line 18 of mibs\mibs/ndstrap.mib
Did not find 'experimental' in module RFC1155-SMI (mibs\mibs/fa-mib40.mib)
Unlinked OID in FCMGMT-MIB: fcmgmt ::= { experimental 94 }
Undefined identifier: experimental near line 69 of mibs\mibs/fa-mib40.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/msa2000traps.mib)
Did not find 'connUnitEventId' in module FCMGMT-MIB (mibs\mibs/msa2000traps.mib)
Did not find 'connUnitEventType' in module FCMGMT-MIB (mibs\mibs/msa2000traps.mi
b)
Did not find 'connUnitEventDescr' in module FCMGMT-MIB (mibs\mibs/msa2000traps.m
ib)
Unlinked OID in MSA2000TRAPS-MIB: hp ::= { enterprises 11 }
Undefined identifier: enterprises near line 45 of mibs\mibs/msa2000traps.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/mlxraid.mib)
Unlinked OID in MYLEXRAID-MIB: mylex ::= { enterprises 1608 }
Undefined identifier: enterprises near line 22 of mibs\mibs/mlxraid.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/lsf001.mib)
Unlinked OID in LSF-SNMP-MIB: platform ::= { enterprises 2766 }
Undefined identifier: enterprises near line 12 of mibs\mibs/lsf001.mib
Undefined OBJECT-GROUP (ifGeneralInformationGroup): At line 1960 in mibs\mibs/ll
dp-v2-mib.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/le_hsv_300.mib)
Unlinked OID in CPQHSV300V11-MIB: compaq ::= { enterprises 232 }
Undefined identifier: enterprises near line 39 of mibs\mibs/le_hsv_300.mib
Expected "(" (_): At line 2139 in mibs\mibs/ibrixMib.mib
Should be ACCESS (fwUpdateBegin): At line 2139 in mibs\mibs/ibrixMib.mib
Bad parse of OBJECT-TYPE: At line 2139 in mibs\mibs/ibrixMib.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/ums.mib)
Unlinked OID in UMS-MIB: ibm ::= { enterprises 2 }
Undefined identifier: enterprises near line 10 of mibs\mibs/ums.mib
Did not find 'director' in module UMS-MIB (mibs\mibs/ibmumsevent.mib)
Did not find 'ibmpsg' in module UMS-MIB (mibs\mibs/ibmumsevent.mib)
Did not find 'ibmpsgEvent' in module UMS-MIB (mibs\mibs/ibmumsevent.mib)
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 2028 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1960 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1893 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1827 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1761 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1686 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1611 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1535 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1469 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1402 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1335 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1269 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1204 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1139 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1073 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 1007 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 939 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 873 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 807 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 741 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 676 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 611 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 544 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 479 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 408 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 343 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 276 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 212 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 145 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: ibmpsg# ::= { ibmpsg 0 }
Undefined identifier: ibmpsg near line 78 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGGenericVoltageEventBindings ::= { ibmpsgEven
t 32 }
Undefined identifier: ibmpsgEvent near line 1963 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGGenericFanEventBindings ::= { ibmpsgEvent 31
}
Undefined identifier: ibmpsgEvent near line 1896 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGDASDBackplaneEventBindings ::= { ibmpsgEvent
30 }
Undefined identifier: ibmpsgEvent near line 1830 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGSPPowerSupplyEventBindings ::= { ibmpsgEvent
29 }
Undefined identifier: ibmpsgEvent near line 1764 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGNetworkAdapterOnlineEventBindings ::= { ibmp
sgEvent 28 }
Undefined identifier: ibmpsgEvent near line 1689 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGNetworkAdapterOfflineEventBindings ::= { ibm
psgEvent 27 }
Undefined identifier: ibmpsgEvent near line 1614 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGNetworkAdapterFailedEventBindings ::= { ibmp
sgEvent 26 }
Undefined identifier: ibmpsgEvent near line 1538 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGRemoteLoginEventBindings ::= { ibmpsgEvent 2
5 }
Undefined identifier: ibmpsgEvent near line 1472 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGErrorLogEventBindings ::= { ibmpsgEvent 24 }
Undefined identifier: ibmpsgEvent near line 1405 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGPowerSupplyEventBindings ::= { ibmpsgEvent 2
3 }
Undefined identifier: ibmpsgEvent near line 1338 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGPFAEventBindings ::= { ibmpsgEvent 22 }
Undefined identifier: ibmpsgEvent near line 1272 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGMemoryPFEventBindings ::= { ibmpsgEvent 19 }
Undefined identifier: ibmpsgEvent near line 1207 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGProcessorPFEventBindings ::= { ibmpsgEvent 1
8 }
Undefined identifier: ibmpsgEvent near line 1142 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGRedundantNICSwitchbackEventBindings ::= { ib
mpsgEvent 17 }
Undefined identifier: ibmpsgEvent near line 1076 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGRedundantNICSwitchoverEventBindings ::= { ib
mpsgEvent 16 }
Undefined identifier: ibmpsgEvent near line 1010 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGRedundantNICEventBindings ::= { ibmpsgEvent
15 }
Undefined identifier: ibmpsgEvent near line 942 of mibs\mibs/ibmumsevent.mib
Unlinked OID in UMSEVENT-MIB: iBMPSGWarrantyExpirationEventBindings ::= { ibmpsg
)
Unlinked OID in CPQHSV360V11-MIB: compaq ::= { enterprises 232 }
Undefined identifier: enterprises near line 39 of mibs\mibs/ashcroft_hsv_360.mib
< Truncated as too long >
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/ashcroft_hsv_340.mib
)
Unlinked OID in CPQHSV340V11-MIB: compaq ::= { enterprises 232 }
Undefined identifier: enterprises near line 39 of mibs\mibs/ashcroft_hsv_340.mib
Did not find 'enterprises' in module RFC1155-SMI (mibs\mibs/adaptec.mib)
Unlinked OID in CYCLONE-MIB: adaptec ::= { enterprises 795 }
Undefined identifier: enterprises near line 22 of mibs\mibs/adaptec.mib
CPQIDA-MIB::cpqDa7PhyDrvStatusChange
cpqDa7PhyDrvStatusChange OBJECT-TYPE
-- FROM CPQIDA-MIB
OBJECTS { sysName, cpqHoTrapFlags, cpqDaCntlrHwLocation, cpqDaPhyDrvCntl
rIndex, cpqDaPhyDrvIndex, cpqDaPhyDrvLocationString, cpqDaPhyDrvType, cpqDaPhyDr
vModel, cpqDaPhyDrvFWRev, cpqDaPhyDrvSerialNum, cpqDaPhyDrvFailureCode, cpqDaPhy
DrvStatus, cpqDaPhyDrvBusNumber }
DESCRIPTION "Physical Drive Status Change.
This trap signifies that the agent has detected a change in the status of a drive array physical drive. The variable cpaDaPhyDrvStatus indicates the current physical drive status.
User Action: If cpaDaPhyDrvStatus is 'failed(3)','predictiveFailure(4)', 'ssdWearOut(8)', or 'notAuthenticated(9)',replace the drive." ::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) compaq(232) compaq#(0) 3046 }

Looks like you're missing the default MIBs and it cannot fully build the tree.

Related

Error when using mode.generate() from Transformers - TypeError: forward() got an unexpected keyword argument 'return_dict'

I am trying to perform inference with a finetuned GPT2HeadWithValueModel from the Transformers library. I'm using the model.generate() method from generation_utils.py
I am using this function to call the generate() method:
def top_p_sampling(text, model, tokenizer):
encoding = tokenizer(text, return_tensors="pt")['input_ids']
output_tensor = model.generate(
encoding,
do_sample=True,
max_length=max_len,
top_k=50,
top_p= .92,
temperature= .9,
early_stopping=False)
return tokenizer.decode(output_tensor[0], skip_special_tokens=True).strip()
But when i try:
text = "this is an example of input text"
comp = top_p_sampling(text, model_name, tokenizer_name)
I get the following error:
TypeError: forward() got an unexpected keyword argument 'return_dict'
Full traceback:
TypeError Traceback (most recent call last)
<ipython-input-24-cc7c3f8aa367> in <module>()
1 text = "this is an example of input text"
----> 2 comp = top_p_sampling(text, model_name, tokenizer_name)
4 frames
<ipython-input-23-a5241487f309> in top_p_sampling(text, model, tokenizer)
9 temperature=temp,
10 early_stopping=False,
---> 11 return_dict=False)
12
13 return tokenizer.decode(output_tensor[0], skip_special_tokens=True).strip()
/usr/local/lib/python3.7/dist-packages/torch/autograd/grad_mode.py in decorate_context(*args, **kwargs)
26 def decorate_context(*args, **kwargs):
27 with self.__class__():
---> 28 return func(*args, **kwargs)
29 return cast(F, decorate_context)
30
/usr/local/lib/python3.7/dist-packages/transformers/generation_utils.py in generate(self, input_ids, max_length, min_length, do_sample, early_stopping, num_beams, temperature, top_k, top_p, repetition_penalty, bad_words_ids, bos_token_id, pad_token_id, eos_token_id, length_penalty, no_repeat_ngram_size, encoder_no_repeat_ngram_size, num_return_sequences, decoder_start_token_id, use_cache, num_beam_groups, diversity_penalty, prefix_allowed_tokens_fn, output_attentions, output_hidden_states, output_scores, return_dict_in_generate, **model_kwargs)
938 output_scores=output_scores,
939 return_dict_in_generate=return_dict_in_generate,
--> 940 **model_kwargs,
941 )
942
/usr/local/lib/python3.7/dist-packages/transformers/generation_utils.py in sample(self, input_ids, logits_processor, logits_warper, max_length, pad_token_id, eos_token_id, output_attentions, output_hidden_states, output_scores, return_dict_in_generate, **model_kwargs)
1383 return_dict=True,
1384 output_attentions=output_attentions,
-> 1385 output_hidden_states=output_hidden_states,
1386 )
1387 next_token_logits = outputs.logits[:, -1, :]
/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
1100 if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
1101 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1102 return forward_call(*input, **kwargs)
1103 # Do not call functions when jit is used
1104 full_backward_hooks, non_full_backward_hooks = [], []
TypeError: forward() got an unexpected keyword argument 'return_dict'
I'm a bit of a rookie, so I hope someone can point out what I'm doing wrong. Thanks a lot

snmpwalk: Cannot find module

I searched intensively and applied available solutions from google, all these solution did not fixed the problem. I keep getting the error messages when running the command snmpwalk on the Ubuntu OS which is using net-snmp. The following is the error messages I am getting. Can you please assist me how to address the following error messages?
Ideally, I want to do the snmpwalk on all my mibs folder using the following command, which is not working.
$ snmpwalk -v2c -c PUBLIC 192.168.10.10 -M /my_MIB_Files/
I thought may be abc.mib is using other mib files. To remove the dependencies, I tries following solutions, but none was working:
Provided my mibs folder in the /etc/snmp/snmp.conf file such as:
mibs +/my_mibs_files/
mibs +ALL
provided the +/my_mibs_files/ as an parameter with snmpwalk like:
snmpwalk -v2c -c PUBLIC 192.168.10.10 -M /my_mibs_files/ -m /my_mibs_files/abc.mib
I am getting the following error messages:
$ snmpwalk -v2c -c PUBLIC 192.168.10.10 -m /my_MIB_Files/abc.mib
MIB search path: /home/user/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (SNMPv2-SMI): At line 13 in /my_MIB_Files/abc.mib
NEW ISSUES NOW AFTER PLACING THE MISSING MODULE IN /usr/share/snmp/mibs:
Attempt to define a root oid (iso): At
line 6 in /usr/share/snmp/mibs/SNMPv2-SMI.mib Bad parse of OBJECT
IDENTIFIER: At line 6 in /usr/share/snmp/mibs/SNMPv2-SMI.mib Did
not find 'mib-2' in module SNMPv2-SMI
(/usr/share/snmp/mibs/RMON-MIB.txt) Unlinked OID in RMON-MIB: rmon
::= { mib-2 16 } Undefined identifier: mib-2 near line 88 of
/usr/share/snmp/mibs/RMON-MIB.txt MIB search path:
/home/user/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (TOKEN-RING-RMON-MIB): At line 15 in
/usr/share/snmp/mibs/RMON2-MIB.mib Did not find 'statistics' in
module RMON-MIB (/usr/share/snmp/mibs/RMON2-MIB.mib) Did not find
'history' in module RMON-MIB (/usr/share/snmp/mibs/RMON2-MIB.mib)
Did not find 'hosts' in module RMON-MIB
(/usr/share/snmp/mibs/RMON2-MIB.mib) Did not find 'matrix' in
module RMON-MIB (/usr/share/snmp/mibs/RMON2-MIB.mib) Did not find
'filter' in module RMON-MIB (/usr/share/snmp/mibs/RMON2-MIB.mib)
Did not find 'etherStatsEntry' in module RMON-MIB
(/usr/share/snmp/mibs/RMON2-MIB.mib) Did not find
'historyControlEntry' in module RMON-MIB
(/usr/share/snmp/mibs/RMON2-MIB.mib) Did not find
'hostControlEntry' in module RMON-MIB
(/usr/share/snmp/mibs/RMON2-MIB.mib) Did not find
'matrixControlEntry' in module RMON-MIB
(/usr/share/snmp/mibs/RMON2-MIB.mib) Did not find 'filterEntry'
in module RMON-MIB (/usr/share/snmp/mibs/RMON2-MIB.mib) Did not
find 'channelEntry' in module RMON-MIB
(/usr/share/snmp/mibs/RMON2-MIB.mib) Did not find 'tokenRing' in
module #-1 (/usr/share/snmp/mibs/RMON2-MIB.mib) Did not find
'tokenRingMLStatsEntry' in module #-1
(/usr/share/snmp/mibs/RMON2-MIB.mib) Did not find
'tokenRingPStatsEntry' in module #-1
(/usr/share/snmp/mibs/RMON2-MIB.mib) Did not find
'ringStationControlEntry' in module #-1
(/usr/share/snmp/mibs/RMON2-MIB.mib) Did not find
'sourceRoutingStatsEntry' in module #-1
(/usr/share/snmp/mibs/RMON2-MIB.mib) Unlinked OID in RMON2-MIB:
filter2Table ::= { filter 4 } Undefined identifier: filter near line
5432 of /usr/share/snmp/mibs/RMON2-MIB.mib Unlinked OID in
RMON2-MIB: channel2Table ::= { filter 3 } Undefined identifier: filter
near line 5152 of /usr/share/snmp/mibs/RMON2-MIB.mib Unlinked OID
in RMON2-MIB: historyControl2Table ::= { history 5 } Undefined
identifier: history near line 4993 of
/usr/share/snmp/mibs/RMON2-MIB.mib Unlinked OID in RMON2-MIB:
matrixControl2Table ::= { matrix 4 } Undefined identifier: matrix near
line 5095 of /usr/share/snmp/mibs/RMON2-MIB.mib Unlinked OID in
RMON2-MIB: hostControl2Table ::= { hosts 4 } Undefined identifier:
hosts near line 5038 of /usr/share/snmp/mibs/RMON2-MIB.mib
Unlinked OID in RMON2-MIB: tokenRingPStats2Table ::= { statistics 6 }
Undefined identifier: statistics near line 5265 of
/usr/share/snmp/mibs/RMON2-MIB.mib Unlinked OID in RMON2-MIB:
tokenRingMLStats2Table ::= { statistics 5 } Undefined identifier:
statistics near line 5209 of /usr/share/snmp/mibs/RMON2-MIB.mib
Unlinked OID in RMON2-MIB: etherStats2Table ::= { statistics 4 }
Undefined identifier: statistics near line 4936 of
/usr/share/snmp/mibs/RMON2-MIB.mib Unlinked OID in RMON2-MIB:
sourceRoutingStats2Table ::= { tokenRing 8 } Undefined identifier:
tokenRing near line 5376 of /usr/share/snmp/mibs/RMON2-MIB.mib
Unlinked OID in RMON2-MIB: ringStationControl2Table ::= { tokenRing 7
} Undefined identifier: tokenRing near line 5321 of
/usr/share/snmp/mibs/RMON2-MIB.mib Did not find 'snmpModules' in
module SNMPv2-SMI (/usr/share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt)
Unlinked OID in SNMP-FRAMEWORK-MIB: snmpFrameworkMIB ::= { snmpModules
10 } Undefined identifier: snmpModules near line 10 of
/usr/share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt Did not find 'mib-2'
in module SNMPv2-SMI
(/usr/share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt)
Unlinked OID in IANA-ADDRESS-FAMILY-NUMBERS-MI B:
ianaAddressFamilyNumbers ::= { mib-2 72 } Undefined identifier:
mib-2 near line 8 of
/usr/share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt Did not
find 'snmpModules' in module SNMPv2-SMI
(/usr/share/snmp/mibs/SNMPv2-MIB.txt) Did not find 'mib-2' in
module SNMPv2-SMI (/usr/share/snmp/mibs/SNMPv2-MIB.txt) Unlinked
OID in SNMPv2-MIB: snmp ::= { mib-2 11 } Undefined identifier: mib-2
near line 262 of /usr/share/snmp/mibs/SNMPv2-MIB.txt Unlinked OID
in SNMPv2-MIB: system ::= { mib-2 1 } Undefined identifier: mib-2
near line 75 of /usr/share/snmp/mibs/SNMPv2-MIB.txt Unlinked OID
in SNMPv2-MIB: snmpMIB ::= { snmpModules 1 } Undefined identifier:
snmpModules near line 13 of /usr/share/snmp/mibs/SNMPv2-MIB.txt
Did not find 'mib-2' in module SNMPv2-SMI
(/usr/share/snmp/mibs/IANAifType-MIB.txt) Unlinked OID in
IANAifType-MIB: ianaifType ::= { mib-2 30 } Undefined identifier:
mib-2 near line 7 of /usr/share/snmp/mibs/IANAifType-MIB.txt Did
not find 'mib-2' in module SNMPv2-SMI
(/usr/share/snmp/mibs/IF-MIB.txt) Did not find 'snmpTraps' in
module SNMPv2-MIB (/usr/share/snmp/mibs/IF-MIB.txt) Unlinked OID
in IF-MIB: interfaces ::= { mib-2 2 } Undefined identifier: mib-2
near line 48 of /usr/share/snmp/mibs/IF-MIB.txt Unlinked OID in
IF-MIB: ifMIB ::= { mib-2 31 } Undefined identifier: mib-2 near line
15 of /usr/share/snmp/mibs/IF-MIB.txt Unlinked OID in IF-MIB:
linkUp ::= { snmpTraps 4 } Undefined identifier: snmpTraps near line
1118 of /usr/share/snmp/mibs/IF-MIB.txt Unlinked OID in IF-MIB:
linkDown ::= { snmpTraps 3 } Undefined identifier: snmpTraps near line
1106 of /usr/share/snmp/mibs/IF-MIB.txt Cannot find module
(LLDP-EXT-DOT1-MIB): At line 28 in /MIB_Files/fslldp.mib Cannot
find module (LLDP-EXT-DOT3-MIB): At line 31 in /MIB_Files/fslldp.mib
Cannot find module (LLDP-V2-TC-MIB): At line 33 in
/MIB_Files/fslldp.mib Cannot find module (LLDP-V2-MIB): At line
35 in /MIB_Files/fslldp.mib Did not find 'mib-2' in module
SNMPv2-SMI (/usr/share/snmp/mibs/INET-ADDRESS-MIB.txt) Unlinked
OID in INET-ADDRESS-MIB: inetAddressMIB ::= { mib-2 76 } Undefined
identifier: mib-2 near line 7 of
/usr/share/snmp/mibs/INET-ADDRESS-MIB.txt Bad operator (:): At
line 921 in /MIB_Files/fslldp.mib Cannot adopt OID in SNMPv2-MIB:
snmpMIBGroups ::= { snmpMIBConformance 2 } Cannot adopt OID in
SNMPv2-MIB: snmpMIBCompliances ::= { snmpMIBConformance 1 }
Cannot adopt OID in RMON2-MIB: sourceRoutingStats2Entry ::= {
sourceRoutingStats2Table 1 } Cannot adopt OID in SNMPv2-MIB:
snmpBasicComplianceRev2 ::= { snmpMIBCompliances 3 } Cannot adopt
OID in SNMPv2-MIB: snmpBasicCompliance ::= { snmpMIBCompliances 2 }
Cannot adopt OID in SNMPv2-MIB: snmpSetSerialNo ::= { snmpSet 1 }
Cannot adopt OID in SNMP-FRAMEWORK-MIB: snmpPrivProtocols ::= {
snmpFrameworkAdmin 2 } Cannot adopt OID in SNMP-FRAMEWORK-MIB:
snmpAuthProtocols ::= { snmpFrameworkAdmin 1 } Cannot adopt OID
in SNMPv2-MIB: snmpObsoleteGroup ::= { snmpMIBGroups 10 } Cannot
adopt OID in SNMPv2-MIB: snmpNotificationGroup ::= { snmpMIBGroups 12
} Cannot adopt OID in SNMPv2-MIB: snmpWarmStartNotificationGroup
::= { snmpMIBGroups 11 } Cannot adopt OID in SNMPv2-MIB:
snmpBasicNotificationsGroup ::= { snmpMIBGroups 7 } Cannot adopt
OID in SNMPv2-MIB: systemGroup ::= { snmpMIBGroups 6 } Cannot
adopt OID in SNMPv2-MIB: snmpSetGroup ::= { snmpMIBGroups 5 }
Cannot adopt OID in SNMPv2-MIB: snmpCommunityGroup ::= { snmpMIBGroups
9 } Cannot adopt OID in SNMPv2-MIB: snmpGroup ::= { snmpMIBGroups
8 } Cannot adopt OID in RMON2-MIB: ringStationControlCreateTime
::= { ringStationControl2Entry 2 } Cannot adopt OID in RMON2-MIB:
ringStationControlDroppedFrames ::= { ringStationControl2Entry 1 }
Cannot adopt OID in RMON2-MIB: sourceRoutingStatsCreateTime ::= {
sourceRoutingStats2Entry 2 } Cannot adopt OID in RMON2-MIB:
sourceRoutingStatsDroppedFrames ::= { sourceRoutingStats2Entry 1 }
Cannot adopt OID in SNMP-FRAMEWORK-MIB: snmpEngine ::= {
snmpFrameworkMIBObjects 1 } Cannot adopt OID in
SNMP-FRAMEWORK-MIB: snmpEngineMaxMessageSize ::= { snmpEngine 4 }
Cannot adopt OID in SNMP-FRAMEWORK-MIB: snmpEngineTime ::= {
snmpEngine 3 } Cannot adopt OID in SNMP-FRAMEWORK-MIB:
snmpEngineBoots ::= { snmpEngine 2 } Cannot adopt OID in
SNMP-FRAMEWORK-MIB: snmpEngineID ::= { snmpEngine 1 } Cannot adopt
OID in SNMPv2-MIB: snmpMIB ::= { snmpModules 1 } Cannot adopt OID
in SNMP-FRAMEWORK-MIB: snmpFrameworkMIB ::= { snmpModules 10 }
Cannot adopt OID in SNMP-FRAMEWORK-MIB: snmpFrameworkMIBConformance
::= { snmpFrameworkMIB 3 } Cannot adopt OID in SNMP-FRAMEWORK-MIB:
snmpFrameworkMIBObjects ::= { snmpFrameworkMIB 2 } Cannot adopt
OID in SNMP-FRAMEWORK-MIB: snmpFrameworkAdmin ::= { snmpFrameworkMIB 1
} Cannot adopt OID in SNMP-FRAMEWORK-MIB: snmpFrameworkMIBGroups
::= { snmpFrameworkMIBConformance 2 } Cannot adopt OID in
SNMP-FRAMEWORK-MIB: snmpFrameworkMIBCompliances ::= {
snmpFrameworkMIBConformance 1 } Cannot adopt OID in RMON2-MIB:
ringStationControl2Table ::= { tokenRing 7 } Cannot adopt OID in
RMON2-MIB: sourceRoutingStats2Table ::= { tokenRing 8 } Cannot
adopt OID in SNMP-FRAMEWORK-MIB: snmpFrameworkMIBCompliance ::= {
snmpFrameworkMIBCompliances 1 } Cannot adopt OID in SNMPv2-MIB:
snmpSet ::= { snmpMIBObjects 6 } Cannot adopt OID in SNMPv2-MIB:
snmpTraps ::= { snmpMIBObjects 5 } Cannot adopt OID in SNMPv2-MIB:
snmpTrap ::= { snmpMIBObjects 4 } Cannot adopt OID in
SNMP-FRAMEWORK-MIB: snmpEngineGroup ::= { snmpFrameworkMIBGroups 1
} Cannot adopt OID in IF-MIB: linkDown ::= { snmpTraps 3 }
Cannot adopt OID in IF-MIB: linkUp ::= { snmpTraps 4 } Cannot
adopt OID in SNMPv2-MIB: authenticationFailure ::= { snmpTraps 5 }
Cannot adopt OID in SNMPv2-MIB: warmStart ::= { snmpTraps 2 }
Cannot adopt OID in SNMPv2-MIB: coldStart ::= { snmpTraps 1 }
Cannot adopt OID in RMON2-MIB: ringStationControl2Entry ::= {
ringStationControl2Table 1 } Cannot adopt OID in SNMPv2-MIB:
snmpTrapEnterprise ::= { snmpTrap 3 } Cannot adopt OID in
SNMPv2-MIB: snmpTrapOID ::= { snmpTrap 1 } Cannot adopt OID in
SNMPv2-MIB: snmpMIBConformance ::= { snmpMIB 2 } Cannot adopt OID
in SNMPv2-MIB: snmpMIBObjects ::= { snmpMIB 1 }
The solution to the above errors is the execution of the following commands:
sudo apt-get install snmp-mibs-downloader

Crash on Xcode Run

i run project that imported from Unity3D.
then at XCode i try to run to my iPad.
Apps can builded and installed but when running it crash (sometime just blank screen).
at Xcode i got below error, but i dont understand what these error means ?
CrashReporter: initialized
2018-10-23 11:11:36.341 flashcards[318:26427] -> registered mono modules 0x1ee2e00
-> applicationDidFinishLaunching()
2018-10-23 11:11:37.789 flashcards[318:26427] Metal GPU Frame Capture Enabled
2018-10-23 11:11:37.790 flashcards[318:26427] Metal API Validation Disabled
-> applicationDidBecomeActive()
Renderer: PowerVR SGX 543
Vendor: Imagination Technologies
Version: OpenGL ES 2.0 IMGSGX543-124.1
GLES: 2
GL_OES_depth_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_draw_instanced GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sRGB GL_EXT_texture_filter_anisotropic GL_EXT_texture_rg GL_EXT_texture_storage GL_APPLE_clip_distance GL_APPLE_color_buffer_packed_float GL_APPLE_copy_texture_levels GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_sync GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_APPLE_texture_packed_float GL_IMG_read_format GL_IMG_texture_comp
ression_pvrtc
OPENGL LOG: Creating OpenGL ES 2.0 graphics device ; Context level <OpenGL ES 2.0> ; Context handle 359353072
Initialize engine version: 2017.4.8f1 (5ab7f4878ef1)
WARNING: 0:4: extension 'GL_EXT_frag_depth' is not supported
ERROR: 0:38: Use of undeclared identifier 'gl_FragDepthEXT'
Note: Creation of internal variant of shader 'Hidden/Internal-MotionVectors' failed.
WARNING: Shader Unsupported: 'Hidden/Internal-MotionVectors' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/Internal-MotionVectors' - Setting to default shader.
WARNING: Shader Unsupported: 'Hidden/BlitToDepth' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/BlitToDepth' - Setting to default shader.
WARNING: Shader Unsupported: 'Hidden/BlitToDepth_MSAA' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/BlitToDepth_MSAA' - Setting to default shader.
WARNING: 0:4: extension 'GL_EXT_frag_depth' is not supported
ERROR: 0:14: Use of undeclared identifier 'gl_FragDepthEXT'
Note: Creation of internal variant of shader 'Hidden/BlitCopyWithDepth' failed.
WARNING: Shader Unsupported: 'Hidden/BlitCopyWithDepth' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/BlitCopyWithDepth' - Setting to default shader.
The referenced script on this Behaviour (Game Object 'Scene Variables') is missing!
(Filename: Line: 1758)
The referenced script on this Behaviour (Game Object 'Scene Variables') is missing!
(Filename: Line: 1758)
The referenced script on this Behaviour (Game Object 'IAPManager') is missing!
(Filename: Line: 1758)
The referenced script on this Behaviour (Game Object 'IAPManager') is missing!
(Filename: Line: 1758)
The referenced script on this Behaviour (Game Object 'IAPManager') is missing!
(Filename: Line: 1758)
UnloadTime: 9.446791 ms
2018-10-23 11:11:45.250 flashcards[318:26427] *** Assertion failure in -[UnityDefaultViewController supportedInterfaceOrientations], /Users/mac/Downloads/snowy_eng_ios_noads/Classes/UI/UnityViewControllerBase+iOS.mm:93
2018-10-23 11:11:48.218 flashcards[318:26427] Uncaught exception: NSInternalInconsistencyException: UnityDefaultViewController should be used only if unity is set to autorotate
(
0 CoreFoundation 0x20a37933 <redacted> + 150
1 libobjc.A.dylib 0x201d2e17 objc_exception_throw + 38
2 CoreFoundation 0x20a377f1 <redacted> + 0
3 Foundation 0x2121b529 <redacted> + 92
4 flashcards 0x0008849f -[UnityDefaultViewController supportedInterfaceOrientations] + 302
5 flashcards 0x000a2ce3 -[UnityAppController application:supportedInterfaceOrientationsForWindow:] + 174
6 flashcards 0x0128d0f8 GADiTunesMetadataForFileAtPath + 12068
7 flashcards 0x01348570 GADODiskUsageStatisticsWithError + 3488
8 flashcards 0x0134848c GADODiskUsageStatisticsWithError + 3260
9 flashcards 0x01252f84 GADOCategories_NSArray_GADOJSONAdditions + 15060
10 flashcards 0x013112cc GADODispatchAsyncSafeMainQueue + 64
11 flashcards 0x01252e40 GADOCategories_NSArray_GADOJSONAdditions + 14736
12 flashcards 0x01143531 -[GADURewardBasedVideoAd loadRequest:withAdUnitID:] + 78
13 flashcards 0x011403ff GADURequestRewardBasedVideoAd + 76
14 flashcards 0x00278c4d RewardBasedVideoAdClient_LoadAd_m483440913 + 34
15 flashcards 0x0026c8ab RewardBasedVideoAd_LoadAd_m4208741079 + 90
16 flashcards 0x0023bdaf z_reward_ads_Start_m1587933392 + 102
17 flashcards 0x010f0ce5 _Z31RuntimeInvoker_Void_t1185182177PFvvEPK10MethodInfoPvPS4_ + 10
18 flashcards 0x01d66793 _ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException + 118
19 flashcards 0x016d91b3 _Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb + 66
20 flashcards 0x016dffdd _ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb + 38
21 flashcards 0x016e4a73 _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtrP21ScriptingExceptionPtr + 1198
22 flashcards 0x016e4bd1 _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtr + 46
23 flashcards 0x016e3f3d _ZN13MonoBehaviour16DelayedStartCallEP6ObjectPv + 46
24 flashcards 0x01578339 _ZN18DelayedCallManager6UpdateEi + 430
25 flashcards 0x0162b699 _Z10PlayerLoopv + 520
26 flashcards 0x0147fb0d _ZL19UnityPlayerLoopImplb + 22
27 flashcards 0x000915c5 UnityRepaint + 220
28 flashcards 0x0009147d -[UnityAppController(Rendering) repaintDisplayLink] + 76
29 libMTLInterpose.dylib 0x05cec865 -[DYDisplayLinkInterposer forwardDisplayLinkCallback:] + 276
30 QuartzCore 0x23093a0b <redacted> + 106
31 QuartzCore 0x23093857 <redacted> + 594
32 IOMobileFramebuffer 0x2277a50b <redacted> + 86
33 IOKit 0x20c88759 IODispatchCalloutFromCFMessage + 256
34 CoreFoundation 0x209e637d <redacted> + 132
35 CoreFoundation 0x209fa5b3 <redacted> + 34
36 CoreFoundation 0x209f9cc7 <redacted> + 342
37 CoreFoundation 0x209f80d9 <redacted> + 1688
38 CoreFoundation 0x20947229 CFRunLoopRunSpecific + 520
39 CoreFoundation 0x20947015 CFRunLoopRunInMode + 108
40 GraphicsServices 0x21f37ac9 GSEventRunModal + 160
41 UIKit 0x2501b189 UIApplicationMain + 144
42 flashcards 0x00087f9f main + 206
43 libdyld.dylib 0x205ef873 <redacted> + 2
and i got exception at here :
gsCrashReporterUEHandler NSUncaughtExceptionHandler * (flashcards`uncaught_exception_handler) 0x01bf1a38
any idea, what error i found here ?
In your crash log I can see this error:
Uncaught exception: NSInternalInconsistencyException: UnityDefaultViewController should be used only if unity is set to autorotate.
This means Unity should set Screen.orientation to ScreenOrientation.AutoRotation.
You can check if some code in your Unity3D project set the Screen.orientation to any other code and check in "Unity Build setting" Default Orientation is "Auto Rotation".
We got this crash report also, and many of them
I've read somewhere (maybe in Unity forum) that it's being caused by Ads that showing in different orientation, when the game is back from Ads, the orientation did not restore correctly so Unity log the ASSERT.
They suggested that we just need open the exported XCode project and comment out the ASSERT line 111 in the file UnityViewControllerBase+iOS.mm
Well, we did and it's working for us!!!
//
// Just in case the attached screenshot expires
//
- (NSUInteger)supportedInterfaceOrientations
{
//NSAssert(UnityShouldAutorotate(), #"UnityDefaultViewController should be used only if unity is set to autorotate");
return EnabledAutorotationInterfaceOrientations();
}

How do you build Openssl_1.0.0 version 4

I have a binary that I am trying to run that seems to specifically require OPENSSL_1.0.0 version 4:
Version needs section '.gnu.version_r' contains 2 entries:
Addr: 0x00000000080486ac Offset: 0x0006ac Link: 6 (.dynstr)
000000: Version: 1 File: libcrypto.so.1.0.0 Cnt: 1
0x0010: Name: OPENSSL_1.0.0 Flags: none Version: 4
I have checked the source code out of openssl git and built 1.0.0-stable, but can't figure out how to specifically build what is needed by the binary.
What release should I checkout from the openssl repo and how do I compile it so that it would be usable by this binary?
Here are other possibly relivant fields from it's elf header:
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: Intel 80386
Version: 0x1
Entry point address: 0x804a6e0
Start of program headers: 52 (bytes into file)
Start of section headers: 214412 (bytes into file)
Flags: 0x0
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 9
Size of section headers: 40 (bytes)
Number of section headers: 37
Section header string table index: 34
Relocation section '.rel.plt' at offset 0x73c contains 37 entries:
Offset Info Type Sym.Value Sym. Name
0805b038 00000d07 R_386_JUMP_SLOT 00000000 MD5#OPENSSL_1.0.0
Dynamic section at offset 0x11f0c contains 25 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libcrypto.so.1.0.0]
Symbol table '.dynsym' contains 43 entries:
Num: Value Size Type Bind Vis Ndx Name
13: 00000000 0 FUNC GLOBAL DEFAULT UND MD5#OPENSSL_1.0.0 (4)
Version symbols section '.gnu.version' contains 43 entries:
Addr: 0000000008048656 Offset: 0x000656 Link: 5 (.dynsym)
00c: 2 (GLIBC_2.0) 4 (OPENSSL_1.0.0) 2 (GLIBC_2.0) 0 (*local*)
The version you see there is not the version of the library but the (arbitrary) version of the symbol within the table. As jww already pointed out, that refers to OPENSSL_1.0.0 which is the symbol version string, and relates to the 1.0.x release branch.
See https://blog.flameeyes.eu/2011/06/gold-readiness-obstacle-2-base-versioning/ for one random reference to symbol versioning that I wrote about before.

ErrorException in class.pdf.php line 3154

I'm new in Laravel, I use laravel 5.2 and I'm trying to generate a report using DomPdf but I'm getting error:
ErrorException in class.pdf.php line 3154
Undefined index:
in class.pdf.php line 3154
at HandleExceptions->handleError('8', 'Undefined index: ', 'C:\xampp\htdocs\balai\vendor\dompdf\dompdf\lib\class.pdf.php', '3154', array('size' => '12')) in class.pdf.php line 3154
at Cpdf->getFontHeight('12') in cpdf_adapter.cls.php line 740
at CPDF_Adapter->get_font_height('C:/xampp/htdocs/balai/vendor/dompdf/dompdf/lib/fonts/Times-Roman', '12') in font_metrics.cls.php line 122
at Font_Metrics::get_font_height('C:/xampp/htdocs/balai/vendor/dompdf/dompdf/lib/fonts/Times-Roman', '12') in text_frame_reflower.cls.php line 167
at Text_Frame_Reflower->_layout_line() in text_frame_reflower.cls.php line 332
at Text_Frame_Reflower->reflow(object(Block_Frame_Decorator)) in frame_decorator.cls.php line 711
at Frame_Decorator->reflow(object(Block_Frame_Decorator)) in block_frame_reflower.cls.php line 750
at Block_Frame_Reflower->reflow(null) in frame_decorator.cls.php line 711
at Frame_Decorator->reflow() in page_frame_reflower.cls.php line 123
at Page_Frame_Reflower->reflow(null) in frame_decorator.cls.php line 711
at Frame_Decorator->reflow() in dompdf.cls.php line 973
at DOMPDF->render() in PDF.php line 208
at PDF->render() in PDF.php line 154
at PDF->output() in PDF.php line 166
at PDF->save('documents.pdf') in LlajRambuController.php line 247
at LlajRambuController->printRambu('52', '1')
I was having this same problem, and I found a solution that makes no sense to me.
The HTML I was passing to dompdf didn't have any line breaks, like:
<html><body>content here<body></html>
Adding a break after the body tag fixed the problem.
<html><body>
content here
</body></html>
No clue what's going on, but now it works. Hope this fixes your problem too.

Resources