[ILUG] Can't telnet localhost 80
John P. Looney
john at antefacto.com
Thu Apr 19 10:00:46 IST 2001
On Thu, Apr 19, 2001 at 09:49:43AM +0100, Brendan Halpin mentioned:
> httpd shouldn't be run from inetd, AFAIK, so I'm not worried not to
> find a ref to it in /etc/inetd.conf. There are entries for WWW on
> port 80 in /etc/services, though.
> /etc/hosts.{deny|allow} are empty.
> Tell me I'm missing something obvious, please!
Apache runs in "StandAlone" mode usually. Check your
/etc/httpd/conf/httpd.conf for a "ServerType standalone" option.
Run "netstat -nat" and look for things listening on port 80. That'll tell
you if apache is running. "ps auxww|grep httpd" should doa good job at
that too.
If it's not running, it could be that it's not enabled at boot. Run
"chkconfig --list httpd" And it'll tell you want runlevels it's enabled
at. Check the manpage to chkconfig to find out how to enable Apache.
If it's enabled, but not running, try start it manually.
"/etc/rc.d/init.d/httpd start" should start it. You may not need the rc.d/
bit, depending on the OS you are using.
Then, check /var/log/httpd/error_log for errors...
Kate
--
When I say 'free', I mean 'free': free from bond, of chain or command:
to go where you will, even to Mordor, Saruman, if you desire. "
-- Gandalf, paraphrasing the choice between Free and Non-free software
More information about the ILUG
mailing list