Re: problem in running snmptrapd service

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
[email protected] wrote:
> if i run snmptrapd service /usr/sbin ./snmptrapd -f -Lo
> 
> NET-SNMP version 5.3.0.1
> couldn't open udp:162 -- errno 98 ("Address already in use")
> ps -ef | grep snmptrapd -> no snmptrapd is running.
> port 162 is in use 
> netstat -anv | grep 162 -> 
> Proto Recv-Q Send-Q        Local Address               Foreign Address
> State      
> udp            0          0         0.0.0.0:162
> 0.0.0.0:*                           

Identify the process that has opened port 162/udp ("lsof" is your
friend) and kill it. Then start snmptrapd again.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.