OpenVZ and udev

Naturally, I attempted to SSH into the VE in question, but was unable to connect. I then SSHed into the physical server and attempted to run the following command to get into the VE: [geshifilter-code] vzctl enter 236[/geshifilter-code] This popped up the following message: [geshifilter-code] enter into CT 236 failed Unable to open pty: No such file or directory[/geshifilter-code] Oh boy. Now what? A Google search seemed to indicate that the problem was with the udev system inside of the VE. Further research produced a couple of commands that I tried: [geshifilter-code] vzctl exec 236 update-rc.d -f udev remove[/geshifilter-code] That removed the udev code from the startup scripts so that it would no longer be run. Then I restarted the VE. [geshifilter-code] vzctl restart 236[/geshifilter-code] Bingo! Now I was able to enter the VE, and Nagios was able to connect and monitor its status.

Tags: