Bug #65655 | MySQL crashed after "show table status" on some table | ||
---|---|---|---|
Submitted: | 18 Jun 2012 11:57 | Modified: | 22 Jul 2012 16:37 |
Reporter: | Valentin Gjorgjioski | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.1.61-0ubuntu0.10.04.1-log | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | crashed, ERROR 2013, show table status |
[18 Jun 2012 11:57]
Valentin Gjorgjioski
[18 Jun 2012 13:09]
Valeriy Kravchuk
Had you tried to run check table tag; I wonder if it still crashes. Please, send also the entire error log from server (compressed if it's big).
[18 Jun 2012 13:37]
Valentin Gjorgjioski
I haven't run: check table tag; Unfortunately I dropped that table, because this is a production server and it was giving me some headache. However, maybe I can do the following if it is needed: 1. recreate it 2. stop mysql 3. replace ibd and frm files 4. try "check table tag" Regarding the error log, I was always wondering why we do not have one. Maybe it is disabled, or I don't know. If you let me know how to check I will check. I remember long time ago trying to sort this out without success. I have a file called mysql.err but unfortunately it is always empty.
[18 Jun 2012 13:55]
Valeriy Kravchuk
Please, send the output of: show variables like 'log_%'; If you use Ubuntu binaries maybe error log is transferred to syslog. Check places like: /var/log/mysql.err or, even better, check /var/log/syslog for MySQL-related error messages.
[18 Jun 2012 14:09]
Valentin Gjorgjioski
1. +---------------------------------+-------+ | Variable_name | Value | +---------------------------------+-------+ | log_bin | ON | | log_bin_trust_function_creators | ON | | log_bin_trust_routine_creators | ON | | log_error | | | log_output | FILE | | log_queries_not_using_indexes | OFF | | log_slave_updates | OFF | | log_slow_queries | ON | | log_warnings | 1 | +---------------------------------+-------+ 2. /var/log/mysql.err this is the file that is always empty, that I previously mentioned. 3. in syslog, I found some errors, and they were in the first post. I'm sending them, and some others that are probably not related to this issue: Jun 18 13:28:59 kernel: [7471701.904377] type=1502 audit(1340018939.375:136917853): operation="file_perm" pid=2118 parent=1 profile="/usr/sbin/mysqld" requested_mask="w::" denied_mask="w::" fsuid=103 ouid=103 name="/usr/var/log/mysql/mysql-slow.log" Jun 18 13:36:06 init: mysql main process (23716) terminated with status 1 Jun 18 13:36:06 init: mysql main process ended, respawning Jun 18 13:36:06 kernel: [7472129.035383] type=1505 audit(1340019366.507:136917854): operation="profile_replace" pid=9175 name="/usr/sbin/mysqld" Jun 18 13:36:06 kernel: [7472129.149734] type=1502 audit(1340019366.626:136917855): operation="open" pid=9179 parent=1 profile="/usr/sbin/mysqld" requested_mask="rwc::" denied_mask="rwc::" fsuid=103 ouid=103 name="/mnt/storage/mysql/mysql-bin.index"
[22 Jun 2012 16:37]
Sveta Smirnova
Thank you for the feedback. Check if your case is not duplicate of bug #65664. I will post backtrace to bug #65664 in few seconds.
[23 Jul 2012 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".