On Mon, 13 Sep 2010 20:25:24 +0530 Abraham wrote:
AV> On Mon, Sep 13, 2010 at 8:02 PM, Robert Story <[email protected]> wrote:
AV> > On Mon, 6 Sep 2010 15:38:21 +0530 Abraham wrote:
AV> > AV> I'm learning/studying the agent and run it with the "-f" option. Is
AV> > AV> there any 'nice' way to turn it off (snmpd) ? At the moment, I kill
AV> > AV> the process ID from another terminal.
AV> >
AV> > I use good ol Control-C.
AV> >
AV> 
AV> Ctrl + Z/C was among the first options I tried. The problem is that it
AV> left the UDP port (143, I think) still 'locked'. As a result, if I
AV> restart the snmpd agent, I won't be able to have it bind to that port
AV> again.

Hmmm.. I was just looking at the source, and SIGQUIT isn't one of the signals
we catch for a clean shutdown... So the agent isn't getting a chance to do its
normal shutdown cleanup.. Might not be a big deal for some quick testing, but
not recommended for a production environment...

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to