From: Jamie C. <jca...@we...> - 2007-04-27 17:02:41
|
On 27/Apr/2007 07:49 Andrea Lanza wrote .. > Hi all, I am getting this error when i Force log rotation of ANY scheduled > rotation (or force log rotation of all files) > > error: /tmp/.webmin/610334_1_save_log.cgi:6 lines must begin with a keyword > or a filename (possibly in double quotes) > > when I go and look for that file, it does not exist (probably already > deleted) > > I see it exists a file named: > > /usr/libexec/webmin/logrotate/save_log.cgi > > In its 6th line I can read: > > &ReadParse(); > > (Actually I don't know if /usr/libexec/webmin/logrotate/save_log.cgi is > related to /tmp/.webmin/610334_1_save_log.cgi) > > I am using Webmin version 1.340, on Suse Linux 10.1 64 bit > > Linux appmi01 2.6.16.27-0.9-smp #1 SMP Tue Feb 13 09:35:18 UTC 2007 x86_64 > x86_64 x86_64 GNU/Linux That file in /tmp/.webmin is a temporary written out by Webmin, which is supposed to contain just the logrotate.conf section for the log file being rotated. However, there may be some error or un-expected data in logrotate.conf that Webmin isn't parsing properly, which causes this error. Could you post the contents of your /etc/logrotate.conf file to the list? - Jamie |