Quote:
Originally Posted by hkabir269
httpd.conf is ok
[root@station ~]# httpd -t
Syntax OK
[root@station ~]# /etc/init.d/httpd start
Starting httpd: [FAILED]
[root@station ~]# service httpd start
Starting httpd: [FAILED]
[root@station ~]#
Humayun Kabir
|
1) httpd -t only checks syntax, it does not validate that (for example) directory paths are valid. An invalid directory path will prevent httpd from starting.
2) (as has been mentioned) httpd won't start if it is already running. Do
Code:
ps -ef | grep httpd
to see if it's already running.
3) The reason it isn't started should be evident in the log files. They might (or might not, you didn't tell us what distro you're using) be
in
directory. The location is defined in your httpd.conf