[Users] Container start failed

Konstantin Bukharov bkb at virtuozzo.com
Mon Mar 19 09:48:30 MSK 2018


Hello,

It seems some files (bash?) are corrupted inside this CT.
Start with 'vzctl mount 7144' and then play with chroot into /vz/root/7144.

Best regards,
Konstantin

-----Original Message-----
From: users-bounces at openvz.org [mailto:users-bounces at openvz.org] On Behalf Of Mark Johanson
Sent: Sunday, March 18, 2018 23:35
To: OpenVZ Users List <users at openvz.org>
Subject: [Users] Container start failed

Hello,

Have a vm (centos 6.9 on a centos 6.9 node) that refuses to start. It looks like its failing right after attempting to create the console:

Starting container...
Running: /usr/sbin/vzquota show 7144 
Running: /usr/sbin/vzquota on 7144 -b 104857700 -B 104857700 -i 52428900 -I 52428900 -e 0 -n 0 -s 0 
Mounting root: /vz/root/7144 /vz/private/7144
Container is mounted
Running: /usr/libexec/vzctl/scripts/vps-prestart 
Setting iptables mask 0x01b4dfff
Setting features mask 0000000000000021/0000000000000021
Adding IP address(es): xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
Running: /usr/libexec/vzctl/scripts/vps-net_add 
Running container script: /etc/vz/dists/scripts/redhat-add_ip.sh
Got signal 11
Setting CPU limit: 400
Setting CPU units: 1000
Setting CPUs: 12
Setting iolimit: 10485760 bytes/sec
Running container script: /etc/vz/dists/scripts/set_console.sh
Got signal 11
Container start failed (try to check kernel messages, e.g. "dmesg | tail")
Killing container ...
Container was stopped
Running: /usr/sbin/vzquota stat 7144 -f 
Running: /usr/sbin/vzquota setlimit 7144 -b 104857600 -B 104857600 -i 52428800 -I 52428800 -e 0 -n 0 
Running: /usr/sbin/vzquota stat 7144 -f 
Running: /usr/sbin/vzquota off 7144 
Container is unmounted

dmesg on the node has nothing:

[151554.657347] CT: 7144: started
[151556.889944] CT: 7144: stopped
[151787.507524] CT: 7144: started
[151789.746588] CT: 7144: stopped

vzctl.log isn't showing anything either:

2018-03-18T21:24:33+0100 vzctl : CT 7144 : Starting container...
2018-03-18T21:24:33+0100 vzctl : CT 7144 : Running: /usr/sbin/vzquota show 7144
2018-03-18T21:24:33+0100 vzctl : CT 7144 : Running: /usr/sbin/vzquota on 7144 -b 104857700 -B 104857700 -i 2000100 -I 2000100 -e 0 -n 0 -s 1 -u 9223372036854775807
2018-03-18T21:24:33+0100 vzctl : CT 7144 : Mounting root: /vz/root/7144 /vz/private/7144
2018-03-18T21:24:33+0100 vzctl : CT 7144 : Container is mounted
2018-03-18T21:24:33+0100 vzctl : CT 7144 : Running: /usr/libexec/vzctl/scripts/vps-prestart
2018-03-18T16:24:33-0400 vzctl : CT 7144 : Setting iptables mask 0x01b4dfff
2018-03-18T16:24:33-0400 vzctl : CT 7144 : Setting features mask 0000000000000001/0000000000000001
2018-03-18T21:24:33+0100 vzeventd : CT 7144 : CTID = 7144, event = ve-start (len=8)
2018-03-18T21:24:33+0100 vzctl : CT 7144 : Adding IP address(es): 209.124.69.30 209.124.69.31
2018-03-18T21:24:33+0100 vzctl : CT 7144 : Running: /usr/libexec/vzctl/scripts/vps-net_add
2018-03-18T21:24:35+0100 vzctl : CT 7144 : Running container script: /etc/vz/dists/scripts/redhat-add_ip.sh
2018-03-18T21:24:35+0100 vzctl : CT 7144 : Got signal 11
2018-03-18T21:24:35+0100 vzctl : CT 7144 : Setting CPU limit: 400
2018-03-18T21:24:35+0100 vzctl : CT 7144 : Setting CPU units: 1000
2018-03-18T21:24:35+0100 vzctl : CT 7144 : Setting CPUs: 12
2018-03-18T21:24:35+0100 vzctl : CT 7144 : Setting iolimit: 10485760 bytes/sec
2018-03-18T21:24:35+0100 vzctl : CT 7144 : Running container script: /etc/vz/dists/scripts/set_console.sh
2018-03-18T21:24:35+0100 vzctl : CT 7144 : Got signal 11
2018-03-18T21:24:35+0100 vzctl : CT 7144 : Container start failed (try to check kernel messages, e.g. "dmesg | tail")
2018-03-18T21:24:35+0100 vzctl : CT 7144 : Killing container ...
2018-03-18T21:24:35+0100 vzeventd : CT 7144 : CTID = 7144, event = ve-stop (len=7)
2018-03-18T21:24:35+0100 vzeventd : CT 7144 : Running stop event script
2018-03-18T21:24:35+0100 vzeventd : CT 7144 : Forked child 529931 for stop event
2018-03-18T21:24:35+0100 vzeventd : CT 7144 : Running: /usr/libexec/vzctl/scripts/vzevent-stop
2018-03-18T21:24:35+0100 vzeventd : Child 529931 exited with success
2018-03-18T21:24:36+0100 vzctl : CT 7144 : Container was stopped
2018-03-18T21:24:36+0100 vzctl : CT 7144 : Running: /usr/sbin/vzquota stat 7144 -f
2018-03-18T21:24:36+0100 vzctl : CT 7144 : Running: /usr/sbin/vzquota stat 7144 -f -t
2018-03-18T21:24:36+0100 vzctl : CT 7144 : Running: /usr/sbin/vzquota setlimit 7144 -b 104857600 -B 104857600 -i 2000000 -I 2000000 -e 0 -n 0 -u 9223372036854775807
2018-03-18T21:24:36+0100 vzctl : CT 7144 : Running: /usr/sbin/vzquota stat 7144 -f
2018-03-18T21:24:36+0100 vzctl : CT 7144 : Running: /usr/sbin/vzquota off 7144
2018-03-18T21:24:36+0100 vzctl : CT 7144 : Container is unmounted

