OpenVZ Forum


Home » General » Support » *SOLVED* Creating VPS private area ...
*SOLVED* Creating VPS private area ... [message #3474] Tue, 30 May 2006 14:50 Go to next message
CleberDantas is currently offline  CleberDantas
Messages: 56
Registered: May 2006
Member
Hi,

I installed the OpenVZ. When I go to create one vps, it stops in this screen... already waited 1 hour and he did not finish. What it is happening?

root@linux [/vz/private]# vzctl create 102
Creating VPS private area: /vz/private/102

Thanks!

[Updated on: Thu, 01 June 2006 07:44] by Moderator

Report message to a moderator

Re: Creating VPS private area ... [message #3475 is a reply to message #3474] Tue, 30 May 2006 15:00 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Can you post strace of vzctl process here, please.
Re: Creating VPS private area ... [message #3476 is a reply to message #3475] Tue, 30 May 2006 15:24 Go to previous messageGo to next message
CleberDantas is currently offline  CleberDantas
Messages: 56
Registered: May 2006
Member
Hi,

------------------------------------------------------------ --------------------
2522 (vzctl) /usr/sbin/vzctl /vz/private
vzctl create 102


------------------------------------------------------------ --------------------
2535 (vzquota) /usr/sbin/vzquota /vz/private
/usr/sbin/vzquota stat 102 -f
Re: Creating VPS private area ... [message #3485 is a reply to message #3476] Tue, 30 May 2006 19:57 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Please, do
strace -ff -o strace.out vzctl create 102
And send strace.out* here.
Thanks! Smile
Re: Creating VPS private area ... [message #3486 is a reply to message #3485] Tue, 30 May 2006 21:46 Go to previous messageGo to next message
CleberDantas is currently offline  CleberDantas
Messages: 56
Registered: May 2006
Member
root@linux [~]# strace -ff -o strace.out vzctl create 102
Removing stale lock file /vz/lock/102.lck
Creating VPS private area: /vz/private/102
Warning: Temp dir /vz/private/102.tmp already exists, deleting
vzquota : (error) Quota on syscall for 102: File exists
vzquota on failed [3]
vzquota : (error) Quota is not running for id 102
Performing postcreate actions
VPS private area was created
root@linux [~]#


strace.out
----------------

execve("/usr/sbin/vzctl", ["vzctl", "create", "102"], [/* 26 vars */]) = 0
uname({sys="Linux", node="linux.srvbr.com", ...}) = 0
brk(0) = 0x8050000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/vzctl/lib/tls/i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vzctl/lib/tls/i686/sse2", 0xbfffef4c) = -1 ENOENT (No such file or directory)
open("/usr/lib/vzctl/lib/tls/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vzctl/lib/tls/i686", 0xbfffef4c) = -1 ENOENT (No such file or directory)
open("/usr/lib/vzctl/lib/tls/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vzctl/lib/tls/sse2", 0xbfffef4c) = -1 ENOENT (No such file or directory)
open("/usr/lib/vzctl/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vzctl/lib/tls", 0xbfffef4c) = -1 ENOENT (No such file or directory)
open("/usr/lib/vzctl/lib/i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vzctl/lib/i686/sse2", 0xbfffef4c) = -1 ENOENT (No such file or directory)
open("/usr/lib/vzctl/lib/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vzctl/lib/i686", 0xbfffef4c) = -1 ENOENT (No such file or directory)
open("/usr/lib/vzctl/lib/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vzctl/lib/sse2", 0xbfffef4c) = -1 ENOENT (No such file or directory)
open("/usr/lib/vzctl/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vzctl/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
.
.
.
Re: Creating VPS private area ... [message #3488 is a reply to message #3474] Wed, 31 May 2006 01:07 Go to previous messageGo to next message
CleberDantas is currently offline  CleberDantas
Messages: 56
Registered: May 2006
Member
Resolved!
Re: Creating VPS private area ... [message #3490 is a reply to message #3488] Wed, 31 May 2006 05:30 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
But what was the reason? Smile
vzctl mustn't hang in any condition...
So if it hangs in "unusual" environment it's a BUG.
Can you describe how did you resolve the problem, please?

Thanks!
Previous Topic: Dependence libreadline.so.5
Next Topic: License CPANEL
Goto Forum:
  


Current Time: Fri Aug 23 03:17:24 GMT 2024

Total time taken to generate the page: 0.03742 seconds