Hello, I am getting a lot of this in the ispconfig.log file 12.10.2005 - 16:07:08 => INFO - Signalfile Set: insert 12.10.2005 - 16:07:12 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 251: setquota -g web16 10240 10240 0 0 -a &> /dev/null 12.10.2005 - 16:07:12 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 270: Connected successfully 12.10.2005 - 16:07:13 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 136: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~ 12.10.2005 - 16:07:26 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 283: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~ 12.10.2005 - 16:07:26 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 288: postmap hash:/etc/postfix/virtusertable 12.10.2005 - 16:07:27 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1191: cp -fr /usr/local/apache2/conf/vhosts/Vhosts_ispconfig.conf /usr/local/apache2/conf/vhosts/Vhosts_ispconfig.conf~ 12.10.2005 - 16:07:28 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1796: WARNING: could not httpd -t &> /dev/null 12.10.2005 - 16:07:30 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2337: httpd -t &> /dev/null 12.10.2005 - 16:07:30 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2339: httpd syntax ok 12.10.2005 - 16:07:31 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/httpd reload &> /dev/null 12.10.2005 - 16:07:31 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1821: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~ but when I type httpd -t it returns -Syntax OK- I must be missing something but I don't know what. any comments? I am quite a beginner so please forgive me if I am asking a stupid question. Thanks, M
This just means that ISPConfig tries to write some directive to your Apache configuration, but before restarting Apache it checks if this directive is compatible. If not (as in this case), it removes that directive (so that Apache can restart) and issues this warning in the log. Nothing to worry about.
OK. Is there a way I can find out which directive ISPconfig is trying to write that is not compatible with my Apache configuration? I just want to be sure that it is not something that should be there but is not due to some apache misconfiguration on my part. Thanks M
In the directory /etc/apache/vhosts or /etc/apache2/vhosts you will find vhost config files with a date string in the name, these files where created when httpd -t fails. Make a backup of the file Vhosts_ispconfig.conf, then rename one of the versions with date in the filename to Vhosts_ispconfig.conf and run httpd -t. Make shure you copy back your backuped version of Vhosts_ispconfig.conf!