View Single Post
  #1 (permalink)  
Old 28th August 2008, 11:08 PM
connecties connecties is offline
Junior Member
 
Join Date: Aug 2008
OS: Fedora8
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
connecties is on a distinguished road
Unhappy Fedora httpd not working

Hi,

I'm a newby so forgive me if this is an absolute dumb question.

I just installed fedora core 8 (also tried 9 with same result)
with the webserver package enabled.

When I first start linux httpd is NOT running although I am in runlevel 3 and there is a Sxxhttpd in the rc3.d directory.

After starting httpd manually with /etc/rc.d/init.d/httpd start I get an [OK].

ps aux | grep http results in:
root 2695 0.1 1.0 27096 10560 ? Ss 16:09 0:01 /usr/sbin/httpd
apache 2697 0.0 0.5 27096 5328 ? S 16:09 0:00 /usr/sbin/httpd
apache 2698 0.0 0.5 27096 5328 ? S 16:09 0:00 /usr/sbin/httpd
apache 2699 0.0 0.5 27096 5328 ? S 16:09 0:00 /usr/sbin/httpd
apache 2700 0.0 0.5 27096 5328 ? S 16:09 0:00 /usr/sbin/httpd
apache 2701 0.0 0.5 27096 5328 ? S 16:09 0:00 /usr/sbin/httpd
apache 2702 0.0 0.5 27096 5328 ? S 16:09 0:00 /usr/sbin/httpd
apache 2703 0.0 0.5 27096 5328 ? S 16:09 0:00 /usr/sbin/httpd
apache 2704 0.0 0.5 27096 5328 ? S 16:09 0:00 /usr/sbin/httpd

If I do : netstat -tulpn | grep 80 I get:

tcp 0 0 10.0.1.80:80 0.0.0.0:* LISTEN 2695/httpd

I created in the web root (/var/www/html) a simple webpage:
<html><body>hi</body></html>

If I run lynx on the server itself with:
lynx localhost

I get:
Unable to connect to remote host

Also connecting from another computer does not work.
ponting a browser to <ipaddress> results in "Unable to reach host"

I can ping the server, I can ssh to the server.

So what am I missing?

Kind regards,
Werner
Reply With Quote