OpenVZ Forum


Home » International » German » Nach bash update vzctl enter Problem
icon5.gif  Nach bash update vzctl enter Problem [message #44537] Tue, 13 December 2011 15:40 Go to previous message
IronMaidenFan is currently offline  IronMaidenFan
Messages: 2
Registered: October 2007
Junior Member
Hi,

ich habe einen Container in dem normal Debian Wheezy läuft. Bisher kein Problem. Kürzlich gab es jedoch ein Bash Update auf Version 4.2-1 von 4.1-3. Seit dem komme ich nicht mehr den Container mit vzctl enter 9001. Ein Neustart des CTS brachte auch keine Besserung. Der Container läuft bei einem Neustart problemlos. Das Hostsystem ist übrigens ein standard Debian Squeeze mit Kernel 2.6.32-5-openvz-amd64.

Um genau zu sein: Ich drücke Enter um den Befehl auszuführen und der Cursor springt in die nächste Zeile. Dann passiert nix mehr. Ich kann den Befehl problemlos mit Strg-C beenden.

Mit 'ps auxf' sieht das ganze so aus:
1000     22971  0.0  0.0  21028  3580 pts/0    Ss   16:15   0:00  |       \_ -bash
root     25139  0.0  0.0  37160  1344 pts/0    S    16:22   0:00  |           \_ su -
root     25152  0.0  0.0  19540  2080 pts/0    S    16:22   0:00  |               \_ -su
root     28556  0.0  0.0  18624   956 pts/0    S+   16:31   0:00  |                   \_ vzctl enter 9001
root     28557  0.0  0.0  18624   624 ?        Ss   16:31   0:00  |                       \_ vzctl: pts/0    
root     28558  0.0  0.0  17780  1928 /vz/root/9001/dev/pts/0 Ss+ 16:31   0:00  |     \_ -bash


Mit einem strace sind die letzten Zeilen dies hier:
[pid 28981] rt_sigaction(SIGRT_30, {SIG_DFL, [], SA_RESTORER, 0x7f739d5921e0}, NULL, 8) = 0
[pid 28981] rt_sigaction(SIGRT_31, {SIG_DFL, [], SA_RESTORER, 0x7f739d5921e0}, NULL, 8) = 0
[pid 28981] rt_sigaction(SIGRT_32, {SIG_DFL, [], SA_RESTORER, 0x7f739d5921e0}, NULL, 8) = 0
[pid 28981] rt_sigaction(65, {SIG_DFL, [], SA_RESTORER, 0x7f739d5921e0}, NULL, 8) = -1 EINVAL (Invalid argument)
[pid 28981] ioctl(4, 0x400c2e05, 0x7fff4dec2090) = 9001
[pid 28981] setgroups(0, [])            = 0
[pid 28981] stat("/sbin/init", {st_mode=S_IFREG|0755, st_size=37000, ...}) = 0
[pid 28981] open("/sbin/init", O_RDONLY) = 5
[pid 28981] read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\2\0>\0", 20) = 20
[pid 28981] close(5)                    = 0
[pid 28981] close(4)                    = 0
[pid 28981] open("/dev/ptmx", O_RDWR)   = 4
[pid 28981] statfs("/dev/pts", {f_type="DEVPTS_SUPER_MAGIC", f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
[pid 28981] ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
[pid 28981] ioctl(4, TIOCGPTN, [0])     = 0
[pid 28981] stat("/dev/pts/0", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
[pid 28981] stat("/dev/pts/0", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
[pid 28981] getuid()                    = 0
[pid 28981] open("/etc/group", O_RDONLY|O_CLOEXEC) = 5
[pid 28981] lseek(5, 0, SEEK_CUR)       = 0
[pid 28981] fstat(5, {st_mode=S_IFREG|0644, st_size=525, ...}) = 0
[pid 28981] mmap(NULL, 525, PROT_READ, MAP_SHARED, 5, 0) = 0x7f739e10a000
[pid 28981] lseek(5, 525, SEEK_SET)     = 525
[pid 28981] munmap(0x7f739e10a000, 525) = 0
[pid 28981] close(5)                    = 0
[pid 28981] ioctl(4, TIOCSPTLCK, [0])   = 0
[pid 28981] ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
[pid 28981] ioctl(4, TIOCGPTN, [0])     = 0
[pid 28981] stat("/dev/pts/0", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
[pid 28981] open("/dev/pts/0", O_RDWR|O_NOCTTY) = 5
[pid 28981] ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
[pid 28981] ioctl(5, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon echo ...}) = 0
[pid 28981] ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
[pid 28981] ioctl(5, TIOCSWINSZ, {ws_row=62, ws_col=237, ws_xpixel=0, ws_ypixel=0}) = 0
[pid 28981] ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
[pid 28981] readlink("/proc/self/fd/5", "/dev/pts/0", 4095) = 10
[pid 28981] ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
[pid 28981] readlink("/proc/self/fd/5", "/dev/pts/0", 4095) = 10
[pid 28981] rt_sigaction(SIGCHLD, {0x402ce0, [], SA_RESTORER|SA_NOCLDSTOP, 0x7f739d5921e0}, NULL, 8) = 0
[pid 28981] clone(Process 1052 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f739e1049d0) = 1052
Process 28982 attached (waiting for parent)
[pid 28981] close(5)                    = 0
[pid 28981] close(9)                    = 0
[pid 28981] fcntl(3, F_GETFL)           = 0 (flags O_RDONLY)
[pid 28981] fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
[pid 28981] fcntl(4, F_GETFL)           = 0x8002 (flags O_RDWR|O_LARGEFILE)
[pid 28981] fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
[pid 28981] select(1024, [3 4 10], NULL, NULL, NULL


Hat jmd. ähnliche Erfahrung kürzlich gehabt?
Oder kann mir jmd. Tipps geben, wie ich der Sache weiter auf den Grund gehen kann?

Gruß
Alexander
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: WICHTIGE: Probleme bei setzten von CPU- und RAM-Werte
Next Topic: Umzug
Goto Forum:
  


Current Time: Thu Jul 11 07:57:22 GMT 2024

Total time taken to generate the page: 0.02347 seconds