Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
df -h
mysqlcheck --auto-repair --user=cron -p1234 asterisk vicidial_lists
vicibox7:~ # sudo mysqlcheck --auto-repair --user=cron -p1234 asterisk vicidial_lists
Failed to SHOW CREATE TABLE `vicidial_lists`
Error: Table './asterisk/vicidial_lists' is marked as crashed and last (automatic?) repair failed
*** Error in `mysqlcheck': free(): invalid pointer: 0x00007ffc8f43c0f8 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x727ff)[0x7f593b87a7ff]
/lib64/libc.so.6(+0x7806e)[0x7f593b88006e]
/lib64/libc.so.6(+0x78d86)[0x7f593b880d86]
mysqlcheck(+0x1d25f)[0x558f3fd2525f]
mysqlcheck(+0x1caa1)[0x558f3fd24aa1]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f593b829b05]
mysqlcheck(+0x1cbf2)[0x558f3fd24bf2]
======= Memory map: ========
558f3fd08000-558f3ffe1000 r-xp 00000000 08:02 649 /usr/bin/mysqlcheck
558f401e1000-558f401e8000 r--p 002d9000 08:02 649 /usr/bin/mysqlcheck
558f401e8000-558f4024e000 rw-p 002e0000 08:02 649 /usr/bin/mysqlcheck
558f4024e000-558f40258000 rw-p 00000000 00:00 0
558f41962000-558f419a6000 rw-p 00000000 00:00 0 [heap]
7f593b5f1000-7f593b607000 r-xp 00000000 08:02 655429 /lib64/libgcc_s.so.1
7f593b607000-7f593b806000 ---p 00016000 08:02 655429 /lib64/libgcc_s.so.1
7f593b806000-7f593b807000 r--p 00015000 08:02 655429 /lib64/libgcc_s.so.1
7f593b807000-7f593b808000 rw-p 00016000 08:02 655429 /lib64/libgcc_s.so.1
7f593b808000-7f593b9a6000 r-xp 00000000 08:02 655390 /lib64/libc-2.19.so
7f593b9a6000-7f593bba5000 ---p 0019e000 08:02 655390 /lib64/libc-2.19.so
7f593bba5000-7f593bba9000 r--p 0019d000 08:02 655390 /lib64/libc-2.19.so
7f593bba9000-7f593bbab000 rw-p 001a1000 08:02 655390 /lib64/libc-2.19.so
7f593bbab000-7f593bbaf000 rw-p 00000000 00:00 0
7f593bbaf000-7f593bcaf000 r-xp 00000000 08:02 655440 /lib64/libm-2.19.so
7f593bcaf000-7f593beae000 ---p 00100000 08:02 655440 /lib64/libm-2.19.so
7f593beae000-7f593beaf000 r--p 000ff000 08:02 655440 /lib64/libm-2.19.so
7f593beaf000-7f593beb0000 rw-p 00100000 08:02 655440 /lib64/libm-2.19.so
7f593beb0000-7f593beb3000 r-xp 00000000 08:02 655416 /lib64/libdl-2.19.so
7f593beb3000-7f593c0b2000 ---p 00003000 08:02 655416 /lib64/libdl-2.19.so
7f593c0b2000-7f593c0b3000 r--p 00002000 08:02 655416 /lib64/libdl-2.19.so
7f593c0b3000-7f593c0b4000 rw-p 00003000 08:02 655416 /lib64/libdl-2.19.so
7f593c0b4000-7f593c27c000 r-xp 00000000 08:02 655400 /lib64/libcrypto.so.1.0.0
7f593c27c000-7f593c47c000 ---p 001c8000 08:02 655400 /lib64/libcrypto.so.1.0.0
7f593c47c000-7f593c496000 r--p 001c8000 08:02 655400 /lib64/libcrypto.so.1.0.0
7f593c496000-7f593c4a3000 rw-p 001e2000 08:02 655400 /lib64/libcrypto.so.1.0.0
7f593c4a3000-7f593c4a7000 rw-p 00000000 00:00 0
7f593c4a7000-7f593c505000 r-xp 00000000 08:02 655489 /lib64/libssl.so.1.0.0
7f593c505000-7f593c704000 ---p 0005e000 08:02 655489 /lib64/libssl.so.1.0.0
7f593c704000-7f593c708000 r--p 0005d000 08:02 655489 /lib64/libssl.so.1.0.0
7f593c708000-7f593c70f000 rw-p 00061000 08:02 655489 /lib64/libssl.so.1.0.0
7f593c70f000-7f593c724000 r-xp 00000000 08:02 655505 /lib64/libz.so.1.2.8
7f593c724000-7f593c923000 ---p 00015000 08:02 655505 /lib64/libz.so.1.2.8
7f593c923000-7f593c924000 r--p 00014000 08:02 655505 /lib64/libz.so.1.2.8
7f593c924000-7f593c925000 rw-p 00015000 08:02 655505 /lib64/libz.so.1.2.8
7f593c925000-7f593c93d000 r-xp 00000000 08:02 655476 /lib64/libpthread-2.19.so
7f593c93d000-7f593cb3c000 ---p 00018000 08:02 655476 /lib64/libpthread-2.19.so
7f593cb3c000-7f593cb3d000 r--p 00017000 08:02 655476 /lib64/libpthread-2.19.so
7f593cb3d000-7f593cb3e000 rw-p 00018000 08:02 655476 /lib64/libpthread-2.19.so
7f593cb3e000-7f593cb42000 rw-p 00000000 00:00 0
7f593cb42000-7f593cb63000 r-xp 00000000 08:02 655374 /lib64/ld-2.19.so
7f593ccdb000-7f593cd1a000 r--p 00000000 08:02 4362 /usr/lib/locale/en_GB.utf8/LC_CTYPE
7f593cd1a000-7f593cd4f000 r--s 00000000 00:13 19008 /run/nscd/services
7f593cd4f000-7f593cd54000 rw-p 00000000 00:00 0
7f593cd59000-7f593cd5a000 rw-p 00000000 00:00 0
7f593cd5a000-7f593cd61000 r--s 00000000 08:02 265425 /usr/lib64/gconv/gconv-modules.cache
7f593cd61000-7f593cd62000 rw-p 00000000 00:00 0
7f593cd62000-7f593cd63000 r--p 00020000 08:02 655374 /lib64/ld-2.19.so
7f593cd63000-7f593cd64000 rw-p 00021000 08:02 655374 /lib64/ld-2.19.so
7f593cd64000-7f593cd65000 rw-p 00000000 00:00 0
7ffc8f41d000-7ffc8f43e000 rw-p 00000000 00:00 0 [stack]
7ffc8f5dd000-7ffc8f5df000 r--p 00000000 00:00 0 [vvar]
7ffc8f5df000-7ffc8f5e1000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Error in `mysqlcheck': free(): invalid pointer:
williamconley wrote:Error in `mysqlcheck': free(): invalid pointer:
I've never gotten this error. You'll need to look it up and find out what happened. Failing that, you could drop that table and re-create it from the appropriate sql fragment in the .sql script used to create it in the first place. This would be in /usr/src/astguiclient/trunk/extras
/* Entering session "vicidial" */
USE `asterisk`;
SELECT `DEFAULT_COLLATION_NAME` FROM `information_schema`.`SCHEMATA` WHERE `SCHEMA_NAME`='asterisk';
SHOW TABLE STATUS FROM `asterisk`;
SHOW FUNCTION STATUS WHERE `Db`='asterisk';
SHOW PROCEDURE STATUS WHERE `Db`='asterisk';
SHOW TRIGGERS FROM `asterisk`;
SHOW EVENTS FROM `asterisk`;
/* SQL Error (1044): Access denied for user 'cron'@'%' to database 'asterisk' */
SHOW CREATE VIEW `asterisk`.`vicidial_campaigns`;
/* SQL Error (144): Table './asterisk/vicidial_campaigns' is marked as crashed and last (automatic?) repair failed */
SELECT * FROM INFORMATION_SCHEMA.VIEWS WHERE TABLE_SCHEMA='asterisk' AND TABLE_NAME='vicidial_campaigns';
/* Access violation at address 0000000000A9BD1B in module 'heidisql.exe'. Read of address 0000000000000030 */
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='vicidial_campaigns' AND TABLE_SCHEMA='asterisk';
SELECT CURRENT_USER();
SHOW CREATE VIEW `asterisk`.`vicidial_campaigns`;
/* SQL Error (144): Table './asterisk/vicidial_campaigns' is marked as crashed and last (automatic?) repair failed */
SELECT * FROM INFORMATION_SCHEMA.VIEWS WHERE TABLE_SCHEMA='asterisk' AND TABLE_NAME='vicidial_campaigns';
/* Access violation at address 0000000000A9BD1B in module 'heidisql.exe'. Read of address 0000000000000030 */
SELECT * FROM `asterisk`.`vicidial_campaigns` LIMIT 1000;
/* SQL Error (144): Table './asterisk/vicidial_campaigns' is marked as crashed and last (automatic?) repair failed */
williamconley wrote:Heidisql? You're not checking this directly on the server? What if heidi is breaking things ...?
williamconley wrote:From my point of observation:
1) I've never had this happen with any client
2) I've never used heidisql nor has any client
With that information ... I could assume that your earlier hookup of heidisql caused heidi to be able to go haywire and break something. The fact that I am unaware of heidi's activities of course leads me to this possibility.
Admittedly, we've also not begun to use Vicibox 7.0, so it could certainly be there as well.
Comes down to this question: Was heidi installed and connected to the server before the crash?
And of course my favorite question: Is this server Virtual?
Next possibility: Is the HD special in any way? (bad hd's cause issues ...)
williamconley wrote:If your server is virtual, you found your problem. What type of Virtual are you using? We use vSphere for sandbox/development servers and have very good luck with that (read as: NO issues as long as we stick to a single agent, single call) ... however, we have not yet installed Vicibox 7 on a vSphere server as yet.
williamconley wrote:Possibly. We only use 6.0.4 (since we KNOW it works). And we are not yet on vSphere 6 (5.0 -> 5.5). But virtual servers are known for causing db corruption and other irregularities in underpowered servers. How many cores in the host and assigned to this server?
Users browsing this forum: Bing [Bot] and 95 guests