Lenny upgrade - apache.conf messed up

Discussion in 'General' started by mxc, Jun 15, 2009.

  1. mxc

    mxc Member

    Hi all,

    During the upgrade from etch to lenny I replaced the apache.conf file. I copied the info from the line :


    ###############ispconfig_log###############
    LogFormat "%v||||%b||||%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{UserAgent}i
    \"" combined_ispconfig
    CustomLog "|/root/ispconfig/cronolog symlink=/var/log/httpd/ispconfig_access_log
    /var/log/httpd/ispconfig_access_log_%Y_%m_%d" combined_ispconfig

    .....

    into apache.conf but my /var/log/apache2/error.log is filling up with:


    "piped log program '/root/ispconfig/cronolog symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d' failed unexpectedly
    usage: /root/ispconfig/cronolog [OPTIONS] logfile-spec"


    Regards

    Mark
     
  2. mxc

    mxc Member

    ok so i commeted out the line in apache.conf that does the writing of the cronolog file.

    I also tried doing a chmod 777 on the /var/log/httpd file but no luck
     
  3. mxc

    mxc Member

    ok sorted the two -- where missing from the entry in apache.conf. Somehow they must have got deleted during the copy over?

    ie cronolog --symlink=..... instead of cronolog symlink=....
     

Share This Page