I have a server with Proxmox 3.4 with several OpenVZ-containers. Host and all guests are running Debian 7 x64. Now I want to migrate my old setup to a new server with Proxmox 4 (based on Debian 8).
I transferred multiple OpenVZ-containers to the new environment and imported them successfully.
Now we get to the problem: After I upgraded them to Debian 8 most mysqld do not start any more. Setup showed me changes in my.cnf so I took the package maintainers version. One machine still starts mysql, some others do not although the configs are identical.
The mysql-error-log does not show anything, syslog neither. The startup script in '/etc/init.d/mysql' and config in '/etc/mysql/my.cnf' are identical on the machines.
root@web2:~# service mysql restart
Job for mysql.service canceled.
Starting the mysqld directly works:
root@web2:~# mysqld_safe
or
root@web2:~# /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/log/mysql/error.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
Can somebody give me a hint about how to fix this startup- or service-issue?
Any help or hints where to search are appreciated.