The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

logrotate -d /etc/logrotate.conf hags

Discussion in 'General Discussion' started by asmithjr, May 14, 2009.

  1. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    trouble shooting why logrotate hangs I ran logrotate -d /etc/logrotate.conf and it stops at reading config info for /var/log/wtmp

    I tried commenting out the wtmp stuff in /etc/logrotate.conf and same trouble.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I recommend letting our technical analysts take a look at this for you: http://tickets.cPanel.net/submit
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Please PM me the ticket ID number.
     
  4. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    I did already, came up with same conclusion, nothing found to tell us why it takes so long to process.
     
  5. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    Update.
    I logged into another server I had. I looked at the /var/lib/logrotate.status. On the server the logrotate /etc/logrotate.conf ran fast on the file was really small and on this server having trouble it was huge. So I cut the file size down and guess what logrotate /etc/logrotate.conf ran almost instantly.


    I knwe there had to be something wrong. Oh well, lots of wasted hours on this one.
     
    #5 asmithjr, May 18, 2009
    Last edited: May 18, 2009
Loading...

Share This Page