Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    507
    Likes Received:
    4
    Trophy Points:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    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,216
    Likes Received:
    10
    Trophy Points:
    313
    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:
    507
    Likes Received:
    4
    Trophy Points:
    168
    I did already, came up with same conclusion, nothing found to tell us why it takes so long to process.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    507
    Likes Received:
    4
    Trophy Points:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #5 asmithjr, May 18, 2009
    Last edited: May 18, 2009
Loading...
Similar Threads - logrotate logrotate conf
  1. Fireminds Ltd.
    Replies:
    3
    Views:
    1,241

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice