[MDEV-8394] Upgrade from Version: '10.0.20-MariaDB' corrupted Created: 2015-06-29 Updated: 2015-08-30 Resolved: 2015-08-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform SUSE |
| Affects Version/s: | 10.1.5 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Andy Lavarre | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
Linux openSUSE 13.1, 13.2 |
||
| Description |
|
Automatic upgrade from Version: '10.0.20-MariaDB under OpenSuse 13.1-64 to Version 10.1.5-5.1 results in 'service mysql restart' failure:
I downgraded the installation to Version: '10.0.20-2.1-x86_64' and it now functions correctly. This upgrade also fails under openSUSE 13.2. In that case I restored the upgrade to |
| Comments |
| Comment by Elena Stepanova [ 2015-06-30 ] |
|
Please attach or paste the contents of the MariaDB error log. For better understanding what's going on, could you please clarify how the automatic upgrade happens? As I understand, the official repo on openSUSE provides MariaDB 5.5, so how did 10.0 made it into the system, and even more surprisingly, where does it get upgraded from – 10.1 is not even a GA yet, it cannot possibly be in openSUSE repositories? |
| Comment by Vladimir Sachek [ 2015-07-14 ] |
|
I seem to have similar problem on fresh OpenSuse 13.2 installation. Here is my log file linux-6xbt:/var/log/mysql # rcmysql start Jul 14 22:02:30 linux-6xbt.site mysql-systemd-helper[10215]: Checking MySQL configuration for obsolete options... |
| Comment by Vladimir Sachek [ 2015-07-14 ] |
|
By running mysql_safe i got an actual error: File '/var/lib/mysql/aria_log_control' not found (Errcode: 13 "Permission denied") 150714 22:33:15 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql |
| Comment by Elena Stepanova [ 2015-07-15 ] |
|
vladimir.sachek, did you run mysqld_safe as a superuser? |
| Comment by Vladimir Sachek [ 2015-07-15 ] |
|
Yes run that as superuser. In the end I uninstalled mysql, removed /var/lib/mysql directory and install mysql again. This solved the problem. |
| Comment by Elena Stepanova [ 2015-08-01 ] |
|
Files in the datadir should be writable by mysql user. If it so happens that, for example, the server was once started under root rather than mysql and created these files with the root ownership, the problem could have happened. It did not necessarily have to be a human error, could be a bug in the installation process of 10.1. In case of vladimir.sachek, it would be interesting to find out what caused this, but I suppose it's impossible since the second installation attempt went all right. Due to the lack of information, it's still unclear whether the initial case from alavarre@gmail.com was the same, logs could have clarified it. |
| Comment by Elena Stepanova [ 2015-08-30 ] |
|
If you have more information, please comment to re-open the issue. |