VM not loading after upgrading vm to debian 8 jessie

Retroy

New Member
Dec 16, 2015
2
0
1
47
Hi all, I have a problem and I can't find how to solve it so if anybody can give me a hand I will be gratefull.

After upgrading one of my vm to debian 8 jessie all worked fine, but when I have restarted the vm doen't works.
I have connected through the VNC of Proxmox and shows this when booting and I can't do anything.

systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVININT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
Detected virtualization 'openvz'.
Detected architecture 'x86-64'.
Welcome to Debian GNU/Linux 8 (jessie)!
Sethostname to <srv4>.
Failed to enable kbrequest handling: Invalid argument
Cannot add dependency job for unit rpcbind.service, ignoring: Unit rpcbind.service failed to load: No such file or directory.
Cannot add dependency job for unit display-manger.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
Assertion 'clock_gettime(clock_id, &ts) == 0' failed at ../srv/shared/time-util.c:33, function no(). Aborting.
Caught <ABRT>, dumped core as pid 53.
Freezing execution.

Anybody knows what it's happening?

Thanks for your support.
 
From the output I guess that its not a QEMU/VM but rather a Container.

LXC and systemd have some problems, we provide Debian 8 Jessie templates with stripped out systemd which are working.
 
Thanks for your help Thomas, you are right the upgraded machine was a container and I was running Proxmox 3.2 so now I now that was the problem.

Do you know if there is something I can do to load the CT with Debian 8 correctly and I can migrate the data to a new CT with Debian 7 or I have to move the files directly from the Proxmox main machine?

Thanks for your support.
 
Hi,
if you have a backup available before the Container upgrade to Debian Jessie the easiest thing would be to restore that backup to a new CT and your done.

Or if you bring the container to start you can try to remove systemd from the container:
Execute the following commands from a root shell:
Code:
pct start <VMID>
pct enter <VMID>
apt-get -y install sysvinit-core
exit
pct stop <VMID>

Else I have currently no Idea besides moving files manually to a new Debian 7 or systemd-free Debian 8 (download our template).