Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-75-1629134.1
Update Date:2017-09-21
Keywords:

Solution Type  Troubleshooting Sure

Solution  1629134.1 :   SL8500/SL3000 - How to Decode SNMP Errors Reported in Syslog  


Related Items
  • Sun StorageTek SL3000 Modular Library System
  •  
  • Sun StorageTek SL8500 Modular Library System
  •  
Related Categories
  • PLA-Support>Sun Systems>TAPE>Tape Hardware>SN-TP: SL3000-8500 Library
  •  




In this Document
Purpose
Troubleshooting Steps


Oracle Confidential PARTNER - Available to partners (SUN).
Reason: customer has no access to syslog

Applies to:

Sun StorageTek SL8500 Modular Library System - Version Not Applicable to Not Applicable [Release N/A]
Sun StorageTek SL3000 Modular Library System - Version Not Applicable to Not Applicable [Release N/A]
Information in this document applies to any platform.

Purpose

 Help to troubleshoot SNMP issues such as STA or an agent monitoring software is not receiving traps.

Troubleshooting Steps

Check the /var/log/syslog file in logsnap file from library.

Example error -

Feb  4 16:59:20 (none) snmptrapd: trap_Send: Calling SnmpStkNet_Trap_Send 
Feb  4 16:59:20 (none) snmptrapd: SnmpStkNet_Trap_Send: sending a trap 
Feb  4 16:59:20 (none) snmptrapd: SnmpStkNet_Notify: snmp_send failed 
Feb  4 16:59:20 (none) snmptrapd: SnmpStkNet_Notify: net-snmp session error=-12, errno=101 


error=12  = Failure in send to
In this example the SL8500 2B IP address was not able to connect on network to the STA server ip address.

error-101 --> linux IP stack error code for 'network is unreachable'.

The following is full list of possible net-snmp errors that could be reported in the syslog.

0    No error                                                                           SNMPERR_SUCCESS                
1    Generic error                                                                      SNMPERR_GENERR                 
2    Invalid local port                                                                 SNMPERR_BAD_LOCPORT                 
3    Unknown host                                                                       SNMPERR_BAD_ADDRESS                 
4    Unknown session                                                                    SNMPERR_BAD_SESSION                 
5    Too long                                                                           SNMPERR_TOO_LONG                 
6    No socket                                                                          SNMPERR_NO_SOCKET                 
7    Cannot send V2 PDU on V1 session                                                   SNMPERR_V2_IN_V1                 
8    Cannot send V1 PDU on V2 session                                                   SNMPERR_V1_IN_V2                 
9    Bad value for non-repeaters                                                        SNMPERR_BAD_REPEATERS                 
10    Bad value for max-repetitions                                                     SNMPERR_BAD_REPETITIONS                 
11    Error building ASN.1 representation                                               SNMPERR_BAD_ASN1_BUILD                 
12    Failure in send to                                                                SNMPERR_BAD_SENDTO                 
13    Bad parse of ASN.1 type                                                           SNMPERR_BAD_PARSE                 
14    Bad version specified                                                             SNMPERR_BAD_VERSION                 
15    Bad source party specified                                                        SNMPERR_BAD_SRC_PARTY                 
16    Bad destination party specified                                                   SNMPERR_BAD_DST_PARTY                 
17    Bad context specified                                                             SNMPERR_BAD_CONTEXT                 
18    Bad community specified                                                           SNMPERR_BAD_COMMUNITY                 
19    Cannot send noAuth/Priv                                                           SNMPERR_NOAUTH_DESPRIV                 
20    Bad ACL definition                                                                SNMPERR_BAD_ACL                 
21    Bad Party definition                                                              SNMPERR_BAD_PARTY                 
22    Session abort failure                                                             SNMPERR_ABORT                 
23    Unknown PDU type                                                                  SNMPERR_UNKNOWN_PDU                 
24    Timeout                                                                           SNMPERR_TIMEOUT                 
25    Failure in recvfrom                                                               SNMPERR_BAD_RECVFROM             
26    Unable to determine contextEngineID                                               SNMPERR_BAD_ENG_ID                 
27    No securityName specified                                                         SNMPERR_BAD_SEC_NAME                 
28    Unable to determine securityLevel                                                 SNMPERR_BAD_SEC_LEVEL                  
29    ASN.1 parse error in message                                                      SNMPERR_ASN_PARSE_ERR                 
30    Unknown security model in message                                                 SNMPERR_UNKNOWN_SEC_MODEL                 
31    Invalid message (e.g. msgFlags)                                                   SNMPERR_INVALID_MSG                 
32    Unknown engine ID                                                                 SNMPERR_UNKNOWN_ENG_ID                 
33    Unknown user name                                                                 SNMPERR_UNKNOWN_USER_NAME                 
34    Unsupported security level                                                        SNMPERR_UNSUPPORTED_SEC_LEVEL                 
35    Authentication failure (incorrect password, community or key)                     SNMPERR_AUTHENTICATION_FAILURE                 
36    Not in time window                                                                SNMPERR_NOT_IN_TIME_WINDOW                 
37    Decryption error                                                                  SNMPERR_DECRYPTION_ERR                 
38    SCAPI general failure                                                             SNMPERR_SC_GENERAL_FAILURE                 
39    SCAPI sub-system not configured                                                   SNMPERR_SC_NOT_CONFIGURED                 
40    Key tools not available                                                           SNMPERR_KT_NOT_AVAILABLE                 
41    Unknown Report message                                                            SNMPERR_UNKNOWN_REPORT                 
42    USM generic error                                                                 SNMPERR_USM_GENERICERROR                 
43    USM unknown security name (no such user exists)                                   SNMPERR_USM_UNKNOWNSECURITYNAME                 
44    USM unsupported security level (this user has not been configured for that level of security)    SNMPERR_USM_UNSUPPORTEDSECURITYLEVEL                 
45    USM encryption error                                                              SNMPERR_USM_ENCRYPTIONERROR                 
46    USM authentication failure (incorrect password or key)                            SNMPERR_USM_AUTHENTICATIONFAILURE                 
47    USM parse error                                                                   SNMPERR_USM_PARSEERROR                 
48    USM unknown engineID                                                              SNMPERR_USM_UNKNOWNENGINEID                 
49    USM not in time window                                                            SNMPERR_USM_NOTINTIMEWINDOW                
50    USM decryption error                                                              SNMPERR_USM_DECRYPTIONERROR                 
51    MIB not initialized                                                               SNMPERR_NOMIB                 
52    Value out of range                                                                SNMPERR_RANGE                 
53    Sub-id out of range                                                               SNMPERR_MAX_SUBID                 
54    Bad sub-id in object identifier                                                   SNMPERR_BAD_SUBID                
55    Object identifier too long                                                        SNMPERR_LONG_OID                 
56    Bad value name                                                                    SNMPERR_BAD_NAME                 
57    Bad value notation                                                                SNMPERR_VALUE                
58    Unknown Object Identifier                                                         SNMPERR_UNKNOWN_OBJID                
59    No PDU in snmp_send                                                               SNMPERR_NULL_PDU                 
60    Missing variables in PDU                                                          SNMPERR_NO_VARS                 
61    Bad variable type                                                                 SNMPERR_VAR_TYPE                 
62    Out of memory (malloc failure)                                                    SNMPERR_MALLOC                 
63    Kerberos related error                                                            SNMPERR_KRB5                 
64    Protocol error                                                                    SNMPERR_PROTOCOL                
65    OID not increasing                                                                SNMPERR_OID_NONINCREASING                 
66    Context probe                                                                     SNMPERR_JUST_A_CONTEXT_PROBE                 
67    Configuration data found but the transport can't be configured                    SNMPERR_TRANSPORT_NO_CONFIG                 
68    Transport configuration failed                                                    SNMPERR_TRANSPORT_CONFIG_ERROR                 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback