Linux / UNIX Tech Support Forum
This is a discussion on Fedora httpd not working within the Web servers forums, part of the Mastering Servers category; Hi, I'm a newby so forgive me if this is an absolute dumb question. I just installed fedora core 8 ...
|
|||||||
| Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
| Sponsored Links | ||
|
|
|
||||
|
Hi,
May be firewall is blocking port 80, enter following to disable firewall for testing purpose: Code:
service iptables stop lynx localhost
__________________
Vivek Gite Linux Evangelist |
|
|||
|
That did it.
How could I have forgotten this. Thank you very much. My server is already behind a firewall so I completely disabled the firewall. lynx localhost didn't work but from an external machine I do get a nice webpage. Regards, Werner |
![]() |
| Tags |
| apache , fedora , firewall , httpd redhat connect problems newby , iptables |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| httpd.conf deleted! How to re-generate? Any Scripts? | vivekv | Shell scripting | 1 | 17-07-2008 05:13 PM |
| httpd.conf deleted! How to re-generate? | vivekv | Getting started tutorials | 2 | 17-01-2008 03:45 PM |
| httpd process | vimalgoel | Getting started tutorials | 1 | 08-10-2007 12:40 AM |
| HTTPD dead but subsys locked | surmandal | Web servers | 10 | 31-07-2007 08:53 AM |
| logwatch httpd | kavi2 | Linux software | 3 | 22-09-2005 09:28 PM |