OpenVZ Forum


Home » General » Support » VPS won't start: Got signal 9
icon9.gif  VPS won't start: Got signal 9 [message #8955] Tue, 12 December 2006 05:10 Go to next message
arnaudsj is currently offline  arnaudsj
Messages: 9
Registered: December 2006
Junior Member
Hi,

I just setup a Gentoo VPS from the gentoo template supplied on openvz.org - I added a few packages recompiled and was going to try install NX on it. But then I decided to restart it and then I realized it would not come back up Sad

Here is what I found in vzctl.log

2006-12-11T23:07:05-0600 vzctl : VE 101 : Starting VE ...
2006-12-11T23:07:05-0600 vzctl : VE 101 : VE is mounted
2006-12-11T23:07:05-0600 vzctl : VE 101 : Setting CPU units: 100000
2006-12-11T23:07:05-0600 vzctl : VE 101 : Set hostname: vzgentoo
2006-12-11T23:07:05-0600 vzctl : VE 101 : VE start in progress waiting ...
2006-12-11T23:07:07-0600 vzctl : VE 101 : Got signal 9
2006-12-11T23:07:07-0600 vzctl : VE 101 : VE wait failed 
2006-12-11T23:07:07-0600 vzctl : VE 101 : Stopping VE ...
2006-12-11T23:07:07-0600 vzctl : VE 101 : VE was stopped
2006-12-11T23:07:08-0600 vzctl : VE 101 : VE is unmounted


Any ideas what went wrong? Or how to find out what killed it?

Thanks!
Re: VPS won't start: Got signal 9 [message #8981 is a reply to message #8955] Tue, 12 December 2006 14:09 Go to previous messageGo to next message
jbond007 is currently offline  jbond007
Messages: 78
Registered: January 2006
Location: Miami
Member
you Update the kernel such
apt-get upgrade ?
check the /proc/user_*
Re: VPS won't start: Got signal 9 [message #8990 is a reply to message #8981] Tue, 12 December 2006 14:22 Go to previous messageGo to next message
arnaudsj is currently offline  arnaudsj
Messages: 9
Registered: December 2006
Junior Member
No, I did not update the kernel. I know that I tried to install the x86chroot package in gentoo, but it failed because it was asking for the kernel libs. It did download the latest kernel and dropped it in /usr/src/linux in the VPS, but I did not compile it or anything.

Right now I can't see anything under /proc/ inside the VPS as it won't start.

Any other ideas?
Re: VPS won't start: Got signal 9 [message #9014 is a reply to message #8955] Wed, 13 December 2006 09:37 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

can you please attach here the output of:
# strace -f -o out vzctl start <VEID>
output file is "out".
and dmesg output.


http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Wed, 13 December 2006 09:38]

Report message to a moderator

Re: VPS won't start: Got signal 9 [message #9025 is a reply to message #8955] Wed, 13 December 2006 17:19 Go to previous message
arnaudsj is currently offline  arnaudsj
Messages: 9
Registered: December 2006
Junior Member
Here is the strace output when trying to start the VPS:

