The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Spam Assassin error logged when running cron task: /usr/lib/sa/sa2 -A

Discussion in 'General Discussion' started by Kent Brockman, Jan 10, 2014.

  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello guys. I started receiving this error a couple days ago (2014/01/08)

    Code:
    Subject: Cron <root@vps> /usr/lib/sa/sa2 -A
    Body:
    rm: cannot remove `/var/log/sa/sar27': Operation not permitted
    
    BTW, I checked this:

    Code:
    root [/var/log/sa/]# ls -l /var/log/sa/sar27
    ls: /var/log/sa/sar27: Input/output error
    s---rwS-wx 512 272433664 33591349 0 Jan 24  1971 /var/log/sa/sar27
    
    There are a bunch of numbered files with sequential date but this one is strange. It should have date 12/27/2013, but it's not.
    How can I delete it?

    And what are those group/user id's? should I be worried? are filesystem errors? how can I be sure?

    Thanks in advance!

    Update: googling further I found that the "sa" from /usr/lib/sa/sa2 is not from SpamAssassin. Actually is sar, instead.
    http://www.sarcheck.com/sarhowto.htm
    is this right?
     
    #1 Kent Brockman, Jan 10, 2014
    Last edited: Jan 10, 2014
  2. fabin

    fabin Active Member

    Joined:
    Nov 27, 2009
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Gods Own Country
    This has nothing to do with spam assassin or cPanel.

    sar is System Activity Report and comes with package sysstat.
     
  3. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Nevertheless, that weird file is impossible to delete. May be a disk problem?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The error message you provided indicates possible disk corruption. You can try reviewing /var/log/dmesg or /var/log/messages for additional information, or consult with your provider to see if running FSCK (File System Check) at boot time would be beneficial.

    Thank you.
     
  5. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello Michael, thanks for confirming my fears (disk problems).
    The /var/log/dmesg file appears with zero size.
    What should I look for in /var/log/messages?
    I will ask for a FSCK to my VPS provider...
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's more so /var/log/dmesg that you should pay attention to, however you can sometimes find "status timeout" messages in /var/log/messages that can indicate a failing hard drive. It's better to have your data center or system administrator investigate this to determine the specific cause of the problem.

    Thank you.
     
  7. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yep, I did, and they will schedule a FSCK in a nightly moment.
    Thank you!
     
Loading...

Share This Page