SNMPv2-MIB::sysUpTime No Such Instance currently exists at this OID

Brilliantov Kirill Vladimirovich <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization LLC Byterg
Message-ID <[email protected]>
Hello!
I have used net-snmp 5.6.
My configuration options:
./configure --prefix=/home/kirill/MVK-IP/contribs/net-snmp-5.6/install
--host=arm-v5t-linux --target=arm-v5t-linux --build=i686
--disable-manuals --disable-ipv6  --with-cc=arm_v5t_le-gcc
--with-ar=arm_v5t_le-ar --with-sys-contact="[email protected]"
--with-sys-location="ip-camera" --with-default-snmp-version="2"
--with-logfile="/var/log/snmpd.log"
--with-persistent-directory="/var/net-snmp" --with-endianness=little
--without-rpm --disable-embedded-perl --disable-deprecated
--enable-reentrant
--with-out-mib-modules="mibII/mta_sendmail,ipfwchains/ipfwchains"
--enable-mini-agent --disable-shared --enable-static --enable-debugging

Running daemon:
snmpd -Le -M/root/mib -d -q -V -c /etc/snmpd.conf

/etc/snmpd.conf:
syslocation  DM355
syscontact  [email protected]
sysservices 76
rocommunity  public
rwcommunity  private

ls /root/mib:
AGENTX-MIB.txt                       RFC-1215.txt


BRIDGE-MIB.txt                       RFC1155-SMI.txt


DISMAN-EVENT-MIB.txt                 RFC1213-MIB.txt


DISMAN-SCHEDULE-MIB.txt              RMON-MIB.txt


DISMAN-SCRIPT-MIB.txt                SCTP-MIB.txt


EtherLike-MIB.txt                    SMUX-MIB.txt


HCNUM-TC.txt                         SNMP-COMMUNITY-MIB.txt


HOST-RESOURCES-MIB.txt               SNMP-FRAMEWORK-MIB.txt


HOST-RESOURCES-TYPES.txt             SNMP-MPD-MIB.txt


IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt  SNMP-NOTIFICATION-MIB.txt


IANA-LANGUAGE-MIB.txt                SNMP-PROXY-MIB.txt


IANA-RTPROTO-MIB.txt                 SNMP-TARGET-MIB.txt


IANAifType-MIB.txt                   SNMP-USER-BASED-SM-MIB.txt


IF-INVERTED-STACK-MIB.txt            SNMP-USM-AES-MIB.txt


IF-MIB.txt                           SNMP-USM-DH-OBJECTS-MIB.txt


INET-ADDRESS-MIB.txt                 SNMP-VIEW-BASED-ACM-MIB.txt


IP-FORWARD-MIB.txt                   SNMPv2-CONF.txt


IP-MIB.txt                           SNMPv2-MIB.txt


IPV6-ICMP-MIB.txt                    SNMPv2-SMI.txt


IPV6-MIB.txt                         SNMPv2-TC.txt


IPV6-TC.txt                          SNMPv2-TM.txt
IPV6-TCP-MIB.txt                     TCP-MIB.txt


IPV6-UDP-MIB.txt                     TRANSPORT-ADDRESS-MIB.txt


NET-SNMP-AGENT-MIB.txt               UCD-DEMO-MIB.txt


NET-SNMP-EXAMPLES-MIB.txt            UCD-DISKIO-MIB.txt


NET-SNMP-EXTEND-MIB.txt              UCD-DLMOD-MIB.txt


NET-SNMP-MIB.txt                     UCD-IPFWACC-MIB.txt


NET-SNMP-PASS-MIB.txt                UCD-SNMP-MIB.txt


NET-SNMP-TC.txt                      UDP-MIB.txt


NOTIFICATION-LOG-MIB.txt

# ps w | grep snmpd | grep -v grep


  317 root      3892 S    snmpd -c /etc/snmpd.conf -Le -M/root/mib -d -q -V

# netstat -ane


Active Internet connections (servers and established)


Proto Recv-Q Send-Q Local Address           Foreign Address
State

netstat: /proc/net/tcp6: No such file or directory


udp     1380      0 0.0.0.0:161             0.0.0.0:*


udp        0      0 0.0.0.0:726             0.0.0.0:*

I try get sysUpTime:
$ snmpget -v 2c -c public 192.168.10.253 1.3.6.1.2.1.1.3
Timeout: No Response from 192.168.10.253.

