httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jain, Abhay K, INFOT" <>
Subject RE: [users@httpd] Apache 2.2.4 does not start - no errors
Date Thu, 18 Jan 2007 14:52:15 GMT
Found the following information from trace.

	bind (4, 0x14002fee0=<2/INET, 80,>, 16) = 0

It seems there is an attempt to bind to address
instead to the IP address of the machine. /etc/hosts
file does contain mapping of name to IP address.

-----Original Message-----
From: Krist van Besien [] 
Sent: Wednesday, January 17, 2007 4:59 AM
Subject: Re: [users@httpd] Apache 2.2.4 does not start - no errors

On 1/16/07, Jain, Abhay K, INFOT <> wrote:

> We had tried running with trace and last statement seem
> to be fork(). There was a pid associated with fork().
> Then next statement was exit(0).

When tracing a program you have to make sure it traces child processes
too, otherwise you will see what happens after the fork. Which option
you need to give to trace on your OS I don't know, so consult the man

On Solaris I use "truss -f" when tracing problems. The -f option tells
truss to follow children too.

One possible reason for your problem (I've seen this before) might be
the user and group directives in your httpd.conf. The default values
apache ships with (-1) is not suitable on some variants of Unix. Edit
your httpd.conf and make set the user and group to a real existing
user and group on your system. (nobody:nobody if exists will do fine,
but I usually create a apache user and www group).


Bremgarten b. Bern, Switzerland

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message