Errors in Vhosts_ispconfig.conf

Discussion in 'Installation/Configuration' started by danielos, Jul 4, 2007.

  1. danielos

    danielos New Member

    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
    [email protected]:/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 :)
  2. danielos

    danielos New Member

    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.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
  4. danielos

    danielos New Member

    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.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check the data in the isp_server table with phpmyadmin, if everything is configured for apache2 and not apache.
  6. danielos

    danielos New Member

    Thank's, update isp_server set dist_httpd_daemon='apache2'; made it :)

Share This Page