OpenVZ Forum


Home » General » Support » Problem migrating Debian 3.1 physical server to OpenVZ container
Re: Problem migrating Debian 3.1 physical server to OpenVZ container [message #51432 is a reply to message #51430] Fri, 30 May 2014 20:00 Go to previous messageGo to previous message
plomosa is currently offline  plomosa
Messages: 2
Registered: May 2014
Junior Member
I did an strace while running the vzctl start 401 command and I think it is an issue while running the set_console.sh script. Here are the results immediately preceding the failure message:


stat("/etc/vz/dists/scripts/set_console.sh", {st_mode=S_IFREG|0755, st_size=4978, ...}) = 0
open("/etc/vz/dists/scripts/set_console.sh", O_RDONLY) = 5
read(5, "#!/bin/bash\n# Copyright (C) 2012-2014, Parallels, Inc. All rights reserved.\n#\n# This program is free software; you can redistr"..., 4978) = 4978
close(5) = 0
write(1, "Running container script: /etc/vz/dists/scripts/set_console.sh\n", 63) = 63
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=327, ...}) = 0
write(3, "2014-05-30T12:31:47-0700 vzctl : CT 401 : Running container script: /etc/vz/dists/scripts/set_console.sh\n", 105) = 105
ioctl(4, 0x400c2e05, 0x7fff09472f90) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f39546d2df0) = 135669
wait4(135669, [{WIFEXITED(s) && WEXITSTATUS(s) == 4}], 0, NULL) = 135669
--- SIGCHLD (Child exited) @ 0 (0) ---
write(2, "Container start failed (try to check kernel messages, e.g. \"dmesg | tail\")", 74) = 74
write(2, "\n", 1) = 1
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=327, ...}) = 0
write(3, "2014-05-30T12:31:47-0700 vzctl : CT 401 : Container start failed (try to check kernel messages, e.g. \"dmesg | tail\")\n", 117) = 117
close(6) = 0
write(8, "O\0\0\0", 4) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
close(Cool = 0





I checked the output of the process itself that was run and see this output:



set_robust_list(0x7f39546d2e00, 0x18) = 0
pipe([5, 7]) = 0
pipe([10, 11]) = 0
pipe([12, 13]) = 0
pipe([14, 15]) = 0
fcntl(10, F_GETFL) = 0 (flags O_RDONLY)
fcntl(10, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl(12, F_GETFL) = 0 (flags O_RDONLY)
fcntl(12, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
rt_sigaction(SIGCHLD, {0x3b32417900, [], SA_RESTORER|SA_NOCLDSTOP, 0x3b314329a0}, NULL, Cool = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x3b314329a0}, NULL, Cool = 0
syscall_501(0x191, 0, 0xffffffffffffffff, 0, 0x211dc, 0x191, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1
) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f39546d2df0) = 135670
close(15) = 0
close(11) = 0
close(13) = 0
close(5) = 0
read(14, "/\0\0\0", 4) = 4
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11) = 4
close(14) = 0
close(15) = -1 EBADF (Bad file descriptor)
close(10) = 0
close(11) = -1 EBADF (Bad file descriptor)
close(12) = 0
close(13) = -1 EBADF (Bad file descriptor)
close(5) = -1 EBADF (Bad file descriptor)
close(7) = 0
exit_group(4) = ?




Any ideas?
 
Read Message
Read Message
Read Message
Previous Topic: VPS remains offline.
Next Topic: file system in / vz / private / xxx backup / restore
Goto Forum:
  


Current Time: Sat Sep 06 13:55:12 GMT 2025

Total time taken to generate the page: 0.11788 seconds