OpenVZ Forum


Home » General » Support » not able to enter VE after kernel-update
Re: not able to enter VE after kernel-update [message #34517 is a reply to message #34405] Wed, 14 January 2009 20:03 Go to previous message
Thomasd is currently offline  Thomasd
Messages: 39
Registered: December 2007
Member
I have had this problem countless times, so I ended up making this script:
#!/bin/sh
# fixes a common problem where it is not possible to enter a virtual machine
if test -z $1 ; then
 echo "provide a VE number"
 exit 0
fi

if test $1 -gt 0
then
 vzctl exec $1 MAKEDEV ptyp
 vzctl exec $1 MAKEDEV tty
 vzctl exec $1 MAKEDEV pty
 vzctl exec $1 MAKEDEV ptmx
 exit 1
else
 echo "invalid VE number";
 exit 0
fi


and I call it with the VE's number; works every time
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [answered] NFS4 in a VE
Next Topic: iptables problem; trying to have two servers on the same port
Goto Forum:
  


Current Time: Mon Jul 28 12:02:42 GMT 2025

Total time taken to generate the page: 0.43282 seconds