httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jain, Abhay K, INFOT" <jainab...@att.com>
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, 0.0.0.0>, 16) = 0

It seems there is an attempt to bind to address 0.0.0.0
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 [mailto:krist.vanbesien@gmail.com] 
Sent: Wednesday, January 17, 2007 4:59 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache 2.2.4 does not start - no errors

On 1/16/07, Jain, Abhay K, INFOT <jainabhay@att.com> 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
page.

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).

Krist

-- 
krist.vanbesien@gmail.com
Bremgarten b. Bern, Switzerland

---------------------------------------------------------------------
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


Mime
View raw message