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.

Innodb Error

Discussion in 'Database Discussions' started by YasIT, Jun 12, 2014.

  1. YasIT

    YasIT Active Member

    Joined:
    Jan 3, 2014
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    When I start mysql using skip-innodb it starts normally but when i do that without skip-innodb mysql fails to start.
    when skip-innodb in my.cnf error in some site :
    Array ( [0] => 42000 [1] => 1286 [2] => Unknown storage engine 'InnoDB' )

    mysql> show engine innodb status;
    ERROR 1286 (42000): Unknown storage engine 'innodb'

    how to fix this problem?
     
  2. YasIT

    YasIT Active Member

    Joined:
    Jan 3, 2014
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I does not use skip-innodb and add line innodb_force_recovery = 4 successfully restart and all site was runing...

    but in error log .err :

    Code:
    2014-06-12 19:00:15 5920 [ERROR] InnoDB: Failed to find tablespace for table '"darya_chating"."db1_etchat_config"' in the cache. Attempting to load the tablespace with space id 238062.
    2014-06-12 19:00:16 5920 [ERROR] /usr/sbin/mysqld: Table './bbpicir_bbpic/nuke_session' is marked as crashed and should be repaired
    2014-06-12 19:00:16 5920 [ERROR] /usr/sbin/mysqld: Table './bbpicir_bbpic/nuke_session' is marked as crashed and should be repaired
    2014-06-12 19:00:16 5920 [ERROR] /usr/sbin/mysqld: Table './bbpicir_bbpic/nuke_session' is marked as crashed and should be repaired
    2014-06-12 19:00:16 5920 [ERROR] InnoDB: Failed to find tablespace for table '"darya_chating"."db1_etchat_user"' in the cache. Attempting to load the tablespace with space id 240993.
    2014-06-12 19:00:16 5920 [ERROR] InnoDB: Failed to find tablespace for table '"darya_chating"."cod"' in the cache. Attempting to load the tablespace with space id 234879.
    2014-06-12 19:00:16 5920 [ERROR] /usr/sbin/mysqld: Table './takmelo_6868/nuke_antiflood' is marked as crashed and should be repaired
    2014-06-12 19:00:16 5920 [ERROR] /usr/sbin/mysqld: Table './takmelo_6868/nuke_antiflood' is marked as crashed and should be repaired
    2014-06-12 19:00:16 5920 [ERROR] /usr/sbin/mysqld: Table './takmelo_6868/nuke_antiflood' is marked as crashed and should be repaired
    2014-06-12 19:00:17 5920 [ERROR] /usr/sbin/mysqld: Table './para_chat/zse8p_TABLE_STATISTICS_RAW' is marked as crashed and should be repaired
    2014-06-12 19:00:17 5920 [ERROR] /usr/sbin/mysqld: Table './para_chat/zse8p_TABLE_STATISTICS_RAW' is marked as crashed and should be repaired
    2014-06-12 19:00:18 5920 [ERROR] /usr/sbin/mysqld: Table './tikmusic_nuke836/nuke_stories' is marked as crashed and should be repaired
    2014-06-12 19:00:19 5920 [ERROR] /usr/sbin/mysqld: Table './tazohoor_FaDB/jos_session' is marked as crashed and should be repaired
    2014-06-12 19:00:19 5920 [ERROR] /usr/sbin/mysqld: Table './tazohoor_FaDB/jos_session' is marked as crashed and should be repaired
    2014-06-12 19:00:19 5920 [ERROR] /usr/sbin/mysqld: Table './tazohoor_FaDB/jos_session' is marked as crashed and should be repaired
    2014-06-12 19:00:19 5920 [ERROR] /usr/sbin/mysqld: Table './tazohoor_FaDB/jos_session' is marked as crashed and should be repaired
    2014-06-12 19:00:19 5920 [ERROR] /usr/sbin/mysqld: Table './tazohoor_FaDB/jos_session' is marked as crashed and should be repaired
    2014-06-12 19:00:21 5920 [ERROR] /usr/sbin/mysqld: Table './takmelo_6868/nuke_antiflood' is marked as crashed and should be repaired
    2014-06-12 19:00:21 5920 [ERROR] /usr/sbin/mysqld: Table './takmelo_6868/nuke_antiflood' is marked as crashed and should be repaired
    2014-06-12 19:00:21 5920 [ERROR] /usr/sbin/mysqld: Table './takmelo_6868/nuke_antiflood' is marked as crashed and should be repaired
    2014-06-12 19:00:22 5920 [ERROR] /usr/sbin/mysqld: Table './tikmusic_nuke836/nuke_stories' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './design_vb/vsavilxh_guests' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './design_vb/vsavilxh_guests' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './design_vb/vsavilxh_guests' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './partoodo_partoo/wp_TABLE_STATISTICS' is marked as crashed and should be repaired
    2014-06-12 19:00:23 5920 [ERROR] /usr/sbin/mysqld: Table './design_vb/vsavilxh_guests' is marked as crashed and should be repaired
    2014-06-12 19:00:24 5920 [ERROR] InnoDB: Failed to find tablespace for table '"ecommerc_magento"."eav_entity_type"' in the cache. Attempting to load the tablespace with space id 67255.
    2014-06-12 19:00:24 5920 [ERROR] InnoDB: Failed to find tablespace for table '"ecommerc_magento"."catalog_category_entity"' in the cache. Attempting to load the tablespace with space id 67098.
    2014-06-12 19:00:24 5920 [ERROR] InnoDB: Failed to find tablespace for table '"ecommerc_magento"."eav_attribute"' in the cache. Attempting to load the tablespace with space id 67242.
    2014-06-12 19:00:24 5920 [ERROR] InnoDB: Failed to find tablespace for table '"ecommerc_magento"."catalog_eav_attribute"' in the cache. Attempting to load the tablespace with space id 67110.
    2014-06-12 19:00:24 5920 [ERROR] InnoDB: Failed to find tablespace for table '"ecommerc_magento"."eav_entity_attribute"' in the cache. Attempting to load the tablespace with space id 67249.
    2014-06-12 19:00:24 5920 [ERROR] InnoDB: Failed to find tablespace for table '"ecommerc_magento"."eav_attribute_label"' in the cache. Attempting to load the tablespace with space id 67244.
    2014-06-12 19:00:24 5920 [ERROR] InnoDB: Failed to find tablespace for table '"ecommerc_magento"."catalog_category_entity_varchar"' in the cache. Attempting to load the tablespace with space id 67103.
    2014-06-12 19:00:24 5920 [ERROR] InnoDB: Failed to find tablespace for table '"ecommerc_magento"."catalog_category_entity_int"' in the cache. Attempting to load the tablespace with space id 67101.
    2014-06-12 19:00:24 5920 [ERROR] InnoDB: Failed to find tablespace for table '"ecommerc_magento"."catalog_category_entity_text"' in the cache. Attempting to load the tablespace with space id 67102.
    2014-06-12 19:00:24 5920 [ERROR] InnoDB: Failed to find tablespace for table '"ecommerc_magento"."catalog_category_entity_datetime"' in the cache. Attempting to load the tablespace with space id 67099.
    2014-06-12 19:00:24 5920 [ERROR] InnoDB: Failed to find tablespace for table '"ecommerc_magento"."catalog_category_entity_decimal"' in the cache. Attempting to load the tablespace with space id 67100.
    
    How to fix this problem well?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,774
    Likes Received:
    663
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. YasIT

    YasIT Active Member

    Joined:
    Jan 3, 2014
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I've many databases in my server and many innodb!
    How to fix this problem step by step?
    Please help.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,774
    Likes Received:
    663
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The logs you provided indicate crashed tables for some databases. You can typically repair those tables using the "mysqlcheck --repair" command referenced in the document from my last response. InnoDB corruption involves more in-depth solutions. There are not necessarily step by step instructions because it depends on the nature of the corruption. That being said, the document I referenced does go into detail and provide links to additional documentation for repairing InnoDB. Keep in mind that database corruption falls outside our scope of support, so you may want to consult with a qualified system administrator or database specialist for assistance.

    Thank you.
     
Loading...

Share This Page