Re: Net-SNMP Trap Agent start error

"Markus Hofer" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Yeah thanks that was the problem!
so for others, who might have the same problem:

go to the commandline and do the following things

net stop "MG-SOFT SNMP Trap Service"
than you should get a conformation that the agent has successfully stopped

net start "NET-SNMP Trap Handler"

thats it

THX again Bart

Greetings MAX

Also a little reminder: If you using snmpget to receive information of a remote windowsxp host, it is possible that the OfficeScan NT Firewall of this host is blocking the requests. So just disable it in the time when you are testing...


-------- Original-Nachricht --------
> Datum: Wed, 14 Jul 2010 12:12:39 +0200
> Von: Bart Van Assche <[email protected]>
> An: Markus Hofer <[email protected]>
> CC: [email protected]
> Betreff: Re: Net-SNMP Trap Agent start error

>  On Tue, Jul 13, 2010 at 12:23 PM, Markus Hofer <[email protected]>
> wrote:
> 
> > I got a problem with starting the Net-SNMP Trap Agent under windows xp
> > I use the Net-SNMP version 5.4.2.1
> >
> > I have the following configurations in C:\usr\etc\snmp\snmptrapd.conf
> >
> > createUser -e 0x8000000001020304  snmpv3_MD5_trap_log_w MD5 "helloworld"
> > authUser log  snmpv3_MD5_trap_log
> >
> > createUser -e 0x8000000001020304  snmpv3_SHA_trap_log_w SHA "helloworld"
> > authUser log  snmpv3_SHA_trap_log
> >
> > after registering snmptrapd as admin with the command
> >
> > snmptrapd -register -Lf C:\testsnmptrapd.log
> >
> > i try to start the NET-SNMP Handler by
> >
> > net start "Net-SNMP Trap Handler"
> >
> > which terminates with:
> >
> > System error 1067 has occured.
> >
> > The log file states:
> >
> > NET-SNMP version 5.4.2.1
> > couldn't open udp:162 -- errno 2 ("No such file or directory")
> >
> > and
> >
> > netstat -a -f | find "162"
> > it gives me back
> >
> > TCP <ipaddress1>:1625 <ipaddress2> 22 ESTABLISHED
> > UPD 0.0.0.0:162 *.*
> >
> > What am I doing wrong?
> >
> > Greetings MAX
> >
> > BTW: The "Net-SNMP Agent" is started as well
> >
> 
> The above output means that another process is listening on UDP port 162.
> That is why the Net-SNMP trap service can't start. Was the Microsoft *SNMP
> Trap Service* still running ?
> 
> Note: you can find out the process ID of the process that is listening on
> port 162 by running the following command:
> 
> netstat -ano | find ":162 "
> 
> Bart.

-- 
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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.