N> How do I restart a daemon process on UNIX if it dies?

First, knowing why it died is a good thing.  Especially when it's SNMP
for the last couple of weeks.  Most implementations have a
vulnerability that the vendors have been pumping patches out for.

But to answer your question, when this happens to me, I like to go and
see how it got started in the first place, so I can replicate any
parameters that were missing. In System V based Unix implementations
this happens in the /etc/rc?.d directories. Find the one that starts
the daemon you want. On Solaris it's /etc/rc.3/S76snmpdx which can be
run with either a start or a stop parameter.  Of course you can look
inside the rc start script and see exactly what commands it uses to
start the daemon and do it yourself.

-rje


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Robert Eskridge
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to