Re: apache won't start although no errors
On Sun, Feb 08, 2004 at 12:07:36AM +0530, Ritesh Raj Sarraf wrote......
> I too am having similar problems.
>
> executing /etc/init.d/apache start
> shows no errors. But apache isn't running. No telnet response on port 80. Nothing.
> Although apache-ssl works fine.
> apachectl configtest on my machine also results in "Syntax OK".
>
> plz help.
Through a lot of trial and error, I did manage to get back into a
running state. Actually, more like a limping state. Here's what I did:
1. copied my httpd.conf file to a backup
2. apt-get --reinstall install apache
3. copied my httpd.conf.backup back to httpd.conf
4. added the following lines
#LoadModule env_module /usr/lib/apache/1.3/mod_env.so
#LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
after the line
Include /etc/apache/modules.conf [around line 200+]
5. Note that these two lines are commented out. If I start apache with
/etc/init.d/apache start
it starts fine.
I then go back into httpd.conf and uncomment those two lines, and issue
/etc/init.d/apache restart
and it continues to work.
However, if now I go back into httpd.conf, and add the following line to
a virtual host directive:
SetEnv SQWEBMAIL_TEMPLATEDIR /home/vmail/sqwebmail
and restart once more, it all falls apart.
So for now I'm commenting out all the SetEnv lines and just taking a
breather. And hoping someone can shed a little more light on this.
Thanks
Kevin
Reply to: