You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by de...@elastic.nl on 2003/12/12 14:05:56 UTC

[users@httpd] [httpd] Undescribeble problems, but I'll try...

Hi there

I have this really weird Apache Httpd problem

When xx weeks/days have past, Apache just stops servering webpages. The
daemon is still running and all seems OK. System load is normal and all
other services just work perfectly.

The daemon can not be restarted normally and a graceful restart will result
in this:

    /var/www/bin/apachectl graceful: httpd not running, trying to start
    /var/www/bin/apachectl graceful: httpd started

    [Wed Dec 10 11:44:46 2003] [crit] (98)Address already in use: make_sock:
    could not bind to port 80

Seems like apache keeps on logging for a while, since some httpd request are
more than once in de logs at the time this weird problem occurs. Could be
because clients keep reloading the page Apache won't serve. Since this is
not a very busy webserver, logging either stops or visitors go away... I
am not sure.

I stop the daemon with a "kill -HUP" and then start it again... all is fine
then.

Some info about the apache on  a DEBIAN server:
[Wed Dec 10 11:47:46 2003] [notice] Apache/1.3.29 (Unix) mod_macro/1.1.2
AuthMySQL/2.20 PHP/4.3.4 mod_ssl/2.8.16 OpenSSL/0.9.6c configured -- 
resuming normal operations

Since it's a Debian server, there should be no more bugs in the OpenSSL
module I use.

Apache 1.3.28 was already replaced by 1.3.29 (not a Debian package, but
compiled from source). The motherbord and cpu is alse changed, but not
because of this problem.

Nothing is in the Crontab that could generate this error, I already checked.

After the accident I put server-status on and I'm logging its output hoping
to see something when the problem happens again. Right now the server-status
does not show any thing suspicious (see below this mail).

I tried to search with google, and in some dutch forums. But since I don't
know
what keywords I should use to find an answer, this didn't work out.

Maybe I forgot some important details.. just ask and I will reply.

Anyone suggestions? It would help :)

Vaplu.





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] [httpd] Undescribeble problems, but I'll try...

Posted by Jez Hancock <je...@munk.nu>.
On Fri, Dec 12, 2003 at 02:05:56PM +0100, debian@elastic.nl wrote:
> I have this really weird Apache Httpd problem
Aren't they all? :)

> When xx weeks/days have past, Apache just stops servering webpages. The
> daemon is still running and all seems OK. System load is normal and all
> other services just work perfectly.
> 
> The daemon can not be restarted normally and a graceful restart will result
> in this:
> 
>     /var/www/bin/apachectl graceful: httpd not running, trying to start
>     /var/www/bin/apachectl graceful: httpd started
> 
>     [Wed Dec 10 11:44:46 2003] [crit] (98)Address already in use: make_sock:
>     could not bind to port 80
> 
> Seems like apache keeps on logging for a while, since some httpd request are
> more than once in de logs at the time this weird problem occurs. Could be
> because clients keep reloading the page Apache won't serve. Since this is
> not a very busy webserver, logging either stops or visitors go away... I
> am not sure.
> 
> I stop the daemon with a "kill -HUP" and then start it again... all is fine
> then.
Note that a hangup/HUP signal is generally synonymous with a 'restart' -
generally if someone says 'I HUP'd the server' they mean they sent a
HUP/hangup signal to it to restart or 'bounce' it.  With this in mind
given your description of the problem above this is probably not what
you want to do.

More effective would be to send a KILL signal (signal 9) - for more info
on kill see your manpage for kill.

(also note though that how a process handles a given signal depends on
how the underlying code is written).

<snip>
> Apache 1.3.28 was already replaced by 1.3.29 (not a Debian package, but
> compiled from source). The motherbord and cpu is alse changed, but not
> because of this problem.
Perhaps try the debian package instead?

> Nothing is in the Crontab that could generate this error, I already checked.
> 
> After the accident I put server-status on and I'm logging its output hoping
> to see something when the problem happens again. Right now the server-status
> does not show any thing suspicious (see below this mail).
I was going to suggest you could add a 5min cronjob to test the status
of the server and if there's no response email you.

Given it's not a busy server though perhaps it might be best to just try
reinstalling from scratch (with the debian package)?

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/        - ipfw peruser traffic logging

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] [httpd] Undescribeble problems, but I'll try...

Posted by de...@elastic.nl.
----- Original Message ----- 
From: <de...@elastic.nl>
To: <us...@httpd.apache.org>
Sent: Friday, December 12, 2003 2:05 PM
Subject: [users@httpd] [httpd] Undescribeble problems, but I'll try...


> Hi there
>
> I have this really weird Apache Httpd problem
>
> When xx weeks/days have past, Apache just stops servering webpages. The
> daemon is still running and all seems OK. System load is normal and all
> other services just work perfectly.
>
> The daemon can not be restarted normally and a graceful restart will
result
> in this:
>
>     /var/www/bin/apachectl graceful: httpd not running, trying to start
>     /var/www/bin/apachectl graceful: httpd started
>
>     [Wed Dec 10 11:44:46 2003] [crit] (98)Address already in use:
make_sock:
>     could not bind to port 80
>
> Seems like apache keeps on logging for a while, since some httpd request
are
> more than once in de logs at the time this weird problem occurs. Could be
> because clients keep reloading the page Apache won't serve. Since this is
> not a very busy webserver, logging either stops or visitors go away... I
> am not sure.
>
> I stop the daemon with a "kill -HUP" and then start it again... all is
fine
> then.
>
> Some info about the apache on  a DEBIAN server:
> [Wed Dec 10 11:47:46 2003] [notice] Apache/1.3.29 (Unix) mod_macro/1.1.2
> AuthMySQL/2.20 PHP/4.3.4 mod_ssl/2.8.16 OpenSSL/0.9.6c configured -- 
> resuming normal operations
>
> Since it's a Debian server, there should be no more bugs in the OpenSSL
> module I use.
>
> Apache 1.3.28 was already replaced by 1.3.29 (not a Debian package, but
> compiled from source). The motherbord and cpu is alse changed, but not
> because of this problem.
>
> Nothing is in the Crontab that could generate this error, I already
checked.
>
> After the accident I put server-status on and I'm logging its output
hoping
> to see something when the problem happens again. Right now the
server-status
> does not show any thing suspicious (see below this mail).
>
> I tried to search with google, and in some dutch forums. But since I don't
> know
> what keywords I should use to find an answer, this didn't work out.
>
> Maybe I forgot some important details.. just ask and I will reply.
>
> Anyone suggestions? It would help :)
>
> Vaplu.
>
>
Since nobody reacted... this is an very unknown problem ???  :)


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org