Sorry, did not read your email carefully enough.
It seems that someone is already listening on "udp:161". If you are on a
Windows 2003 Server, try the following to check this:
C:\Documents and Settings\bernhard.penz>net start remoteaccess
The Routing and Remote Access service is starting.
The Routing and Remote Access service was started successfully.
C:\Documents and Settings\bernhard.penz>netsh
netsh>interface ip
netsh interface ip>show udpconn
MIB-II UDP Listener Entry
Local Address LocalPort
-------------------------------------------------
0.0.0.0 161
............
I think this netsh is also available on XP and 2000. If somebody is
listening on 161, you have to start looking who the culprit is. You
don't have Windows SNMP services installed, and you did not register the
snmpd as a service??
Regards,
Bernhard
> -----Original Message-----
> From: Andres C [mailto:[EMAIL PROTECTED]
> Sent: Mittwoch, 10. November 2004 16:49
> To: Penz, Bernhard; [EMAIL PROTECTED]
> Subject: RE: Again example-daemon in win32
>
>
> Hello Bernhard,
>
> I am trying to run a simple master daemon, without smpd
> running. I'm trying to do an agent that works with a modified
> snmpdemoapp. But I keep getting that error, and don't know
> what to do to solve it. I think the solution you describe is
> when using agentx subagent, but I what it to be the master agent.
>
> thanks
>
>
> >From: "Penz, Bernhard" <[EMAIL PROTECTED]>
> >To: "Andres C"
> ><[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
> >Subject: RE: Again example-daemon in win32
> >Date: Wed, 10 Nov 2004 09:44:21 +0100
> >
> > > /* we're an agentx subagent? */
> > > if (agentx_subagent) {
> > > /* make us a agentx client. */
> > > netsnmp_ds_set_boolean(NETSNMP_DS_APPLICATION_ID,
> > > NETSNMP_DS_AGENT_ROLE, 1); }
> >
> >netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
> >NETSNMP_DS_AGENT_X_SOCKET, "localhost:705");
> >
> >
> >You have to tell the subagent to go to the configured agentx
> port, 705
> >in general. This "localhost:705" must be also told the
> master agent at
> >startup, that is you have to add : -x localhost:705 in your snmpd
> >commandline .This parameter also works when installing the
> master agent
> >as a service.
> >
> >The commandline switch is explained in README.agentx,
> perhaps adding a
> >few lines for the win32 case would help since the agentx stuff uses
> >unix domain sockets when not told otherwise.
> >
> >Regards,
> >Bernhard
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by:
> >Sybase ASE Linux Express Edition - download now for FREE LinuxWorld
> >Reader's Choice Award Winner for best database on Linux.
> >http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
> >_______________________________________________
> >Net-snmp-coders mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today
> it's FREE!
> http://messenger.msn.com/
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders