I have installed apache server 2.0 installed on my machine. The problem is that it is not starting. when ever i try to start httpd with ./httpd start command it shows failed. then i tried using ./apachectl start it gives message that cant access httpd.pid file which is one of the directive in the httpd.conf. there is no such file available in location. then created a empty file at specified location and again done same procedure i got same result. then i deleted httpd.pid and done ./apachectl start it given no error. but again ./httpd start failed.
Please help me in this regard thanking you
Pravin Takpire
IC
*snip*
there is no such file available in location. then created a empty file at
specified location and again done same procedure i got same result.
then i deleted httpd.pid and done ./apachectl start it given no error. but again ./httpd start failed.
IMHO, httpd.pid file contains the process-id of the main Apache process. This file is made at a visible localtion that one would generally specify in httpd.conf so that the start-up and shutdown scripts for apache (apachectl) work.
If you cant find httpd.pid, it is almost certain that you haven't given the apache executable enough permissions to write this file.
Maybe you should also try giving your error logs a serious look.
Regards,
-ah