Opensource logrotate utility for AIX

Technote (FAQ)


Question

How can I rotate error log or other log files?

Cause

Ability to rotate log files to prevent unchecked growth and filesystem space usage.

Answer

*** UNSUPPORTED *** UNSUPPORTED *** UNSUPPORTED ***

Disclaimer
==========

Information in this document is correct to the best of our knowledge at the
time of this writing. Please use this information with care. IBM will not be
responsible for damages of any kind resulting from its use. The use of this
information is the sole responsibility of the customer and depends on the
customer's ability to evaluate and integrate this information into the
customer's operational environment.



There is an open source utility called 'logrotate' which can be installed on AIX in the form of an RPM and used for rotating log files. Once installed, the /etc/logrotate.conf file can be configured per your needs and a cron job configured to call logrotate run at the desired intervals.
                                                                        
The logrotate for AIX RPM can be obtained at http://www.perzl.org/
                                                                        
It should come with a README on how to configure, but the following website has an easy to follow guide to configuration of logrotate...

http://www.perzl.org/aix/index.php?n=Main.Logrotate
                        
Additional information on logrotate may be found on the IBM developerWorks:Forum...

https://www.ibm.com/developerworks/forums/index.html


The logrotate utility is not an IBM product and is unsupported but IBM, however some customers have indicated they have used it with success. Please install and use logrotate at your own risk.

*** UNSUPPORTED *** UNSUPPORTED *** UNSUPPORTED ***

Rate this page:

(0 users)Average rating

Document information


More support for:

AIX family

Software version:

Version Independent

Operating system(s):

AIX

Reference #:

T1012796

Modified date:

2011-06-06

Translate my page

Machine Translation

Content navigation