Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache

Status
Not open for further replies.

Vespasian

Programmer
Aug 25, 2006
2
US
Installed apache and sql-ledger on a brand new install of RH7.2. I had to
install a bunch of perl modules and latex and make some changes to the
http.conf file, after which apache will not restart. Here is the output in
the error_log file:
[Mon May 6 00:21:33 2002] [crit] (98)Address already in use: make_sock:
could not bind to port 80

Service shows httpd dead but subsys locked, so I rm'ed the lockfile and
again nothing.

Netstat shows no action on port 80, nor anything for either apache or
httpd

Telnet connection on port 80 is refused

The changes to the apache conf file have nothing to do with the port. They
are AddHandler server directives for the .pl scripts.

Any ideas on what I'm missing here?

TIA
 
Hi,
I had a similar problem, and first tried a different port number in httpd.conf which worked ok. Then I did a ps -aux which showed an earlier version of httpd running and I killed the root process which killed the nobody daemons also. Then changed httpd.conf back to 80 and all was well.
Might not be the answer, but changing the port will prove whether the service will start.
Did you run apachectl configtest to check all the syntax was correct too.
Best,
kev
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top