21359 execve("/usr/sbin/vzctl", ["vzctl", "start", "101"], [/* 23 vars */]) = 0
21359 uname({sys="Linux", node="andromeda", ...}) = 0
21359 brk(0)                            = 0x508000
21359 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95556000
21359 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
21359 open("/usr/lib/vzctl/lib/tls/x86_64/libvzctl.so.0.0.2", O_RDONLY) = -1 ENOENT (No such file or directory)
21359 stat("/usr/lib/vzctl/lib/tls/x86_64", 0x7fbfffee10) = -1 ENOENT (No such file or directory)
21359 open("/usr/lib/vzctl/lib/tls/libvzctl.so.0.0.2", O_RDONLY) = -1 ENOENT (No such file or directory)
21359 stat("/usr/lib/vzctl/lib/tls", 0x7fbfffee10) = -1 ENOENT (No such file or directory)
21359 open("/usr/lib/vzctl/lib/x86_64/libvzctl.so.0.0.2", O_RDONLY) = -1 ENOENT (No such file or directory)
21359 stat("/usr/lib/vzctl/lib/x86_64", 0x7fbfffee10) = -1 ENOENT (No such file or directory)
21359 open("/usr/lib/vzctl/lib/libvzctl.so.0.0.2", O_RDONLY) = 3
21359 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340u\0\0"..., 832) = 832
21359 fstat(3, {st_mode=S_IFREG|0755, st_size=482125, ...}) = 0
21359 mmap(NULL, 1191848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a95557000
21359 mprotect(0x2a95578000, 1056680, PROT_NONE) = 0
21359 mmap(0x2a95678000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x21000) = 0x2a95678000
21359 close(3)                          = 0
21359 open("/usr/lib/vzctl/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
21359 open("/etc/ld.so.cache", O_RDONLY) = 3
21359 fstat(3, {st_mode=S_IFREG|0644, st_size=103387, ...}) = 0
21359 mmap(NULL, 103387, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a9567a000
21359 close(3)                          = 0
21359 open("/lib64/libdl.so.2", O_RDONLY) = 3
21359 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\17\200"..., 832) = 832
21359 fstat(3, {st_mode=S_IFREG|0755, st_size=17943, ...}) = 0
21359 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95694000
21359 mmap(0x3d9d800000, 1056968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3d9d800000
21359 mprotect(0x3d9d802000, 1048776, PROT_NONE) = 0
21359 mmap(0x3d9d901000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x3d9d901000
21359 close(3)                          = 0
21359 open("/usr/lib/vzctl/lib/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
21359 open("/lib64/libutil.so.1", O_RDONLY) = 3
21359 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\21\0"..., 832) = 832
21359 fstat(3, {st_mode=S_IFREG|0755, st_size=17367, ...}) = 0
21359 mmap(0x3da2000000, 1057048, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3da2000000
21359 mprotect(0x3da2002000, 1048856, PROT_NONE) = 0
21359 mmap(0x3da2101000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x3da2101000
21359 close(3)                          = 0
21359 open("/usr/lib/vzctl/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
21359 open("/lib64/tls/libc.so.6", O_RDONLY) = 3
21359 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\304"..., 832) = 832
21359 fstat(3, {st_mode=S_IFREG|0755, st_size=1493409, ...}) = 0
21359 mmap(0x3d9d500000, 2310088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3d9d500000
21359 mprotect(0x3d9d62b000, 1085384, PROT_NONE) = 0
21359 mmap(0x3d9d72b000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12b000) = 0x3d9d72b000
21359 mmap(0x3d9d730000, 16328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3d9d730000
21359 close(3)                          = 0
21359 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95695000
21359 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95696000
21359 mprotect(0x3d9d72b000, 8192, PROT_READ) = 0
21359 arch_prctl(ARCH_SET_FS, 0x2a95695dc0) = 0
21359 munmap(0x2a9567a000, 103387)      = 0
21359 brk(0)                            = 0x508000
21359 brk(0x529000)                     = 0x529000
21359 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
21359 open("/usr/lib/vzctl/modules/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOENT (No such file or directory)
21359 open("/etc/vz/vz.conf", O_RDONLY) = 3
21359 stat("/etc/vz/vz.conf", {st_mode=S_IFREG|0644, st_size=699, ...}) = 0
21359 fstat(3, {st_mode=S_IFREG|0644, st_size=699, ...}) = 0
21359 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9567a000
21359 read(3, "## Global parameters\nVIRTUOZZO=y"..., 4096) = 699
21359 read(3, "", 4096)                 = 0
21359 close(3)                          = 0
21359 munmap(0x2a9567a000, 4096)        = 0
21359 open("/var/log/vzctl.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
21359 fstat(3, {st_mode=S_IFREG|0644, st_size=15582, ...}) = 0
21359 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9567a000
21359 fstat(3, {st_mode=S_IFREG|0644, st_size=15582, ...}) = 0
21359 lseek(3, 15582, SEEK_SET)         = 15582
21359 stat("/etc/vz/conf/101.conf", {st_mode=S_IFREG|0644, st_size=1763, ...}) = 0
21359 open("/etc/vz/conf/101.conf", O_RDONLY) = 4
21359 stat("/etc/vz/conf/101.conf", {st_mode=S_IFREG|0644, st_size=1763, ...}) = 0
21359 fstat(4, {st_mode=S_IFREG|0644, st_size=1763, ...}) = 0
21359 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9567b000
21359 read(4, "#  Copyright (C) 2000-2006 SWsof"..., 4096) = 1763
21359 read(4, "", 4096)                 = 0
21359 close(4)                          = 0
21359 munmap(0x2a9567b000, 4096)        = 0
21359 fcntl(0, F_GETFL)                 = 0x8002 (flags O_RDWR|O_LARGEFILE)
21359 fcntl(1, F_GETFL)                 = 0x8002 (flags O_RDWR|O_LARGEFILE)
21359 fcntl(2, F_GETFL)                 = 0x8002 (flags O_RDWR|O_LARGEFILE)
21359 open("/dev/vzctl", O_RDWR)        = 4
21359 ioctl(4, 0x400c2e05, 0x7fbfffeef0) = 0
21359 stat("/vz/lock", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21359 getpid()                          = 21359
21359 open("/vz/lock/101.lck4BsesR", O_RDWR|O_CREAT|O_EXCL, 0600) = 5
21359 write(5, "21359\n\n", 7)          = 7
21359 close(5)                          = 0
21359 link("/vz/lock/101.lck4BsesR", "/vz/lock/101.lck") = 0
21359 unlink("/vz/lock/101.lck4BsesR")  = 0
21359 rt_sigaction(SIGINT, {SIG_IGN}, NULL, 8) = 0
21359 ioctl(4, 0x400c2e05, 0x7fbfffef00) = -1 ESRCH (No such process)
21359 ioctl(4, 0x400c2e05, 0x7fbfffed50) = -1 ESRCH (No such process)
21359 stat("/etc/vz/dists/gentoo-20060317-amd64-stage3.conf", 0x7fbfffe7b0) = -1 ENOENT (No such file or directory)
21359 stat("/etc/vz/dists/gentoo-20060317-amd64.conf", 0x7fbfffe7b0) = -1 ENOENT (No such file or directory)
21359 stat("/etc/vz/dists/gentoo-20060317.conf", 0x7fbfffe7b0) = -1 ENOENT (No such file or directory)
21359 stat("/etc/vz/dists/gentoo.conf", {st_mode=S_IFREG|0644, st_size=1054, ...}) = 0
21359 open("/etc/vz/dists/gentoo.conf", O_RDONLY) = 5
21359 fstat(5, {st_mode=S_IFREG|0644, st_size=1054, ...}) = 0
21359 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9567b000
21359 read(5, "#  Copyright (C) 2000-2006 SWsof"..., 4096) = 1054
21359 stat("/etc/vz/dists/scripts/gentoo-add_ip.sh", {st_mode=S_IFREG|0755, st_size=2908, ...}) = 0
21359 stat("/etc/vz/dists/scripts/gentoo-del_ip.sh", {st_mode=S_IFREG|0755, st_size=1605, ...}) = 0
21359 stat("/etc/vz/dists/scripts/gentoo-set_hostname.sh", {st_mode=S_IFREG|0755, st_size=1805, ...}) = 0
21359 stat("/etc/vz/dists/scripts/set_dns.sh", {st_mode=S_IFREG|0755, st_size=1668, ...}) = 0
21359 stat("/etc/vz/dists/scripts/set_userpass.sh", {st_mode=S_IFREG|0755, st_size=1519, ...}) = 0
21359 stat("/etc/vz/dists/scripts/gentoo-set_ugid_quota.sh", {st_mode=S_IFREG|0755, st_size=1792, ...}) = 0
21359 stat("/etc/vz/dists/scripts/postcreate.sh", {st_mode=S_IFREG|0755, st_size=2104, ...}) = 0
21359 read(5, "", 4096)                 = 0
21359 close(5)                          = 0
21359 munmap(0x2a9567b000, 4096)        = 0
21359 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
21359 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9567b000
21359 write(1, "Starting VE ...\n", 16) = 16
21359 open("/etc/localtime", O_RDONLY)  = 5
21359 fstat(5, {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
21359 fstat(5, {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
21359 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9567c000
21359 read(5, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0"..., 4096) = 1279
21359 close(5)                          = 0
21359 munmap(0x2a9567c000, 4096)        = 0
21359 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
21359 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
21359 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1279, ...}) = 0
21359 write(3, "2006-12-13T09:11:35-0600 vzctl :"..., 58) = 58
21359 open("/proc/mounts", O_RDONLY)    = 5
21359 lstat("/v
...

Previous Topic: Application is being killed by kernel with signal 11
Next Topic: *SOLVED* New kernel issue?
Goto Forum:
  


Current Time: Sat Apr 13 00:07:24 GMT 2024

Total time taken to generate the page: 0.01650 seconds