PDA

View Full Version : Errors in Vhosts_ispconfig.conf


danielos
4th July 2007, 02:53
I'm gettings these errors from ispconfig.log:

Line 2418: WARNING: could not httpd -t &> /dev/null
04.07.2007 - 01:13:44 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2429: httpd syntax seems to contain errors, reloading with old configuration
04.07.2007 - 01:13:44 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2430: mv -f /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf_04-07-07_01-13-44
04.07.2007 - 01:13:44 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2431: mv -f /etc/apache2/vhosts/Vhosts_ispconfig.conf~ /etc/apache2/vhosts/Vhosts_ispconfig.conf

and I'm getting:
apache2ctl configtest
Syntax OK
root@paris:/etc/apache2/vhosts# httpd -t
Syntax OK

I have been looking to the Vhosts_ispconfig.conf file but I don't find any errors.

I would be happy for help :)

danielos
4th July 2007, 03:23
I found the error in the panel, but since I have upgraded to apache2 from apache I´m getting:
Line 728: WARNING: could not /etc/init.d/apache reload &> /dev/null

I made a symlink from /etc/init.d/apache2 but it did'nt help.

till
4th July 2007, 11:05
Please chenage on e of your websites and save it. ISPConfig has to write new config files for apache 2 as the format is not identical with apache 1.

danielos
4th July 2007, 11:40
Yes, the format of the apache config is correct and has the apache2 format, but how can I change so ispconfig later makes a /etc/init.d/apache2 reload
instead of /etc/init.d/apache reload which does not work.

till
4th July 2007, 11:51
Please check the data in the isp_server table with phpmyadmin, if everything is configured for apache2 and not apache.

danielos
4th July 2007, 12:02
Thank's, update isp_server set dist_httpd_daemon='apache2'; made it :)