View Single Post
  #1  
Old 3rd June 2006, 01:04
marclar marclar is offline
Member
 
Join Date: Jun 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to marclar
Default ISPconfig error: ERROR: The syntax of your httpd.conf is not ok

i'm installing ISPconfig on debian 3.1. i've come to the problem which i cant solve. the error is:
Quote:
########## WEB SERVER ##########

Checking for program httpd...
/usr/bin/httpd
OK
Checking the syntax of the httpd.conf...
httpd: could not open document config file /etc/apache2/apache2.conf
ERROR: The syntax of your httpd.conf is not ok! Please correct the error. The installation routine stops here!
home:/usr/local/src/install_ispconfig#
the setup2 looks like this:

Quote:
echo "########## WEB SERVER ##########"
echo
which httpd > /dev/null
if [ $? != 0 ]; then
which apache > /dev/null
if [ $? == 0 ]; then
ln -s `which apache` /usr/bin/httpd
fi
which apache2 > /dev/null
if [ $? == 0 ]; then
ln -s `which apache2` /usr/bin/httpd
fi
fi

echo $q_httpd_check
which httpd
if [ $? != 0 ]; then
which httpd2
if [ $? != 0 ]; then
error "httpd not found!";
else
ln -s `which httpd2` /usr/bin/httpd
echo OK
fi
else
log "httpd found: `which httpd`"
echo OK
fi
fi ## install_art == install

echo $q_httpd_syntax_check
httpd -t
if [ $? != 0 ]; then
error "$q_httpd_syntax_check_not_ok";
fi
echo $q_httpd_syntax_check_ok
log "httpd syntax ok!"

if [ "$install_art" == "install" ]; then
the ./httpd -t command returns: Syntax OK!
the $PATH includes all the paths it should..

I simply don't know what else could be wrong..
Why does it say " could not open document config file /etc/apache2/apache2.conf" this folder doesnt exist on my server!
Where did he find that path?
I would really appreciate your help!

Thx
Reply With Quote
Sponsored Links