Re: Net-SNMP Trap Agent start error

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
 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.

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