[CLUE-Tech] Apache question

Jeff Falgout JFalgout at co.jefferson.co.us
Tue Mar 16 13:59:26 MST 2004


>>> franx at qwest.net 3/16/2004 12:21:53 PM >>>
> Is apache running? What does 'netstat -na | grep 80'  show?

Jeff, here's what is shows:

>
Password:
[root at dannyp root]# netstat -na | grep 80
unix  2      [ ACC ]     STREAM     LISTENING     1924 
/tmp/orbit-franx/linc-3
>

It doesn't look like apache is running. This is what you
should see among the output:

tcp        0      0 0.0.0.0:80              0.0.0.0:*              
LISTEN

Not sure about yellowdog, but there should be an init 
script somewhere - I'd look in /etc/init.d (looks like it's
similar to RedHat). There should be a script called httpd.
Run the command:   ./httpd configtest

You should see output like this if everything is ok in
httpd.conf:
[root at morpheus init.d]# ./httpd configtest
Syntax OK

If that looks good, then run ./httpd start

If you logs are in /var/log/httpd you can also
run ./httpd start; tail -f /var/log/httpd/error.log
and watch to see what happens.



More information about the clue-tech mailing list