Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jul 2004
    Posts
    95

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

    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. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    It's not doing the postrotate properly. Try:

    service syslog restart
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Jul 2004
    Posts
    95

    Default

    wow great

    Tanks a lot for your help!

Similar Threads & Tags
Similar threads

  1. Contents of /var/lib/mysql - Huge log files?
    By muppsy007 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-14-2009, 11:23 PM
  2. I've accidentally deleted the files in /var/log
    By quats in forum New User Questions
    Replies: 4
    Last Post: 03-12-2008, 08:19 AM
  3. Strange Message in /var/log/message
    By IRCBrasil in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 01-31-2007, 04:05 AM
  4. Strange Files in /var/spool/
    By northservers in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-29-2006, 04:19 PM
  5. I Can Delete /var/log/ this folder inside any files
    By lung3 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-12-2002, 11:59 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube