OpenVZ Console not Progressing

Symptoms:

Error: unable to write `random state`
Error: ,
Error: nothing showing on new Console, only black screen


Cause:

Most OpenVZ templates have disabled terminals, you need to enable it first, by altering the Template.


Resolution:

Article: http://pve.proxmox.com/wiki/OpenVZ_Console#Ubuntu_12.04

Alter the TTY.conf file for the Templates to enable Console according to shared Article above,

examples:
  • ubuntu-12.04-standard: 

cd /var/lib/vz/template/cache

mkdir -p etc/init

cat <<EOF >etc/init/tty1.conf
# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/getty -8 38400 tty1
EOF

gunzip ubuntu-12.04-standard_12.04-1_i386.tar.gz
tar -rf ubuntu-12.04-standard_12.04-1_i386.tar etc
gzip ubuntu-12.04-standard_12.04-1_i386.tar

rm etc/init/tty1.conf
rmdir -p etc/init

 

  •  centos-6-standard_6.3:

cd /var/lib/vz/template/cache

mkdir -p etc/init

cat <<EOF >etc/init/tty.conf
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/agetty -8 tty1 38400
EOF

gunzip centos-6-standard_6.3-1_i386.tar.gz
tar -rf centos-6-standard_6.3-1_i386.tar etc
gzip centos-6-standard_6.3-1_i386.tar

rm etc/init/tty.conf
rmdir -p etc/init






  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Getting error Could not poll for Version while configuring

Symptoms:Error: Could not poll for Version while configuringProblem:To be able to solve this...

Proxmox Backup Notifications Failing

Problem:   After Enabling Mailto feature for backup notificatins, no backup completion...

Setting up Auto IP for KVM (Updated 19th Apr 2017: OVH support)

***NEW Method***: with the new Auto Scripts Template feature you can now perform Linux/unix KVM...

KVM arbitrary arqument usage

writing in progress

Installing PHP-SSH2 for KVM Auto IP

**Only Required FOR MODULE VERSION 1.3.1 or LOWER, STARTING 1.3.2.1 this is optionaal as WE USE...

Powered by WHMCompleteSolution