“No log handling enabled - turning on stderr loggi ng Failure in sendto (No such file or directory)”

malar vizhi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

 Am using net-snmp 5.4 to query a host/application. Having my own C++ class
which has four methods,



1.     SNMP Session creation

2.     SnmpGet

3.     SnmpGetNext

4.     SnmpWalk



I should query a list of OIDs using this class. So, for each OID,  first am
calling SNMP Session Creation method. If that Succeeds, then I go for
Snmpget()/Snmpgetnext()/SNMPWalk() based on user input (each OID will
associate with one PDU type). If I have only one or two OIDs in an input
list, everything is working fine (creating session & getting oid value) not
a matter that PDU type is get or getnext or walk. Now the problem is, if I
have more than two oids in an input list, when I go for 3rd oid, am getting



“No log handling enabled - turning on stderr logging

Failure in sendto (No such file or directory)”



This failure happens with all those three methods get, getnext & walk. For
each OID am opening & closing the snmp session. What will be the
reason?….Please someone help me….I would be thankful to you.



Thanks & Regards,

Malar

------------------------------------------------------------------------------

_______________________________________________
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.