apache fail to load due bad httpd.conf file

Discussion in 'Installation/Configuration' started by Hellbound, Apr 14, 2006.

  1. Hellbound

    Hellbound New Member

    hi guys
    I've followed the guide to install ispconfig however it failed to load apache, I replaced the original http.conf file and it did loaded...

    so if you can take a look where is the problem in the file since I couldn't find the message for which line is the cause

    thanks
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    httpd -t

    with your not functioning httpd.conf in place.
     
  3. Hellbound

    Hellbound New Member

    it says:
    Syntax OK


    but before I do the first reboot I get this error for starting httpd:

    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Starting httpd:
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Is this a fresh installtion of ISPConfig?

    Try to:

    cd /
    /etc/init.d/httpd start

    (replace the name of the httpd start script with the name used on your server, e.g httpd, apache or apache2)
     
  5. falko

    falko Super Moderator Howtoforge Staff

    You're trying to start Apache from a directory that has been deleted in the meantime, that'S why you get the error messages. They have nothing to do with your Apache, it shourd work fine, so you can use your "not working" (which in fact is working) httpd.conf without problems. :)
     

Share This Page