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!

My /var/log/files are very strange - someone know what is it?

Discussion in 'General Discussion' started by IRCBrasil, Jan 23, 2006.

  1. IRCBrasil

    IRCBrasil Well-Known Member

    Joined:
    Jul 22, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    156
    HI, i dont know why, but the server is writing the logfiles wrong, look the name and data of each log:

    Code:
       4 -rw-------   1 root     root        0 Jan 22 04:03 boot.log
       4 -rw-------   1 root     root        0 Jan 15 04:03 boot.log.1
       4 -rw-------   1 root     root        0 Jan  8 04:03 boot.log.2
      36 -rw-------   1 root     root    32303 Jan 23 13:17 boot.log.3
       8 -rw-------   1 root     root      144 Dec 30 00:01 boot.log.4
    
    
    
       4 -rw-------   1 root     root        0 Jan 22 04:03 maillog
       4 -rw-------   1 root     root        0 Jan 15 04:03 maillog.1
       4 -rw-------   1 root     root        0 Jan  8 04:03 maillog.2
    9640 -rw-------   1 root     root  9849233 Jan 23 13:17 maillog.3
    2436 -rw-------   1 root     root  2482214 Jan  1 06:09 maillog.4
    
    
    
       4 -rw-------   1 root     root        0 Jan 22 04:03 messages
       4 -rw-------   1 root     root        0 Jan 15 04:03 messages.1
       4 -rw-------   1 root     root        0 Jan  8 04:03 messages.2
    7528 -rw-------   1 root     root  7691546 Jan 23 13:17 messages.3
    2512 -rw-------   1 root     root  2561209 Jan  1 07:02 messages.4
    
    
    
    
       4 -rw-------   1 root     root        0 Jan 22 04:03 secure
       4 -rw-------   1 root     root        0 Jan 15 04:03 secure.1
       4 -rw-------   1 root     root        0 Jan  8 04:03 secure.2
     992 -rw-------   1 root     root  1005856 Jan 23 13:17 secure.3
    2108 -rw-------   1 root     root  2147580 Jan  1 05:28 secure.4
    
    
       4 -rw-------   1 root     root        0 Jan 22 04:03 cron
       4 -rw-------   1 root     root        0 Jan 15 04:03 cron.1
       4 -rw-------   1 root     root        0 Jan  8 04:03 cron.2
    1140 -rw-------   1 root     root  1157703 Jan 23 13:15 cron.3
     308 -rw-------   1 root     root   303875 Jan  1 07:02 cron.4
    
    For example, the system should be writting on messages and not on messages.3

    Someone knows what to do? i never saw this before.

    Thank you!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    It's not doing the postrotate properly. Try:

    service syslog restart
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. IRCBrasil

    IRCBrasil Well-Known Member

    Joined:
    Jul 22, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    156
    wow great :)

    Tanks a lot for your help!
     
Loading...

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