Database Crash - Repair Failed

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Database Crash - Repair Failed

Postby zenithbsolutions » Wed Apr 04, 2018 4:26 pm

Hi,

I've got a server crashed and tried to repair the tables and found a corrupt table "vicidial_live_agents"

Code: Select all
Repairing tables
asterisk.vicidial_live_agents
Error    : Incorrect file format 'vicidial_live_agents'
error    : Corrupt


Tried to repair it from the table.

Code: Select all
MariaDB [asterisk]> check table vicidial_live_agents;
+-------------------------------+-------+----------+----------------------------------------------+
| Table                         | Op    | Msg_type | Msg_text                                     |
+-------------------------------+-------+----------+----------------------------------------------+
| asterisk.vicidial_live_agents | check | Error    | Incorrect file format 'vicidial_live_agents' |
| asterisk.vicidial_live_agents | check | error    | Corrupt                                      |
+-------------------------------+-------+----------+----------------------------------------------+
2 rows in set (0.00 sec)

MariaDB [asterisk]> repair table vicidial_live_agents;
+-------------------------------+--------+----------+----------------------------------------------+
| Table                         | Op     | Msg_type | Msg_text                                     |
+-------------------------------+--------+----------+----------------------------------------------+
| asterisk.vicidial_live_agents | repair | Error    | Incorrect file format 'vicidial_live_agents' |
| asterisk.vicidial_live_agents | repair | error    | Corrupt                                      |
+-------------------------------+--------+----------+----------------------------------------------+
2 rows in set (0.00 sec)

MariaDB [asterisk]> repair table vicidial_live_agents use_frm;
+-------------------------------+--------+----------+---------------------------------------------------------------+
| Table                         | Op     | Msg_type | Msg_text                                                      |
+-------------------------------+--------+----------+---------------------------------------------------------------+
| asterisk.vicidial_live_agents | repair | Error    | Got an error evaluating stored expression current_timestamp() |
| asterisk.vicidial_live_agents | repair | error    | Corrupt                                                       |
+-------------------------------+--------+----------+---------------------------------------------------------------+
2 rows in set (0.00 sec)



Now I'm getting an error
Got an error evaluating stored expression current_timestamp()
while repairing.

Kindly help me how to resolve it.

Installation : vicibox 8.0.1
VERSION: 2.14-664a
BUILD: 180310-2321
© 2018 ViciDial Group



Thank you
zenithbsolutions
 
Posts: 124
Joined: Tue Aug 25, 2015 2:17 am

Re: Database Crash - Repair Failed

Postby williamconley » Wed Apr 04, 2018 4:30 pm

Truncate the table. Check for full HD
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Database Crash - Repair Failed

Postby zenithbsolutions » Thu Apr 05, 2018 4:22 pm

Awesome! & Thanks William this resolved my issue.... :)
zenithbsolutions
 
Posts: 124
Joined: Tue Aug 25, 2015 2:17 am

Re: Database Crash - Repair Failed

Postby williamconley » Thu Apr 05, 2018 4:38 pm

I'd be looking at how it happened. Consider replacing your HD if you don't have a smoking gun somewhere (like a power outage).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 104 guests

cron