OpenVZ Forum


Home » General » Support » Physical to Container Conversion
Physical to Container Conversion [message #50993] Thu, 19 December 2013 02:43 Go to next message
tdrnetworks is currently offline  tdrnetworks
Messages: 3
Registered: April 2013
Junior Member
Hey everyone,

I'm in the process of converting a Debian 5 physical to OVZ and everything works (almost).

There is something not quite 100% right with the tty's.

If I try to less a file, it doesn't work or if you try:

mysql -uroot -p (it should normally prompt for the username), in this case it doesn't, it proceeds as if I've done a carriage return and there fails in the authentication.

If I type mysql -uroot -p<password> then it works as normal.

My current mounts in the container are:

newton:/# mount
/dev/simfs on / type simfs (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)

and

/dev looks like this:

crw-rw-rwT 1 root tty 2, 5 Oct 9 12:36 ptyp5
crw-rw-rwT 1 root tty 2, 3 Oct 9 12:36 ptyp3
crw-rw-rwT 1 root tty 2, 2 Oct 9 12:36 ptyp2
crw-rw-rwT 1 root tty 2, 1 Oct 9 12:36 ptyp1
crw-rw-rwT 1 root tty 2, 0 Oct 9 12:36 ptyp0
crw-rw-rwT 1 root tty 2, 15 Oct 9 12:36 ptypf
crw-rw-rwT 1 root tty 2, 14 Oct 9 12:36 ptype
crw-rw-rwT 1 root tty 2, 13 Oct 9 12:36 ptypd
crw-rw-rwT 1 root tty 2, 12 Oct 9 12:36 ptypc
crw-rw-rwT 1 root tty 2, 11 Oct 9 12:36 ptypb
crw-rw-rwT 1 root tty 2, 10 Oct 9 12:36 ptypa
crw-rw-rwT 1 root tty 2, 9 Oct 9 12:36 ptyp9
crw-rw-rwT 1 root tty 2, 8 Oct 9 12:36 ptyp8
crw-rw-rwT 1 root tty 2, 7 Oct 9 12:36 ptyp7
crw-rw-rwT 1 root tty 2, 6 Oct 9 12:36 ptyp6
crw-rw-rwT 1 root tty 2, 4 Oct 9 12:36 ptyp4
crw-rw-rw- 1 root tty 3, 11 Oct 9 12:36 ttypb
crw-rw-rw- 1 root tty 3, 10 Oct 9 12:36 ttypa
crw-rw-rw- 1 root tty 3, 9 Oct 9 12:36 ttyp9
crw-rw-rw- 1 root tty 3, 8 Oct 9 12:36 ttyp8
crw-rw-rw- 1 root tty 3, 7 Oct 9 12:36 ttyp7
crw-rw-rw- 1 root tty 3, 6 Oct 9 12:36 ttyp6
crw-rw-rw- 1 root tty 3, 5 Oct 9 12:36 ttyp5
crw-rw-rw- 1 root tty 3, 4 Oct 9 12:36 ttyp4
crw-rw-rw- 1 root tty 3, 3 Oct 9 12:36 ttyp3
crw-rw-rw- 1 root tty 3, 2 Oct 9 12:36 ttyp2
crw-rw-rw- 1 root tty 3, 1 Oct 9 12:36 ttyp1
crw-rw-rw- 1 root tty 3, 0 Oct 9 12:36 ttyp0
crw-rw-rw- 1 root tty 3, 15 Oct 9 12:36 ttypf
crw-rw-rw- 1 root tty 3, 14 Oct 9 12:36 ttype
crw-rw-rw- 1 root tty 3, 13 Oct 9 12:36 ttypd
crw-rw-rw- 1 root tty 3, 12 Oct 9 12:36 ttypc
crw-rw-rw- 1 root root 1, 3 Dec 18 15:44 null
cr--r--r-- 1 root root 1, 9 Dec 18 15:44 urandom
crw-rw-rw- 1 root root 1, 5 Dec 18 15:44 zero
-rw-r--r-- 1 root root 16 Dec 19 02:28 tty
prw------- 1 root root 0 Dec 19 02:28 initctl
drwxr-xr-x 2 root root 0 Dec 19 02:29 pts
crw------- 1 root root 4, 1 Dec 19 02:29 tty1
srw-rw-rw- 1 root root 0 Dec 19 02:30 log
prw-r----- 1 root adm 0 Dec 19 02:30 xconsole
crw------- 1 root root 5, 1 Dec 19 02:33 console
crw-rw-rw- 1 root root 5, 2 Dec 19 02:37 ptmx

/dev/pts

c--------- 1 root root 5, 2 Dec 19 02:29 ptmx
crw------- 1 root tty 136, 0 Dec 19 02:38 0

Any ideas to help me solve this almost flawless conversation would be great.

Thanks,

Keith
Re: Physical to Container Conversion [message #50994 is a reply to message #50993] Thu, 19 December 2013 02:58 Go to previous message
tdrnetworks is currently offline  tdrnetworks
Messages: 3
Registered: April 2013
Junior Member
Hi,

Solved the issue, by deploying a new Debian 5 container and copying across the entire dev folder - whatever it was, it's resolved.

Keith
Previous Topic: [Errno -1] Package does not match intended download
Next Topic: Using a fake IP as source
Goto Forum:
  


Current Time: Mon Aug 19 06:16:43 GMT 2024

Total time taken to generate the page: 0.02954 seconds