PDA

View Full Version : Lenny upgrade - apache.conf messed up


mxc
15th June 2009, 14:16
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

mxc
15th June 2009, 17:05
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

mxc
15th June 2009, 17:10
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=....