Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default logrotate -d /etc/logrotate.conf hags

    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.
    -Albert

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by asmithjr View Post
    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.
    I recommend letting our technical analysts take a look at this for you: http://tickets.cPanel.net/submit

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by asmithjr View Post
    I did already, came up with same conclusion, nothing found to tell us why it takes so long to process.
    Please PM me the ticket ID number.

  4. #4
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default

    I did already, came up with same conclusion, nothing found to tell us why it takes so long to process.
    -Albert

  5. #5
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default

    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.
    Last edited by asmithjr; 05-18-2009 at 04:51 PM.
    -Albert

Similar Threads & Tags
Similar threads

  1. logrotate
    By dsb1972 in forum New User Questions
    Replies: 0
    Last Post: 07-07-2008, 11:04 PM
  2. On-going logrotate problems
    By verdon in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-09-2006, 09:47 AM
  3. Errors in logrotate.conf
    By CarlC in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-26-2005, 04:22 AM
  4. logrotate
    By JamesSmith in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-16-2003, 11:10 AM
  5. logrotate:
    By bert in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-11-2002, 07:48 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube