Home » Mailing lists » Users » vps does not start anymore after upgrade
vps does not start anymore after upgrade [message #7429] |
Fri, 13 October 2006 09:59 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
Ronald Tanner
Messages: 8 Registered: August 2006
|
Junior Member |
|
|
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 [message #7445 is a reply to message #7429] |
Fri, 13 October 2006 11:17 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
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
>
|
|
|
Re: vps does not start anymore after upgrade [message #7450 is a reply to message #7445] |
Fri, 13 October 2006 14:04 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
Ronald Tanner
Messages: 8 Registered: August 2006
|
Junior Member |
|
|
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
|
|
|
Goto Forum:
Current Time: Mon Aug 19 21:33:19 GMT 2024
Total time taken to generate the page: 0.03214 seconds
|