Balaji wrote:
I have tried with the following command
logrotate -d /etc/logrotate.conf
I am not sure what is the problem and can you explain me
There is no problem. logrotate ran and determined it doesn't
need to do anything, so it didn't. logrotate maintains a state
file for things it has
Why today logrotate is not happen and Where can i verify the Logrotate
state
Regards
-S.Balaji
nate wrote:
Balaji wrote:
I have tried with the following command
logrotate -d /etc/logrotate.conf
I am not sure what is the problem and can you explain me
There is no problem.
I have tried with the following command
logrotate -d /etc/logrotate.conf
I am getting the following message on the screen
renaming /backup/remotebkp/log/bkpstatus.log to
/backup/log/corview//bkpstatus.log.1
creating new log mode = 0644 uid = 910 gid = 910
error: unable to open
Why today logrotate is not happen and Where can i verify the Logrotate
state
The logs are not necessarily rotated every day.
The default in /etc/logrotate.conf is weekly.
Look in /etc/logrotate.d for specific log rotation settings.
HTH
___
CentOS
Dear All,
Currently i am using CentOS 4.4 Linux
Logrotate is not happen without -f option
I have executed the following logrotate /etc/logrotate.conf manually and
Logrotate command exit without any error messages
If i executed with -f option then Logrotate will happen
I am not sure why
Balaji wrote:
Dear All,
Currently i am using CentOS 4.4 Linux
Logrotate is not happen without -f option
I have executed the following logrotate /etc/logrotate.conf manually and
Logrotate command exit without any error messages
If i executed with -f option then Logrotate will happen
I have tried with the following command
logrotate -d /etc/logrotate.conf
and i am getting the following message on the screen
rotating pattern: /var/log/messages /var/log/mgetty.log.ttyS1 weekly
(38 rotations)
olddir is /var/log/corview/, empty log files are rotated, old logs are
removed
7 matches
Mail list logo