Can't start Apache

Wes Plate yellowdog-newbie@lists.terrasoftsolutions.com
Mon, 04 Aug 2003 11:53:23 -0700


On 8/4/03 11:26 AM, "Longman, Bill" wrote:

> Is httpd running?
> 
> ps -ef | grep httpd
> 
> should show you.

Thank you for your reply!

Yes, it is running.


> If it is running,
> 
> nmap localhost
> 
> will tell you which ports are running on localhost. If there's nothing on
> port 80, there's another problem. If you see any "filtered" ports, then your
> firewall is the culprit.

Here is what that command gives me...


Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on localhost.localdomain (127.0.0.1):
(The 1593 ports scanned but not shown below are in state: closed)
Port       State       Service
22/tcp     open        ssh
25/tcp     open        smtp
111/tcp    open        sunrpc
631/tcp    open        ipp
879/tcp    open        unknown
3306/tcp   open        mysql
6000/tcp   open        X11
10000/tcp  open        snet-sensor-mgmt


When I go to  YDL menu->System Settings->Server Settings->HTTP Server  it
tells me that it is listening to 80, but obviously it isn't.


> If you installed Everything, it might be your firewall software. Shut that
> down if you installed it. Once it's down,
> 
> iptables --list [run this as root].
> 
> Should just say policy ACCEPT for input, forward and output.
> 
> If it's not running, you should, check your config file
> [/etc/httpd/conf/httpd.conf]. You should have
> 
> Listen 80
> 
> somewhere in that file.


Yes, httpd.conf does say "Listen *:80"


:-(




-- 
Wes Plate
 Automatic Duck, Inc.
  http://www.wesplate.com
   http://www.automaticduck.com