[6715] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Bind Address problems more specific

daemon@ATHENA.MIT.EDU (Richard Bullington)
Fri Nov 29 17:32:48 1996

Date: Fri, 29 Nov 1996 17:31:31 -0500 (EST)
From: Richard Bullington <rbulling@obscure.org>
To: redhat-list@redhat.com
In-Reply-To: <1.5.4.32.19961129040710.006cdc8c@virtual-space.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Fri, 29 Nov 1996, David Holt wrote:

> ok, here is the problem. I run the killall -HUP httpd and it seems fine.
> When i run httpd after that, i get #bind: Address already in use
> httpd: could not bind to address 205.187.163.230 port 80
> This address would be the last one in my httpd.conf file.

What you should be doing to stop Apache is more like: (note the backticks) 

  kill -HUP `cat /var/run/httpd.pid`

Or, do a 'ps auxf' and find the root apache process, note its process ID,
and do a 'kill -HUP pid' by hand.

This will send the master process a SIGHUP, and it will handle cleanup of
the child processes properly.

Note that if you want to kill apache off, and you are using the apache
RPM, you should do a '/etc/rc.d/init.d/httpd.init stop' instead of just
killing it manually, so that init does not get confused.

-Richard Bullington <rbulling@obscure.org>   http://www.obscure.org


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post