need help setting up apache on fedora core

fishjie

Senior member
Apr 22, 2006
234
0
76
www.youtube.com
Hello, I'm not sure if this is in the right forum. Please move this topic if its not. I've been meaning to learn linux, and aside from using it a couple of times when I was in school, I've mostly used windows. I got fedora core installed on my computer (not sure how to determine what version), and am trying to get apache working.

Right now localhost and 127.0.0.1 does not resolve. I created an index.html in the /var/www/html/ directory.

So first I checked httpd.conf:
/sbin/service httpd configtest
Syntax OK

Then I checked the service:
/sbin/service httpd status
httpd is stopped

So then I tried /etc/init.d/httpd start. I get the error:

Starting 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

So
1. How do I determine what processes are using port 80?
2. How do I troubleshoot logs not working? Where are logs written to?

Any help would be greatly appreciated. Thanks!