On Thu, 30 Jun 2005 16:15:50 +0300 Koren wrote:
KOB> I'm having the next error while running my compiled agent :
KOB> Error opening specified endpoint "[path]\snmpd.exe"
KOB> I'm using the default port on local host (run the snmpd without any
KOB> argv) and have no problem to run the snmpd.exe agent from the /bin
KOB> directory, So its not a "busy port" issue.
KOB>
KOB> I have noticed the following:
KOB> In the SnmpDaemonMain function, if (c =
KOB> netsnmp_ds_get_string(NETSNMP_DS_APPLICATION_ID,NETSNMP_DS_AGENT_PORTS))
KOB> return 0,
KOB> We are calling to :
KOB> netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_PORTS,
KOB> argv[i]),
KOB> Which is the snmpd path and exit the loop (I have no argv).
what are optind and argc when you run this way?
--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>
You are lost in a twisty maze of little standards, all different.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders