Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I need your help with logrotate. When I test the rotation of a log, I get the following error: access.log too large, probably not a config file But looking ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2012
    Posts
    3

    Logrotate Error: file too large


    Hi, I need your help with logrotate.

    When I test the rotation of a log, I get the following error:
    access.log too large, probably not a config file


    But looking at this file, it's only ~33MB in size:
    -rw------- 1 root root 34040807 2012-11-02 17:46 access.log


    Any Ideas where logrotate is getting stuck?

  2. #2
    Just Joined!
    Join Date
    Nov 2012
    Posts
    3
    Nevermind, I figured this one out. the config file and the log file were out of order in the command. I am running into a new error, though, if anyone has thoughts:


    error: bad top line in state file

  3. #3
    Just Joined!
    Join Date
    Jul 2008
    Posts
    93
    Unfortunately, none of us can read your state file or config file. That makes it really hard to give advice.

  4. #4
    Just Joined!
    Join Date
    Nov 2012
    Posts
    3
    User error again. i had a typo in the state file. thanks for responding.


    Quote Originally Posted by clowenstein View Post
    Unfortunately, none of us can read your state file or config file. That makes it really hard to give advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •