Well there was some post on this some time back.I faced same problem on
my redhat machine and solution come out to be the multiple version of
net-snmp package installed. I have both net-snmp rpm installed and code
compiled from source. I removed the rpm stuff and deleted those files
manually also and it started working. I am not sure if this exactly the
problem u are facing but it may help you in some way 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Naber,
Peter
Sent: Thursday, June 23, 2005 1:45 PM
To: [email protected]
Subject: agentx Problem with Visual C++ Compiler


Hi,

i have a problem with my own agent. I have developed a small agent and
compiled it with gcc under cygwin. The agent works fine with snmd-5.2.1
and agentx Interface on localhost:705

Now i compiled the same agent under Microsoft Visual C++ 6.0 without any
error messages. If I start the agent i got the error message: Error:
Failed to connect to the agentx master agent: Unknown host (No such file
Error: Failed or directory) If i start the cygwin agent it works fine.

The agent source is 100% equal :-((

regards,

Peter Naber

-------------------------------
Peter Naber
alfa Media Partner GmbH
Steinheimer Str. 117
D-63500 Seligenstadt
Phone +49-6182-804-390
Fax +49-6182-804.112
------------------------------- 


-------------------------------------------------------
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_idt77&alloc_id492&op=ick
_______________________________________________
Net-snmp-coders mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders



-------------------------------------------------------
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_idt77&alloc_id492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to