Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Sep 2002
    Posts
    580

    Default rootmail: Cannot open /var/log/sa/sa26: No such file or directory

    What does this error mean, I get it about every 15 minutes:

    Cannot open /var/log/sa/sa26: No such file or directory


    Cannot open /var/log/sa/sa28: No such file or directory

    The number behind sa varies, but all files are there.

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default

    Perhaps spam assassin is attempting to write a log file? If so, make sure a directory exists with correct ownership/permissions to see what gets written there.

    cPanel.net Support Ticket Number:

    The rest of those who have gone before us cannot steady the unrest of those to follow.

  3. #3
    Member
    Join Date
    Sep 2002
    Posts
    580

    Default

    The sa dir was gone, after recreation error dissappeared.

    cPanel.net Support Ticket Number:

  4. #4
    Member nyjimbo's Avatar
    Join Date
    Jan 2003
    Location
    New York
    Posts
    1,105

    Exclamation

    Check to see if your other logs or directories are gone too. If so then you might want to check to see if you have been hacked.

    Its rare that a directory will blow away unless it was done by a disk check/cleanup like fsck. Often when a hacker gets into a system they will go and blow out /var/log to hide what they did.



    cPanel.net Support Ticket Number:
    "A dog has raised it’s hind leg on the age of nevermore !"
    -- Rolf

  5. #5
    Member
    Join Date
    Sep 2002
    Posts
    580

    Default

    Compared to another server also are missing:

    cups
    httpd
    samba
    squid
    vbox

    cPanel.net Support Ticket Number:

  6. #6
    Member nyjimbo's Avatar
    Join Date
    Jan 2003
    Location
    New York
    Posts
    1,105

    Default

    What about the normal log files themselves, like maillog, messages, etc ?.

    I run freebsd so I dont know if you would have the same naming conventions, but I would think there would be several dozen files in the main /var/log

    Also look in your /tmp for anything unusual. You should also check /root for anything updated in the past 24 hours
    and if you have console access run a "last" to see who was on recently.
    "A dog has raised it’s hind leg on the age of nevermore !"
    -- Rolf

  7. #7
    Member
    Join Date
    Sep 2002
    Posts
    580

    Default

    Yes all the usual files like messages, maillog, security etc are there.

    cPanel.net Support Ticket Number:

  8. #8
    Member nyjimbo's Avatar
    Join Date
    Jan 2003
    Location
    New York
    Posts
    1,105

    Default

    I would still be a bit concerned. See if any new users were added to the main passwd file in /etc, do a ps ax to see if anything weird is running.

    If you are running process accounting, run a :

    sa -a | more

    see if anything weird is listed. If you are not familiar with alot of the programs on your system they will all look weird, but chances are if a hacker ran alot of crap or left something running you might see it in "sa".

    cPanel.net Support Ticket Number:
    "A dog has raised it’s hind leg on the age of nevermore !"
    -- Rolf

Similar Threads & Tags
Similar threads

  1. Cannot open main log file "/var/log/exim_mainlog"
    By fawez in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-28-2011, 03:30 AM
  2. Replies: 11
    Last Post: 12-11-2009, 11:34 AM
  3. tail: cannot open `/var/log/mysqld.log' for reading: No such file or directory
    By Silver_2000 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-02-2006, 12:25 PM
  4. How to fix : Cannot open /var/log/sa/sa18: No such file or directory
    By isputra in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-25-2003, 08:35 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube