Difference between revisions of "Container enter failed"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(added see also)
m (Robot: Automated text replacement (-VPS +container))
Line 1: Line 1:
'''Problem''': VPS created succesfully and started.
+
'''Problem''': container created succesfully and started.
 
But when trying to do
 
But when trying to do
 
<pre>
 
<pre>
Line 6: Line 6:
 
you get
 
you get
 
<pre>
 
<pre>
VPS enter failed(?)
+
container enter failed(?)
 
</pre>
 
</pre>
  

Revision as of 10:47, 11 March 2008

Problem: container created succesfully and started. But when trying to do

vzctl enter 101 

you get

container enter failed(?)

Using strace, you see:

# strace -ff vzctl enter
....
fstat64(...st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0)...) fail
....

Solution: Recompile the kernel with the following option:

CONFIG_LEGACY_PTYS=y

See also