restore of a lxc ct crashes mysqld - 4.2

ned

Renowned Member
Jan 26, 2015
113
2
83
I user vzdump backup with stop mode on a lxc ct mrunning mysqld. After I did a restore the mysqld did not start. This makes sense as I user stop mode for backup mode. I did some testing and even when I shutdown the lxc ct and do a backup and then restore the ct from backup the mysql service does not start.
 
I managed to solve this by adding stdexcludes: 0 to file /etc/vzdump.conf but do not understand why did this happen?
 
Hi ned, ive got a similar problem.

Well, I got a new node. So i thought, this would be the perfect time to convert from 3.4 to 4.x, since I did not want some downtime from compatibitlity issues.

The migration from 3.4 to current 4 went sofar ok, just some trouble with the openvz containers.
e.g.
I had an OpenVZ Deb7 Container runing MySQL 4.1.22 for CAO-Warenwirtschaft, a german accounting software, on my perfectly good 3.4 PVE

I did backup the OpenVZ, (stoped mode)

then moved to my new 4.2 Proxmox node and restored it.

Edited the Network interface.

Booted the linux container

And: Not one singe service came up after the linux container finished booting. Not even SSH, so i try via vzctl to log into, this obvisously does not work, then entered the CT with pct and start mysql by hand. service came up. same for ssh. but the machine didnt start any init.d services.

then i check for kernel, and woha, its the pve 4.4 for a Wheezy machine. of course with systemd on a sysVinit system there wonte be any services available.

It seams this is a problem with init.d and systemd, one of the big changes from 3 to 4. or rather from deb. 7 to 8.

but i have no clue as to how to fix this.

Cheers Manne
 
Not sure if this is the same case as I did a fresh install of 4.2 and a fresh setup of lxc debian ct. But again would like to know how to avoid this problems.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!