burnley
Regular Pleskian
Hi folks,
Running the latest Plesk MU patch today I discovered that Parallels has replaced our
*working* and *properly packaged* MySQL packages with their own.
Before:
mysql-5.5.41-1.el5.remi
mysql-bench-5.5.41-1.el5.remi
mysql-libs-5.5.41-1.el5.remi
mysql-server-5.5.41-1.el5.remi
After:
mysql-5.5.41-15012715
mysql-bench-5.5.41-15012715
mysql-libs-5.5.41-15012715
mysql-server-5.5.41-15012715
There are several issues here:
1. Critical! Never, ever, overwrite /etc/my.cnf on a configured system! There are customizations in there which, if you remove, will render MySQL unusable! For example, I had this variable set in /etc/my.cnf:
innodb_data_file_path = ibdata1:170M;ibdata0:2048M:autoextend
Guess what happens if you remove it and restart MySQL? Does this look familiar?
150130 10:39:09 InnoDB: highest supported file format is Barracuda.
InnoDB: Error: trying to access page number 14916 in space 0,
InnoDB: space name ./ibdata1,
InnoDB: which is outside the tablespace bounds.
InnoDB: Byte offset 0, len 16384, i/o type 10.
InnoDB: If you get this error at mysqld startup, please check that
InnoDB: your my.cnf matches the ibdata files that you have in the
InnoDB: MySQL server.
150130 10:39:09 InnoDB: Assertion failure in thread 140490375583520 in file fil0fil.c line 4578
InnoDB: We intentionally generate a memory trap.
[...]
2. Major! Do not forcibly obsolete existing packages unless you have a *VERY* good reason to do it! On our CentOS 5 and 6 servers we are using 5.5.x MySQL packages from the remi repository, which are known to work and update properly, were thoroughly tested for a long time and are trusted by quite a few sysadmins around.
We can not continue applying this patch on all our remaining Linux Plesk 12 servers. You must fix this issue by making sure you are maintaining backwards compatibility on all the systems running already the latest 5.5.41 rpms. Overwriting /etc/my.cnf was a very poor decision, if you want to install your own version please follow rpm packaging best practices and install it as .rpmnew!
Parallels, you've just ruined our Friday here!
Running the latest Plesk MU patch today I discovered that Parallels has replaced our
*working* and *properly packaged* MySQL packages with their own.
Before:
mysql-5.5.41-1.el5.remi
mysql-bench-5.5.41-1.el5.remi
mysql-libs-5.5.41-1.el5.remi
mysql-server-5.5.41-1.el5.remi
After:
mysql-5.5.41-15012715
mysql-bench-5.5.41-15012715
mysql-libs-5.5.41-15012715
mysql-server-5.5.41-15012715
There are several issues here:
1. Critical! Never, ever, overwrite /etc/my.cnf on a configured system! There are customizations in there which, if you remove, will render MySQL unusable! For example, I had this variable set in /etc/my.cnf:
innodb_data_file_path = ibdata1:170M;ibdata0:2048M:autoextend
Guess what happens if you remove it and restart MySQL? Does this look familiar?
150130 10:39:09 InnoDB: highest supported file format is Barracuda.
InnoDB: Error: trying to access page number 14916 in space 0,
InnoDB: space name ./ibdata1,
InnoDB: which is outside the tablespace bounds.
InnoDB: Byte offset 0, len 16384, i/o type 10.
InnoDB: If you get this error at mysqld startup, please check that
InnoDB: your my.cnf matches the ibdata files that you have in the
InnoDB: MySQL server.
150130 10:39:09 InnoDB: Assertion failure in thread 140490375583520 in file fil0fil.c line 4578
InnoDB: We intentionally generate a memory trap.
[...]
2. Major! Do not forcibly obsolete existing packages unless you have a *VERY* good reason to do it! On our CentOS 5 and 6 servers we are using 5.5.x MySQL packages from the remi repository, which are known to work and update properly, were thoroughly tested for a long time and are trusted by quite a few sysadmins around.
We can not continue applying this patch on all our remaining Linux Plesk 12 servers. You must fix this issue by making sure you are maintaining backwards compatibility on all the systems running already the latest 5.5.41 rpms. Overwriting /etc/my.cnf was a very poor decision, if you want to install your own version please follow rpm packaging best practices and install it as .rpmnew!
Parallels, you've just ruined our Friday here!