OpenVZ VPS start fails, with following messages:


- Container start failed (try to check kernel messages, e.g. "dmesg | tail")
- FATAL: kernel too old


# dmesg | tail
php(600751): dirtied inode 37225250 (_txlast) on dm-0
php(600751): dirtied inode 37225252 (_rxlast) on dm-0
php(600773): dirtied inode 966197248 (SYSV00000000) on tmpfs
php(600773): dirtied inode 966197248 (SYSV00000000) on tmpfs
crond(600743): dirtied inode 2 (self) on proc
ddos.sh(600750): dirtied inode 11045484 (tmp) on dm-0
mysqld(361266): dirtied inode 11055133 (#sql_65ab_0.MYI) on dm-0
mysqld(361266): dirtied inode 11055134 (#sql_65ab_0.MYD) on dm-0
mysqld(361266): dirtied inode 11055134 (#sql_65ab_1.MYI) on dm-0
mysqld(361266): dirtied inode 11055136 (#sql_65ab_1.MYD) on dm-0


# cat /proc/sys/kernel/virt_osrelease
2.6.18-371.3.1.el5.028stab110.1


When one do verbose start, example:


vzctl --verbose start 2040


then it can return "FATAL: kernel too old"


i fixed this warning by editting file:


vi /etc/vz/osrelease.conf


my content


fedora-11 2.6.18
fedora-12 2.6.18
fedora-13 2.6.18
fedora-14 2.6.32
fedora-15 2.6.32
debian-6.0 2.6.32
ubuntu-12.04 2.6.32
ubuntu-14.04 2.6.32


(i added last line "ubuntu-14.04 2.6.32", because i have been installing 14.04, then container started without error.