I tried using the vzctl console 7144 but never get any output which I figured would have nothing since it stops before starting up a console but thought I would try as a chance at finding a reason.

I've been digging through an strace but see nothing to show why its failing to boot:

181098 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 3}], 0, NULL) = 181239
181098 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=181239, si_status=3, si_utime=0, si_stime=0} ---
181098 ioctl(4, 0x400c2e05, 0x7ffde69d6b70) = 0
181098 write(1, "Setting CPU limit: 400\n", 23) = 23
181098 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2923, ...}) = 0
181098 write(3, "2018-03-18T20:31:23+0100 vzctl :"..., 66) = 66
181098 syscall_508(0x1be8, 0, 0x1000, 0xffffffff, 0x7fde96c92b20, 0x14ad0e0) = 0x1000
181098 write(1, "Setting CPU units: 1000\n", 24) = 24
181098 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2923, ...}) = 0
181098 write(3, "2018-03-18T20:31:23+0100 vzctl :"..., 67) = 67
181098 syscall_506(0x1be8, 0x1f4, 0xffffffff, 0xffffffff, 0x7fde96c92b20, 0x170) = 0
181098 write(1, "Setting CPUs: 12\n", 17) = 17
181098 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2923, ...}) = 0
181098 write(3, "2018-03-18T20:31:23+0100 vzctl :"..., 60) = 60
181098 syscall_499(0x1be8, 0xc, 0xffffffff, 0xffffffff, 0x7fde96c92b20, 0x170) = 0
181098 write(1, "Setting iolimit: 10485760 bytes/"..., 36) = 36
181098 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2923, ...}) = 0
181098 write(3, "2018-03-18T20:31:23+0100 vzctl :"..., 79) = 79
181098 ioctl(4, 0x40104900, 0x7ffde69d6ba0) = 0
181098 uname({sys="Linux", node="nodename-here", ...}) = 0
181098 stat("/etc/vz/dists/scripts/set_console.sh", {st_mode=S_IFREG|0755, st_size=5114, ...}) = 0
181098 open("/etc/vz/dists/scripts/set_console.sh", O_RDONLY) = 5
181098 read(5, "#!/bin/bash\n#  Copyright (C) 201"..., 5114) = 5114
181098 close(5)                         = 0
181098 write(1, "Running container script: /etc/v"..., 63) = 63
181098 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2923, ...}) = 0
181098 write(3, "2018-03-18T20:31:23+0100 vzctl :"..., 106) = 106
181098 ioctl(4, 0x400c2e05, 0x7ffde69d6970) = 0
181098 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fde96c92df0) = 181241
181098 wait4(181241,  <unfinished ...>
181241 set_robust_list(0x7fde96c92e00, 24) = 0
181241 pipe([5, 7])                     = 0
181241 pipe([10, 11])                   = 0
181241 pipe([12, 13])                   = 0
181241 pipe([14, 15])                   = 0
181241 fcntl(10, F_GETFL)               = 0 (flags O_RDONLY)
181241 fcntl(10, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
181241 fcntl(12, F_GETFL)               = 0 (flags O_RDONLY)
181241 rt_sigaction(SIGCHLD, {0x7fde9684a790, [], SA_RESTORER|SA_NOCLDSTOP, 0x7fde9567e510}, NULL, 8) = 0
181241 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181241 syscall_501(0x1be8, 0, 0xffffffffffffffff, 0, 0x2c36a, 0x1be8) = 0
181241 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fde96c92df0) = 181242
181241 close(15)                        = 0
181242 set_robust_list(0x7fde96c92e00, 24 <unfinished ...>
181241 close(11 <unfinished ...>
181242 <... set_robust_list resumed> )  = 0
181241 <... close resumed> )            = 0
181241 close(13 <unfinished ...>
181242 close(0 <unfinished ...>
181241 <... close resumed> )            = 0
181242 <... close resumed> )            = 0
181241 close(5 <unfinished ...>
181242 close(1 <unfinished ...>
181241 <... close resumed> )            = 0
181242 <... close resumed> )            = 0
181241 read(14,  <unfinished ...>
181242 close(2)                         = 0
181242 dup2(5, 0)                       = 0
181242 dup2(11, 1)                      = 1
181242 dup2(13, 2)                      = 2
181242 close(5)                         = 0
181242 close(11)                        = 0
181242 close(13)                        = 0
181242 close(7)                         = 0
181242 close(10)                        = 0
181242 close(12)                        = 0
181242 close(14)                        = 0
181242 fcntl(15, F_SETFD, FD_CLOEXEC)   = 0
181242 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0
181242 close(3)                         = 0
181242 close(5)                         = -1 EBADF (Bad file descriptor)
181242 close(6)                         = 0
181242 close(7)                         = -1 EBADF (Bad file descriptor)
181242 close(8)                         = 0
181242 close(9)                         = 0
...
...
...
181242 close(1015)                      = -1 EBADF (Bad file descriptor)
181242 close(1016)                      = -1 EBADF (Bad file descriptor)
181242 close(1017)                      = -1 EBADF (Bad file descriptor)
181242 close(1018)                      = -1 EBADF (Bad file descriptor)
181242 close(1019)                      = -1 EBADF (Bad file descriptor)
181242 close(1020)                      = -1 EBADF (Bad file descriptor)
181242 close(1021)                      = -1 EBADF (Bad file descriptor)
181242 close(1022)                      = -1 EBADF (Bad file descriptor)
181242 close(1023)                      = -1 EBADF (Bad file descriptor)
181242 chdir("/vz/root/7144")           = 0
181242 chroot("/vz/root/7144")          = 0
181242 setsid()                         = 181242
181242 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
181242 rt_sigaction(SIGHUP, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGILL, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGTRAP, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGABRT, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGBUS, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGFPE, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGKILL, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = -1 EINVAL (Invalid argument)
181242 rt_sigaction(SIGUSR1, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGUSR2, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGALRM, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGTERM, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGSTKFLT, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGCONT, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGSTOP, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = -1 EINVAL (Invalid argument)
181242 rt_sigaction(SIGTSTP, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGTTIN, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGTTOU, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGURG, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGXCPU, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGXFSZ, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGVTALRM, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGPROF, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGWINCH, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGIO, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGPWR, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGSYS, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_2, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_3, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_4, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_5, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_6, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_7, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_8, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_9, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_10, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_11, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_12, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_13, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_14, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_15, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_16, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_17, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_18, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_19, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_20, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_21, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_22, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_23, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_24, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_25, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_26, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_27, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_28, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_29, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_30, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_31, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 rt_sigaction(SIGRT_32, {SIG_DFL, [], SA_RESTORER, 0x7fde9567e510}, NULL, 8) = 0
181242 ioctl(4, 0x400c2e05, 0x7ffde69d6950) = 7144
181242 setgroups(0, [])                 = 0
181242 open("/sbin/init", O_RDONLY|O_NOCTTY) = 3
181242 fstat(3, {st_mode=S_IFREG|0755, st_size=150352, ...}) = 0
181242 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0", 20) = 20
181242 close(3)                         = 0
181242 close(4)                         = 0
181242 execve("/bin/bash", ["/bin/bash"], [/* 3 vars */] <unfinished ...>
181241 <... read resumed> "", 4)        = 0
181242 <... execve resumed> )           = 0
181241 write(7, "#!/bin/bash\n#  Copyright (C) 201"..., 5115 <unfinished ...>
181242 brk(0 <unfinished ...>
181241 <... write resumed> )            = 5115
181242 <... brk resumed> )              = 0x19c7000
181241 close(7)                         = 0
181242 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f37c67a4000
181241 select(1024, [10 12], NULL, NULL, NULL <unfinished ...>
181242 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
181242 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f37c67a3000
181242 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f37c67a2000
181242 arch_prctl(ARCH_SET_FS, 0x7f37c67a3680) = 0
181242 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8} ---
181241 <... select resumed> )           = 2 (in [10 12])
181242 +++ killed by SIGSEGV +++
181241 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=181242, si_status=SIGSEGV, si_utime=0, si_stime=0} ---
181241 rt_sigreturn()                   = 2
181241 read(10, "", 10239)              = 0
181241 close(10)                        = 0
181241 read(12, "", 10239)              = 0
181241 close(12)                        = 0
181241 wait4(181242, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0, NULL) = 181242
181241 write(2, "Got signal 11", 13)    = 13
181241 write(2, "\n", 1)                = 1
181241 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2923, ...}) = 0
181241 write(3, "2018-03-18T20:31:23+0100 vzctl :"..., 57) = 57
181241 close(14)                        = 0 
181241 close(15)                        = -1 EBADF (Bad file descriptor)
181241 close(10)                        = -1 EBADF (Bad file descriptor) 
181241 close(11)                        = -1 EBADF (Bad file descriptor)
181241 close(12)                        = -1 EBADF (Bad file descriptor)
181241 close(13)                        = -1 EBADF (Bad file descriptor)
181241 close(5)                         = -1 EBADF (Bad file descriptor)
181241 close(7)                         = -1 EBADF (Bad file descriptor)
181241 exit_group(3)                    = ?
181241 +++ exited with 3 +++
181098 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 3}], 0, NULL) = 181241
181098 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=181241, si_status=3, si_utime=0, si_stime=0} ---
181098 write(2, "Container start failed (try to c"..., 74) = 74
181098 write(2, "\n", 1)                = 1
181098 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2923, ...}) = 0
181098 write(3, "2018-03-18T20:31:23+0100 vzctl :"..., 118) = 118
181098 close(6 <unfinished ...>         
181127 <... read resumed> "", 4)        = 0
181098 <... close resumed> )            = 0
181127 write(0, "\377\377\377\377", 4 <unfinished ...>
181098 write(8, "O\0\0\0", 4 <unfinished ...>
181127 <... write resumed> )            = -1 EBADF (Bad file descriptor)
181098 <... write resumed> )            = 4
181098 close(8)                         = 0
181098 ioctl(4, 0x400c2e05, 0x7ffde69d6dd0) = 0
181098 write(1, "Killing container ...\n", 22) = 22
181098 stat("/etc/localtime",  <unfinished ...>
181127 exit_group(-1)                   = ?
181098 <... stat resumed> {st_mode=S_IFREG|0644, st_size=2923, ...}) = 0
181098 write(3, "2018-03-18T20:31:23+0100 vzctl :"..., 65) = 65
181098 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fde96c92df0) = 181243
181098 wait4(181243,  <unfinished ...>
181243 set_robust_list(0x7fde96c92e00, 24) = 0
181243 syscall_501(0x1be8, 0x14ae660, 0x2, 0x7fde96c92b20, 0x2c36a, 0x14af210) = 0
181243 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0
181243 open("/dev/null", O_RDWR)        = 5
181243 dup2(5, 0)                       = 0
181243 dup2(5, 1)                       = 1
181243 dup2(5, 2)                       = 2
181243 close(5)                         = 0
181243 close(3)                         = 0

_______________________________________________
Users mailing list
Users at openvz.org
https://lists.openvz.org/mailman/listinfo/users



More information about the Users mailing list