AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  Use logrotate on AIX

    Posted Thu January 25, 2007 02:25 AM

    Originally posted by: SystemAdmin


    Hi,

    I've installed [b]logrotate[/b] from AIX PDSLIB on several systems (AIX 5.1 and AIX 5.3). I've fisrt used binary 5.1 version. After that, I've compiled the source version. In both cases, it seems to work well but no rotation is done :
    code# /usr/local/sbin/logrotate -vf /etc/logrotate.conf
    reading config file /etc/logrotate.conf
    including /etc/logrotate.d[/code]

    and I have a return code of 1 :
    code# echo $?
    1[/code]

    but no other message.

    Does anyone know what's going wrong ? A failing file ? An incomplete path ?

    Thanks.
    #AIX-Forum


  • 2.  Re: Use logrotate on AIX

    Posted Mon March 19, 2007 10:56 AM

    Originally posted by: nagger


    Did you ever get to the bottom of this?
    What was in your logrotate.conf file?

    More please, N
    #AIX-Forum


  • 3.  Re: Use logrotate on AIX

    Posted Thu April 19, 2007 12:18 PM

    Originally posted by: SystemAdmin


    Hi!

    U need only the popt rpm package! Or from aixpdslib.
    #AIX-Forum