httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Coby" <jc...@listingbook.com>
Subject Re: [users@httpd] Problem in the starting
Date Wed, 02 Oct 2002 19:43:26 GMT
Run `netstat -lp --numeric-ports | grep LISTEN | grep 80` as root.

Do you see any output like:
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
29351/httpd

If so, you've already got something listening on port 80 (HTTP) already, and
need to shut it down before apache can start.  In this case, I have a
program named httpd running as pid 29351.

You can then find out what program has bound itself to port 80 with that
pid:

`ps ef | grep 29351` where 29351 is the pid from above

You will then get some output like:
root     29351     1  0 Sep27 ?        00:00:54
/usr/local/apache/bin/httpd -DSS
nobody   31217 29351  2 15:35 ?        00:00:07
/usr/local/apache/bin/httpd -DSS
nobody   31218 29351  0 15:35 ?        00:00:02
/usr/local/apache/bin/httpd -DSS
[snip]

The first line is the full path to the running process that has bound itself
to port 80 and is not allowing apache to start :)

You've got some other minor issues (name resolution and error logs), but we
can tackle those once you've got httpd running.

----- Original Message -----
From: "Edgard Dapás" <edapas@telecompersonal.com.ar>
To: <users@httpd.apache.org>
Sent: Wednesday, October 02, 2002 3:22 PM
Subject: [users@httpd] Problem in the starting



Hi !!!
I just finished to install my Apache 2.0 on a Red Hat 7.1

When I try to start the Apache server I get this error message

[root@LINUX1 bin]# ./apachectl start
httpd: Could not determine the server's fully qualified domain name, using
127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address
10.101.1.138:80
no listening sockets available, shutting down
Unable to open logs

Please, help me



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