Perl script for mysql crash report

Any and all non-support discussions

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

Perl script for mysql crash report

Postby 14sudharsan » Tue Apr 23, 2013 12:03 am

Hi Team,
Some time tables are getting crash . Later only we came to know while pulling reports data missing it was paining.

So could pls give me a perl script to check asterisk database every hour .

If any tables crashed generate notification or If mail notification it will be very help full for us

I hope you guys give me a solution

Thanks in advance
unable to find iso version ? |openSUSE 11.1 (x86_64) | Vicidial VERSION: 2.2.1-237 BUILD: 100510-2015 | Asterisk 1.4.21.2-vici | Sangoma Hardware | No Extra Software After Installation | Intel(R) Xeon(R) CPU E5506 @ 2.13GHz | 8 core processor
14sudharsan
 
Posts: 44
Joined: Fri Oct 01, 2010 10:45 am

Re: Perl script for mysql crash report

Postby williamconley » Tue Apr 23, 2013 9:09 am

1) Welcome back to the Party! 8-)

2) I will now remind you of the Newbie Suggestions, please try to remember them:

when you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) command line to repair
Code: Select all
mysqlcheck --auto-repair asterisk -p


4) If your HD is full, this can cause frequent data corruption. If it is not a full HD, you have a dying hard drive or Bad Install.

5) Happy Hunting! 8-)
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: 20344
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 67 guests