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.

File 'failures.MYD' not found (Errcode: 2)

Discussion in 'E-mail Discussions' started by alexandz, Sep 21, 2012.

  1. alexandz

    alexandz Well-Known Member

    Joined:
    Oct 28, 2011
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Hello!

    I have an error with one of the tables eximstats:

    myisamchk: File 'failures.MYD' not found (Errcode: 2)
    myisamchk: error: File 'failures.MYI' does not exist

    We try to repair but it did not work, I went to check the / var / lib / mysql / eximstats / but failures.MYD file does not exist, I can do in that case.
     
  2. pwhjenny

    pwhjenny Well-Known Member

    Joined:
    Aug 31, 2012
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    You can try

    In order to repair use,

     
  3. alexandz

    alexandz Well-Known Member

    Joined:
    Oct 28, 2011
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    It turned out, I got the same error


    mysql> check table failures;
    +--------------------+-------+----------+--------------------------------------------------------+
    | Table | Op | Msg_type | Msg_text |
    +--------------------+-------+----------+--------------------------------------------------------+
    | eximstats.failures | check | Error | File './eximstats/failures.MYD' not found (Errcode: 2) |
    | eximstats.failures | check | Error | Can't find file: 'failures' (errno: 2) |
    | eximstats.failures | check | error | Corrupt |
    +--------------------+-------+----------+--------------------------------------------------------+
    3 rows in set (0.00 sec)

    mysql> repair table failures;
    +--------------------+--------+----------+--------------------------------------------------------+
    | Table | Op | Msg_type | Msg_text |
    +--------------------+--------+----------+--------------------------------------------------------+
    | eximstats.failures | repair | Error | File './eximstats/failures.MYD' not found (Errcode: 2) |
    | eximstats.failures | repair | Error | Can't find file: 'failures' (errno: 2) |
    | eximstats.failures | repair | error | Corrupt |
    +--------------------+--------+----------+--------------------------------------------------------+
    3 rows in set (0.00 sec)
     
Loading...

Share This Page