I've spent several hours on this. I keep getting this error when attempting to start apache's default web:
I've scoured Google and everybody says to use netstat to find a proc using port 80 and to kill it, but netstat -lnp | grep '0.0.0.0:80' reveals nothing. In fact, netstat -lnp | grep '80' reveals nothing. Executing netstat -lnp (without grep) reveals some listening processes but nothing on port 80.Quote:
[root@fedora7vm ~]# httpd
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
A few people also suggested manually adding the log file(s). For the life of me I cannot comprehend why on earth Apache would be incapable of creating its own *#$% log file, but I created it anyway. Still no change.
I exec'd "yum remove httpd" and then "yum install httpd" and reinstalled the installed dependencies:
BackupPC noarch 2.1.2-7.fc6 installed 1.7 M
gnome-user-share i386 0.11-2.fc7 installed 104 k
httpd-manual i386 2.2.4-4.1.fc7 installed 3.4 M
mod_auth_mysql i386 1:3.0.0-3.1 installed 43 k
mod_perl i386 2.0.3-9.1.fc7 installed 6.2 M
mod_python i386 3.3.1-3 installed 1.5 M
mod_ssl i386 1:2.2.4-4.1.fc7 installed 173 k
php i386 5.2.2-3 installed 3.3 M
system-config-httpd noarch 5:1.4.3-1.fc7 installed 2.4 M
webalizer i386 2.01_10-32 installed 252 k
I've set both the Firewall and SELinux to Disabled, and after trying and failing again I rebooted with it disabled and it still failed.
Doing all this logged in as root. Config file attached. Any ideas???