ISPconfig error: ERROR: The syntax of your httpd.conf is not ok

Discussion in 'Installation/Configuration' started by marclar, Jun 3, 2006.

  1. marclar

    marclar New Member

    i'm installing ISPconfig on debian 3.1. i've come to the problem which i cant solve. the error is:
    the setup2 looks like this:

    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:confused:
     
  2. falko

    falko Super Moderator Howtoforge Staff

    The installer found this path in the output of
    Code:
    httpd -V
    Why does /etc/apache2/apache2.conf not exist on your server? Did you delete it manually?
     
  3. marclar

    marclar New Member

    no, I don't remember deleting it! The folder just dont exist. But apache, works fine! Is there any way to fix this problem?

    On the server, there are two httpd's. One is in /usr/bin/httpd, and one is at /usr/local/apache/bin/httpd
    The first httpd -V gives the value SERVER_CONFIG_FILE="/etc/apache2/apache2.conf" ----> that's where the problem is
    and the second httpd -V gives SERVER_CONFIG_FILE="conf/httpd.conf" ---> which i suppose is right

    But the ./setup uses the first httpd, (/usr/bin/httpd), so it returns error, couse there is no /etc/apache2/apache2.conf

    How to tell the setup process to use the second httpd, which is located in /usr/local/apache/bin/ ???
     
    Last edited: Jun 3, 2006
  4. falko

    falko Super Moderator Howtoforge Staff

  5. marclar

    marclar New Member

    I dont remember how i installed apache, with apt-get I think.. so you think there is no other way, than removing apache, and install it again? How do I actually remove the apache? By deleting all the files, that are connected with apache? :( :confused: :( :confused:
     
  6. falko

    falko Super Moderator Howtoforge Staff

    That depends on how you installed it...
    If the server isn't a production server yet, I suggest you reinstall it and follow the "Perfect Setup".
     

Share This Page