problem in running snmptrapd service

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

I have placed snmptrapd.conf file in location /etc/snmp/ with logoption
f logfile 
in logfile same above two lines are witten.
NET-SNMP version 5.3.0.1
couldn't open udp:162 -- errno 98 ("Address already in use")


________________________________

From: Ward, Martin [mailto:[email protected]] 
Sent: Monday, April 02, 2007 3:55 PM
To: Deepa Naik (WT01 - IP-Multimedia Carrier & Ent Networks)
Subject: RE: problem in running snmptrapd service


Deepa,
 
Does the actual process exist or has it died? If you are using a *nix
box try the following, replacing <path_to_pid_file> with the full
directory path of your trapd's PID file, and 1223 with the value
displayed on screen.
 
$ cat <path_to_pid_file>
1223
 
$ ps -aux | grep 1223
 
If it exists then it's working! If it doesn't try to see if there's any
debugging you can turn on to find out why it's crashing.
 
|\/|artin

	-----Original Message-----
	From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
	Sent: 29 March 2007 08:01
	To: [email protected]
	Subject: problem in running snmptrapd service
	
	
	I am facing problem in running the snmptrapd service. 
	when i am checking the status of snmptrapd after starting the
service,
	its saying snmptrapd dead but pid file exists
	 
	Deepa

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