10 More Discussions You Might Find Interesting
I have installed logrotate rpm on Aix 6.1.
After the installation of rpm, I don't find /etc/logrotate.conf file and /etc/logrotate.d dir .
The config file is located in /opt/freeware/etc/logrotate.conf.
When I ran
logrotate -v /opt/freeware/etc/logrotate.conf
I get below... (2 Replies)
Discussion started by: snchaudhari2
2. Shell Programming and Scripting
I have written script which is working in Home directory perfectly and also compressing log files and rotating correctly. But, when i try to run script for /var/log/ i am able to get compressed log files but not able to get rotation of compressed log files. Please suggest.
I am using below command... (5 Replies)
Discussion started by: VSom007
We've had new servers coming in and one of the requirement was to keep logs for up to 8 months. I know logrotate can do the job, but by default (on Suse Enterprise10, 11) we have these logs in /etc/logrotate.d dir as default logs which are rotated:
-rw-r--r-- 1 root root 140 Jul... (0 Replies)
Discussion started by: hedkandi
4. UNIX for Dummies Questions & Answers
the 'rotate' setting in my logrotate configurations is being ignored when run from the crontab.
I have tested my configurations using the "-d" option, the rotation count is working when I do the test.
Here are my configuration settings, is there anything I am doing wrong?
# cat -n... (5 Replies)
Discussion started by: frankkoenen
5. Shell Programming and Scripting
How to logrotate irrespective of the size of a file/directory...?
Please help me in this regard... (4 Replies)
Discussion started by: Dedeepthi
Hi I am trying to rotate specific log by using logrotate function in unix
I have made following entry in the /etc/logrotate.conf file
But only issue is that my other logs like /var/log/messages,... (2 Replies)
Discussion started by: SiddhV
7. UNIX for Advanced & Expert Users
I want to rotate the logfiles which are located in /var/log/jboss/tomcat*
so I have created a file named as 'tomat' in /etc/logrotate.d/tomcat with the following content.
# cat /etc/logrotate.d/tomcat
... (2 Replies)
Discussion started by: skmdu
8. UNIX for Advanced & Expert Users
i configured log rotate for a specific file.
i configured create a file in logrotate.d
# cat /etc/logrotate.d/sauer
#this is a logrotate configuration file for msu_ng logs
... (5 Replies)
Discussion started by: modcan
9. UNIX for Advanced & Expert Users
I have been mailing myself logs for a while, but just ran into a problem because of a process that cannot HUP its log. (I realize thats why they implemented the "copytruncate" option in the first place)
When I use logrotate with "copytruncate" and "compress" there is a problem. The "myScript"... (0 Replies)
Discussion started by: jjinno
10. UNIX for Dummies Questions & Answers
recently,i am puzzled by a question .when i create a new file named by /etc/logrotate.d/debug. The cont. is listed as follow:
/bin/kill -HUP `cat... (0 Replies)
Discussion started by: icehero