Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  logrotate on aix server

    Posted Mon October 14, 2024 03:20 AM

    -- How to install and configure logrotate on aix server

    -- We need logs to be captured in plain text format

    -- Plain text format logs should be rotated to other filesystem.



    ------------------------------
    Milind Sarkate
    ------------------------------

    #AIXOpenSource


  • 2.  RE: logrotate on aix server

    Posted Tue October 15, 2024 04:43 AM

    you can install logrotate using dnf command:

    dnf install logrotate

    Depending on your requirements you can configure logrotate using logrotate.conf file. There are plenty of manuals how to do it in the Internet. 



    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------



  • 3.  RE: logrotate on aix server

    Posted Tue October 15, 2024 04:45 AM

    Hi,

    Logrotate is provided as part of the AIX Opensource toolbox.  You can install it via dnf, see this page on how to get started - https://www.ibm.com/support/pages/aix-toolbox-open-source-software-get-started.

    After installing logrotate you then configure it to your requirements, this is a useful page for this https://ijalba.wordpress.com/2017/04/06/logrotate-2-configure-logrotate-for-aix/.  Do note, that there are a number of log files on AIX that are not plain text eg wtmp & alog files.

    Phill.



    ------------------------------
    Phill Rowbottom
    ------------------------------