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
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..
You will have to rename the vhost configuration file before you run httpd -t as described here: http://www.howtoforge.com/forums/showthread.php?t=13596
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