[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: stopping and starting daemons...



Look in /etc/rc.d/init.d

There are a bunch of handy scripts to bring most daemons down, just type
they're command alone to see what they're usage is 

Note, if ./ isn't in your .bashrc (path) then you'll have to type them
like

./httpd
or more specifically 
./httpd stop


If you want/need to ever do it manually just go to /var/run and look
around a bit.  Many daemons, well, httpd at least has multiple copies so
you need the original pid to kill -TERM as in
kill -TERM httpd

One other way would be to use killall but is not a very good way, use it
like
killall -TERM httpd
or 
killall -9 httpd
	this one wouldn't have any way out :)


--alex

ps good luck!


Paul Brady wrote:
> 
> Hey All!
> 
> I am pretty familiar with UNIX but cannot figure out how to kill and
> restart the httpd daemon....or any other daemon for that matter....



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]