vps does not start anymore after upgrade
Hi I am struggling with a strange VPS startup problem after having upgraded my VPS gentoo system. I have checked all steps listed in the wiki page "Gentoo template creation" Vzlist says status "mounted" instead of "running" and Strace -f gives: [pid 10966] stat64("/etc/runlevels/default/net.venet0", {st_mode=S_IFREG|0755, st_size=30341, ...}) = 0 [pid 10966] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 10966] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 10966] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 [pid 10966] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 [pid 10966] stat64("/etc/conf.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 10966] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 10966] stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 10966] stat64("/bin/grep", {st_mode=S_IFREG|0755, st_size=73660, ...}) = 0 [pid 10966] stat64("/bin/grep", {st_mode=S_IFREG|0755, st_size=73660, ...}) = 0 [pid 10966] rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 [pid 10966] fork(Process 11991 attached ) = 11991 [tcb table full] Process 10959 resumed Process 10965 detached Process 10963 detached Process 10966 detached Process 11991 detached bash: line 118: 11991 Killed grep -E "^$name=\(.*\)" $file >/dev/null 2>&1 Thanks for your help. Ronald Tanner
Re: vps does not start anymore after upgrade
Hello, some time ago I encountered the same problem. The solution is: instead #!/sbin/runscript depend() { } start() { } end() { } checkroot should contain #!/sbin/runscript depend() { echo } start() { echo } end() { echo } HTH, Vasily. P.S. Please, fix wiki page in order to future customers will not have problems. Ronald Tanner wrote: > Hi > > I am struggling with a strange VPS startup problem after > having upgraded my VPS gentoo system. I have > checked all steps listed in the wiki page "Gentoo template creation" > Vzlist says status "mounted" instead of "running" > and Strace -f gives: > > [pid 10966] stat64("/etc/runlevels/default/net.venet0", > {st_mode=S_IFREG|0755, st_size=30341, ...}) = 0 > [pid 10966] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > [pid 10966] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > [pid 10966] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > [pid 10966] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 > [pid 10966] stat64("/etc/conf.d", {st_mode=S_IFDIR|0755, st_size=4096, > ...}) = 0 > [pid 10966] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 > [pid 10966] stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > [pid 10966] stat64("/bin/grep", {st_mode=S_IFREG|0755, st_size=73660, > ...}) = 0 > [pid 10966] stat64("/bin/grep", {st_mode=S_IFREG|0755, st_size=73660, > ...}) = 0 > [pid 10966] rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 > [pid 10966] fork(Process 11991 attached > ) = 11991 > [tcb table full] > Process 10959 resumed > Process 10965 detached > Process 10963 detached > Process 10966 detached > Process 11991 detached > bash: line 118: 11991 Killed grep -E "^$name=\(.*\)" > $file >/dev/null 2>&1 > > Thanks for your help. > Ronald Tanner >
Ah! You got it. Thanks. Vasily Tarasov wrote: > checkroot should contain > > #!/sbin/runscript > depend() > { > echo > } > start() > { > echo > } > end() > { > echo > } > I've just added it to the wiki page. > > P.S. Please, fix wiki page in order to future customers will not have problems. > Best regards Ronald