I've upgraded from SUSE 7.1 to 9.0 I was using logrotate 3.3, but things seems to changed in the version supplied with 9.0, and my .conf file doesn't seem to work. Looking at man I can't see why there is a problem. Can anyone help? Here is the first part of the .conf file to the section to where it blows out: # see "man logrotate" for details # rotate log files daily daily # keep 28 days worth of backlogs rotate 28 # send deleted files to alan # mail alan@ibgames.com mail alan # fed2 logfiles /var/opt/fed2d/log/fed2.log { olddir /var/opt/fed2d/backup/logs copytruncate } Errors shown using the -d parameter: reading config file /var/opt/fed2d/logrotate.conf reading config info for /var/opt/fed2d/log/fed2.log olddir is now /var/opt/fed2d/backup/logs error: /var/opt/fed2d/logrotate.conf:16 error verifying olddir path /var/opt/fed2d/log//var/opt/fed2d/backup/logs: No such file or directory /var/opt/fed2d/backup/logs does exist, and this run was done as root to rule out file permission problems. Any help or pointers to what I'm doing wrong gratefully accepted. Thanks alan -- http://www.ibgames.net/alan Registered Linux user #6822 http://counter.li.org Winding Down - Weekly Tech Newsletter - subscribe at http://www.ibgames.net/alan/winding/mailing.html
The Wednesday 2004-01-21 at 20:13 -0000, alan@ibgames.com wrote:
I was using logrotate 3.3, but things seems to changed in the version supplied with 9.0, and my .conf file doesn't seem to work. Looking at man I can't see why there is a problem. Can anyone help?
Notice there is an '/etc/logrotate.conf' file, but also an '/etc/logrotate.d' directory, where most of the actions is now.
Here is the first part of the .conf file to the section to where it blows out:
As you updated, check carefully mail sent to root: it will contain important news. Also, probably you have a '/etc/logrotate.conf.rpmnew' or similar, which is the file that would have got installed on a fresh install. Compare both files, and change as apropiate. In fact, mine is almost empty, everything on the directory. -- Cheers, Carlos Robinson
participants (2)
-
alan@ibgames.com
-
Carlos E. R.