httpd syntax seems to contain errors, reloading with old configuration

Discussion in 'Installation/Configuration' started by dimitar, Jan 2, 2008.

  1. dimitar

    dimitar New Member

    Hi all,

    happy new 2008!

    i have a little problem here on 1 of my servers running debian etch 32bit and ispconfig 2.2.18

    on the server there are more than 300 sites, but lastly after i added a new domain i got shared IP page when trying to access it via web (the domain points to the server).

    in the ispconfig log i found these disturbing lines:
    Code:
    02.01.2008 - 10:20:39 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2447: WARNING: could not httpd -t  &> /dev/null
    02.01.2008 - 10:20:39 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2458: httpd syntax seems to contain errors, reloading with old configuration
    
    ... but after running httpd -t manually there is no error, only warning:
    Code:
    [Wed Jan 02 10:35:11 2008] [warn] VirtualHost 192.168.0.110:80 overlaps with VirtualHost 192.168.0.110:80, the first has precedence, perhaps you need a NameVirtualHost directive
    Syntax OK
    
    ... running /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php gives back:
    Code:
    start
    ende
    
    do you have any suggestions?

    Thanks!

    best regards
     
  2. madmucho

    madmucho ISPConfig Developer ISPConfig Developer

    Thats looks like you have same virtual domain twice.
    Try to parase saved configuration vhost....ispconfig saves changes to separate file before reload last working configuration..
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

  4. dimitar

    dimitar New Member

    Thanks,

    i have used the post you pasted and followed it.
    The problem was that i had an apache optional directive with typo error.

    Regards
     

Share This Page