[MDEV-10567] Mariadb fails to start Created: 2016-08-16 Updated: 2016-09-25 Resolved: 2016-09-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 5.5.47 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Joel Olson | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Environment: |
RHEL 7 VM |
||
| Attachments: |
|
| Description |
|
[ERROR] mysqld got signal 6 ; |
| Comments |
| Comment by Elena Stepanova [ 2016-08-16 ] | ||||||||||||||||||||||
|
Extract from the log (to make it searchable in JIRA):
| ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-08-16 ] | ||||||||||||||||||||||
|
If you are experiencing the problem repeatedly, would it be possible to upload your datadir to our ftp (ftp.askmonty.org/private)? After that, since you probably need to get your server up and running, try to run it with innodb_force_recovery=2 (and if it doesn't help, with higher values). | ||||||||||||||||||||||
| Comment by Joel Olson [ 2016-08-17 ] | ||||||||||||||||||||||
|
Elena, Can't seem to connect to the ftp site (fireFTP). | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-08-17 ] | ||||||||||||||||||||||
|
Regarding ftp, can you even open it? ftp.askmonty.org/private. Maybe there was a temporary glitch when you tried; but if it persists, maybe some firewall settings or whatever? Regarding the table, what is the table you are referring to, and what do you mean by MyISAM instead of InnoDB? You created the table as InnoDB, it used to be InnoDB, but now it's MyISAM? But how did you discover it, if the server doesn't start? | ||||||||||||||||||||||
| Comment by Joel Olson [ 2016-08-17 ] | ||||||||||||||||||||||
|
Turns out that the table is myisam for full-text indexing. The site opens but I get the following error...553 Could not create file. | ||||||||||||||||||||||
| Comment by Joel Olson [ 2016-08-17 ] | ||||||||||||||||||||||
|
Also get this error in fireFTP debug window... Debug: Not enough arguments [nsILoadContextInfoFactory.fromLoadContext] | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-08-17 ] | ||||||||||||||||||||||
|
Regarding FTP, your file mariadb.txt got uploaded fine. You are trying to override it, hence the problem. I have no idea about fireFTP errors, sorry. MyISAM tables have nothing to do with the InnoDB error that prevents your server from starting. As said before, you'll need to try innodb_force_recovery (but make a datadir backup first). | ||||||||||||||||||||||
| Comment by Joel Olson [ 2016-08-17 ] | ||||||||||||||||||||||
|
Just uploaded | ||||||||||||||||||||||
| Comment by Joel Olson [ 2016-08-18 ] | ||||||||||||||||||||||
|
I have repaired the PageSearchIndex table System is still crashing. | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-08-19 ] | ||||||||||||||||||||||
|
If by PageSearchIndex you mean the InnoDB table that you had corrupted, as I said before, the InnoDB assertion failure that you are having on startup has literally nothing to do with MyISAM tables, whether they are corrupted or not. Once again, as mentioned before more than once, you need to try innodb_force_recovery. | ||||||||||||||||||||||
| Comment by Joel Olson [ 2016-08-19 ] | ||||||||||||||||||||||
|
Yes well... I've tried that several times to no avail. Just to humor you I just ran it again. Here's the error message... Job for mariadb.service failed because a fatal signal was delivered to the control process. See "systemctl status mariadb.service" and "journalctl -xe" for details. Aug 19 08:17:16 web-ext.amaisd.org systemd[1]: mariadb.service stop-sigterm timed out. Killing. Apparently you and your snotty attitude have no answers. Guess I'll have to look somewhere else. | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-08-19 ] | ||||||||||||||||||||||
|
I'm sorry if you find the attitude snotty, but it's impossible to help when suggestions appear to be ignored. If you had mentioned earlier that you'd already tried the recovery option and it didn't help, we would have progressed further already and didn't have to circle around the same topic, which is a waste of time for everyone involved. For the message above, it's just final systemd complaint, to see what's really wrong with the recovery attempt, we'll need the error log. We are going to look into the data you provided earlier, but it will take time. | ||||||||||||||||||||||
| Comment by Joel Olson [ 2016-08-19 ] | ||||||||||||||||||||||
|
Is the copy of the error log I uploaded sufficient or do you need the latest copy? My apologies for not mentioning that I had already tried your suggestion. Hope your week has been better than mine. | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-08-19 ] | ||||||||||||||||||||||
|
Yes, it would be very interesting to see the latest copy of the error log, as it might say why innodb_force_recovery didn't work. | ||||||||||||||||||||||
| Comment by Joel Olson [ 2016-08-19 ] | ||||||||||||||||||||||
|
I've uploaded the log file. | ||||||||||||||||||||||
| Comment by Joel Olson [ 2016-08-22 ] | ||||||||||||||||||||||
|
After experimenting further - it is only the concrete DB that is malfunctioning. This is a backend for a Concrete5 CMS and when it crashes, the other DBs continue to function. | ||||||||||||||||||||||
| Comment by Joel Olson [ 2016-08-22 ] | ||||||||||||||||||||||
|
After yet more tinkering - disregard the foregoing - the instance actually isn't running. | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-08-23 ] | ||||||||||||||||||||||
|
I wanted to spend more time looking into your logs before answering, but just for a quick update, at the first glance I didn't see there any sign of picking up innodb_force_recovery option, so maybe the server somehow missed it. How did you provide it, via the config file, or on the command line? If it was the config file, was it certainly the one that the server uses? | ||||||||||||||||||||||
| Comment by Joel Olson [ 2016-08-23 ] | ||||||||||||||||||||||
|
Elena, I believe I actually solved this. I deleted the databases, removed MariaDB from the server, re-installed and rebuilt the tables and it hase been stable all morning so far. Looks as if it must have been a bad piece of code stored in one of my tables. | ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-09-25 ] | ||||||||||||||||||||||
|
Please comment if the problem re-surfaces. |