Talk about defensive code! snmpd survived 

  shutdown -r now

I call that sufficiently robust for our customers.

-- Pete Wilson

--- Pete Wilson <[EMAIL PROTECTED]> wrote:

> 
> I'm running Red Hat 7.3 and starting snmpd like this:
> 
>   /usr/sbin/snmpd -s -l /dev/null -P /var/run/snmpd -a
> 
> It starts and runs correctly. When I do ps -ef, I see:
> 
>   root      7044     1  0 Oct27 ?     00:00:15 /usr/sbin/snmpd -s
> -l
> /dev/null -P /var/run/snmpd -a
> 
> All good so far.
> 
> Now I want to restart snmpd (because I've made some changes in
> snmpd.conf, say). But when I issue kill -9 7044, snmpd stays firmly
> in place. If I say:
> 
>   snmpd stop
> or
>   snmp restart
> 
> I see:
> 
>   Stopping snmpd          [FAILED]
> 
> and ps -ef yields the same result as before. And I can tell that
> it's
> the same copy of snmpd running because:
> 
> 1. Same pid.
> 2. Same options to snmpd, where I'd changed them in the file
> ../rc.d/init.d/snmpd.
> 3. It even has yesterday's date stamp.
> 
> What am I doing wrong? What can I do to kill this daemon? Thanks!
> 
> -- Pete Wilson
> 
> 
>  
> 
> =====
> -- Pete Wilson    
>    http://www.pwilson.net/
> 


=====
-- Pete Wilson    
   http://www.pwilson.net/


-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to