Very bad Apache problem.
Dave Walker
dave at mudsite.com
Sun Jul 24 17:46:25 UTC 2005
Dave Walker wrote:
> So I am running Apache with a main site, and 5 virtual hosts.
> Simple. For some reason, and I can not tell why after about 3-4 days
> of Apache being up it crashes. The server get's a handful of load but
> nothing to the capability of crashing Apache. When it crashes apache2
> is not running, there are no processes related to apache. When I
> attempt to restart it I get:
>
> Linux:/etc/apache2# /etc/init.d/apache2 restart
> Forcing reload of web server: Apache2 ... no pidfile found! not
> running?(98)Address already in use: make_sock: could not bind to
> address 129.21.xx.xxx:80
> no listening sockets available, shutting down
> Unable to open logs
> Linux:/etc/apache2#
>
> If I try and telnet to the host on port 80, telnet hangs, crtl-c or
> ctrl-z do nothing. The only way I know how to fix this is a reboot.
> And I can't deal with rebooting a soon-to-be-production server this
> often for what seems to be a stupid problem. Does anyone else have
> this problem, or know how I can fix it.
>
> --
> Dave
>
And something I forgot to add, my netstat -lt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:32768 *:* LISTEN
tcp 0 0 *:2049 *:* LISTEN
tcp 0 0 *:51234 *:* LISTEN
tcp 0 0 *:14534 *:* LISTEN
tcp 0 0 *:872 *:* LISTEN
tcp 0 0 *:6666 *:* LISTEN
tcp 0 0 localhost:mysql *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:auth *:* LISTEN
tcp 0 0 *:755 *:* LISTEN
tcp 0 0 *:4501 *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 linux.csh.rit.ed:domain *:* LISTEN
tcp 0 0 localhost:domain *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
tcp 0 0 localhost:953 *:* LISTEN
tcp 0 0 *:1023 *:* LISTEN
tcp6 0 0 *:imaps *:* LISTEN
tcp6 0 0 *:imap2 *:* LISTEN
tcp6 0 0 *:www *:* LISTEN
tcp6 0 0 *:ssh *:* LISTEN
tcp6 0 0 *:smtp *:* LISTEN
tcp6 0 0 ip6-localhost:953 *:* LISTEN
AS we can see, www on tcp, is not in use.
--
dave
More information about the ubuntu-users
mailing list