[CentOS] apache error

Thu Mar 22 00:53:35 UTC 2007
Jim Perrin <jperrin at gmail.com>

On 3/21/07, Mark Quitoriano <markquitoriano at gmail.com> wrote:
> Hi,
> i restarted my apache and now im getting this error.

No you didn't, because.....

> Stopping httpd:

Shutting it down failed for some reason. You'll need to check your
logs to see what happened.

> Starting httpd: (98)Address already in use: make_sock: could not bind to
> address [::]:80

When you get errors like this, you can use lsof to see what's holding
the ports open. For example:

lsof -i TCP:80 -a -u apache

This would show you anything holding a TCP socket on port 80 owned by
the apache user.

During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell