On 11 September 2012 05:32, Jatin Bodarya <[email protected]> wrote:
> If the port is allocated to another process kill it with
>     Kill -9 PROCESSID

Arggghhhh!!!!   Nooooo!!!!!!
Do not NOT *NOT* use "kill -9" as your weapon of choice.

Use a simple "kill" by all means - that at least allows the
process a chance to tidy up before shutting down.
  (Though it would be preferable to use the proper service
control commands - typically "service xxx stop")

But "kill -9" should always be a last resort, when everything
else has failed.


Sunitha - the other question would be whether you are
starting the agent as root or as a "normal" user.
Port 161 is a privileged port, so can only be used when
starting the agent as root.   If you run the command as
a normal user, it won't be able to open this port.


Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to