Debug output snmpd:
..................................
trace: _sess_process_packet(): snmp_api.c, 5489:
sess_process_packet: received message id#0 reqid#1892565242 len 42
  GET message
    -- SNMPv2-MIB::sysUpTime
trace: init_agent_snmp_session(): snmp_agent.c, 1373:
snmp_agent: agent_sesion  0xe9ef0 created
trace: init_agent_snmp_session(): snmp_agent.c, 1388:
verbose:asp: asp 0xe9ef0 reqinfo 0xfcf10 created
trace: _callback_lock(): callback.c, 127:
9:callback:lock: locked (APP,null)
trace: snmp_call_callbacks(): callback.c, 319:
callback: START calling callbacks for maj=1 min=5
trace: snmp_call_callbacks(): callback.c, 333:
callback: calling a callback for maj=1 min=5
trace: vacm_check_view_contents(): mibgroup/mibII/vacm_conf.c, 1296:
mibII/vacm_vars: vacm_in_view: ver=1, community=public
trace: netsnmp_udp_getSecName(): transports/snmpUDPDomain.c, 423:
netsnmp_udp_getSecName: opaque = 0xfae78 (len = 36), sizeof = 36, family
= 2 (2)
trace: netsnmp_udp_getSecName(): transports/snmpUDPDomain.c, 440:
netsnmp_udp_getSecName: resolve <"public", 0x030aa8c0>
trace: netsnmp_udp_getSecName(): transports/snmpUDPDomain.c, 450:
netsnmp_udp_getSecName: compare <"public", 0.0.0.0/0.0.0.0>... SUCCESS
trace: netsnmp_subtree_find_first(): agent_registry.c, 308:
subtree: looking for subtree for context: ""
trace: netsnmp_subtree_find_first(): agent_registry.c, 312:
subtree: found one for: ""
trace: vacm_check_view_contents(): mibgroup/mibII/vacm_conf.c, 1427:
mibII/vacm_vars: vacm_in_view: sn=comm1, gn=grpcomm1, Done checking setup
trace: snmp_call_callbacks(): callback.c, 345:
callback: END calling callbacks for maj=1 min=5 (1 called)
trace: _callback_unlock(): callback.c, 161:
9:callback:lock: unlocked (APP,null)
trace: netsnmp_subtree_find_first(): agent_registry.c, 308:
subtree: looking for subtree for context: ""
trace: netsnmp_subtree_find_first(): agent_registry.c, 312:
subtree: found one for: ""
trace: netsnmp_subtree_find_prev(): agent_registry.c, 992:
wtest: oid in: SNMPv2-MIB::sysUpTime
trace: netsnmp_subtree_find_prev(): agent_registry.c, 1003:
wtest: oid cmp: ccitt  --- off = 0, in off = 0 test = 1
trace: netsnmp_subtree_find_prev(): agent_registry.c, 1003:
wtest: oid cmp: iso  --- off = 1, in off = 1 test = 1
trace: netsnmp_subtree_find_prev(): agent_registry.c, 1003:
wtest: oid cmp: SNMPv2-MIB::sysDescr  --- off = 2, in off = 2 test = 1
trace: netsnmp_subtree_find_prev(): agent_registry.c, 1003:
wtest: oid cmp: SNMPv2-MIB::sysObjectID  --- off = 8, in off = 8 test = 1
trace: netsnmp_subtree_find_prev(): agent_registry.c, 1003:
wtest: oid cmp: SNMPv2-MIB::sysUpTime  --- off = 8, in off = 8 test = 1
trace: netsnmp_subtree_find_prev(): agent_registry.c, 1003:
wtest: oid cmp: SNMPv2-MIB::sysContact  --- off = 8, in off = 9 test = 1
trace: _callback_lock(): callback.c, 127:
9:callback:lock: locked (APP,null)
trace: snmp_call_callbacks(): callback.c, 319:
callback: START calling callbacks for maj=1 min=0
trace: snmp_call_callbacks(): callback.c, 333:
callback: calling a callback for maj=1 min=0
trace: vacm_check_view_contents(): mibgroup/mibII/vacm_conf.c, 1296:
mibII/vacm_vars: vacm_in_view: ver=1, community=public
trace: netsnmp_udp_getSecName(): transports/snmpUDPDomain.c, 423:
netsnmp_udp_getSecName: opaque = 0xfae78 (len = 36), sizeof = 36, family
= 2 (2)
trace: netsnmp_udp_getSecName(): transports/snmpUDPDomain.c, 440:
netsnmp_udp_getSecName: resolve <"public", 0x030aa8c0>
trace: netsnmp_udp_getSecName(): transports/snmpUDPDomain.c, 450:
netsnmp_udp_getSecName: compare <"public", 0.0.0.0/0.0.0.0>... SUCCESS
trace: netsnmp_subtree_find_first(): agent_registry.c, 308:
subtree: looking for subtree for context: ""
trace: netsnmp_subtree_find_first(): agent_registry.c, 312:
subtree: found one for: ""
trace: vacm_check_view_contents(): mibgroup/mibII/vacm_conf.c, 1427:
mibII/vacm_vars: vacm_in_view: sn=comm1, gn=grpcomm1, vn=_all_trace:
netsnmp_view_get(): vacm.c, 487:
vacm:getView: , found
, vt=1
trace: snmp_call_callbacks(): callback.c, 345:
callback: END calling callbacks for maj=1 min=0 (1 called)
trace: _callback_unlock(): callback.c, 161:
9:callback:lock: unlocked (APP,null)
trace: netsnmp_add_varbind_to_cache(): snmp_agent.c, 1968:
snmp_agent: add_vb_to_cache( 0xe9ef0, 1, SNMPv2-MIB::sysUpTime,  0xd1208)
trace: netsnmp_add_varbind_to_cache(): snmp_agent.c, 2039:
snmp_agent: tp->start SNMPv2-MIB::sysUpTime, tp->end
SNMPv2-MIB::sysContact,
trace: netsnmp_add_varbind_to_cache(): snmp_agent.c, 2059:
verbose:asp: asp 0xe9ef0 reqinfo 0xfcf10 assigned to request
trace: netsnmp_add_varbind_to_cache(): snmp_agent.c, 2066:
verbose:asp: asp 0xe9ef0 reqinfo 0xfcf10 assigned to request
trace: netsnmp_call_handlers(): agent_handler.c, 599:
handler:calling: main handler bulk_to_next
trace: netsnmp_call_handler(): agent_handler.c, 517:
handler:calling: calling handler bulk_to_next for mode GET
trace: netsnmp_call_handler(): agent_handler.c, 525:
handler:returned: handler bulk_to_next returned 0
trace: netsnmp_call_handler(): agent_handler.c, 517:
handler:calling: calling handler serialize for mode GET
trace: netsnmp_serialize_helper_handler(): helpers/serialize.c, 50:
helper:serialize: Got request
trace: netsnmp_call_handler(): agent_handler.c, 517:
handler:calling: calling handler scalar for mode GET
trace: netsnmp_scalar_helper_handler(): helpers/scalar.c, 140:
helper:scalar: Got request:
trace: netsnmp_scalar_helper_handler(): helpers/scalar.c, 146:
helper:scalar:   oid:SNMPv2-MIB::sysUpTime
trace: netsnmp_call_handler(): agent_handler.c, 517:
handler:calling: calling handler instance for mode GET
trace: netsnmp_instance_helper_handler(): helpers/instance.c, 1006:
helper:instance: Got request:
trace: netsnmp_instance_helper_handler(): helpers/instance.c, 1011:
helper:instance:   oid:SNMPv2-MIB::sysUpTime
trace: netsnmp_call_handler(): agent_handler.c, 525:
handler:returned: handler instance returned 0
trace: netsnmp_call_handler(): agent_handler.c, 525:
handler:returned: handler scalar returned 0
trace: netsnmp_call_handler(): agent_handler.c, 525:
handler:returned: handler serialize returned 0
trace: netsnmp_handle_request(): snmp_agent.c, 3232:
results: request results (status = 0):
trace: netsnmp_handle_request(): snmp_agent.c, 3235:
results:        SNMPv2-MIB::sysUpTime No Such Instance currently exists
at this OID

How can I solve it error (SNMPv2-MIB::sysUpTime No Such Instance
currently exists at this OID)?
Thank you and excuse me for my bad english and big post.

-- 
С уважением,
Бриллиантов Кирилл Владимирович
…………………………………………………………………
программист, технический отдел
ООО «БайтЭрг»
Видеокамеры МВК – Эффективность разумных решений
…………………………………………………………………
+7(495)221-66-22 доб.122
http://www.byterg.ru    http://www.bestdvr.ru

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.