Re: Net-SNMP Trap Agent start error
On Tue, Jul 13, 2010 at 12:23 PM, Markus Hofer markus_ho...@gmx.at 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 0x81020304 snmpv3_MD5_trap_log_w MD5 helloworld authUser log snmpv3_MD5_trap_log createUser -e 0x81020304 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Net-SNMP Trap Agent start error
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 bvanass...@acm.org An: Markus Hofer markus_ho...@gmx.at CC: net-snmp-users@lists.sourceforge.net Betreff: Re: Net-SNMP Trap Agent start error On Tue, Jul 13, 2010 at 12:23 PM, Markus Hofer markus_ho...@gmx.at 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 0x81020304 snmpv3_MD5_trap_log_w MD5 helloworld authUser log snmpv3_MD5_trap_log createUser -e 0x81020304 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Net-SNMP Trap Agent start error
Hi 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 0x81020304 snmpv3_MD5_trap_log_w MD5 helloworld authUser log snmpv3_MD5_trap_log createUser -e 0x81020304 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 -- GMX.at - Österreichs FreeMail-Dienst mit über 2 Mio Mitgliedern E-Mail, SMS mehr! Kostenlos: http://portal.gmx.net/de/go/atfreemail -- 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users