OpenVZ Forum


Home » General » Support » *SOLVED* vzpkgcache and cache creation
*SOLVED* vzpkgcache and cache creation [message #2812] Fri, 21 April 2006 19:51 Go to next message
dustinw is currently offline  dustinw
Messages: 2
Registered: April 2006
Junior Member
Hello-

I am trying to get a server set up and running with OpenVZ. I downloaded and installed the following (as per the installation instructions):

vzkernel-smp-2.6.8-022stab076.1
vzctl-lib-3.0.0-7
vzrpm43-4.3.3-7_nonptl.6
vztmpl-fedora-core-5-2.0-2
vzquota-3.0.0-6
vzctl-3.0.0-7
vzpkg-2.7.0-18
vzrpm44-4.4.1-22.5
vzrpm43-python-4.3.3-7_nonptl.6
vztmpl-centos-4-2.0-2
vztmpl-fedora-core-4-2.0-2
vzyum-2.4.0-11
vzrpm44-python-4.4.1-22.5
vztmpl-fedora-core-3-2.0-2

The kernel installation and modification of the appropriate system files went well and according to plan. Now I'm at the point where I'm trying to build the package caches so that I can create VPSs.

When I issue the vzpkgcache as follows here is the output:

[root@opnvz1 ~]# vzpkgcache
Creating cache for fedora-core-4-i386-default OS template
ERROR: Can't start VPS 100001
Creating cache for fedora-core-4-i386-minimal OS template
ERROR: Can't start VPS 100001
Creating cache for fedora-core-5-i386-default OS template
ERROR: Can't start VPS 100001
Creating cache for fedora-core-5-i386-minimal OS template
ERROR: Can't start VPS 100001
Creating cache for fedora-core-3-i386-default OS template
ERROR: Can't start VPS 100001
Creating cache for fedora-core-3-i386-minimal OS template
ERROR: Can't start VPS 100001
Creating cache for centos-4-i386-default OS template
ERROR: Can't start VPS 100001
Creating cache for centos-4-i386-minimal OS template
ERROR: Can't start VPS 100001

Does anyone have any ideas as to why this might be happening?

Thanks.

--Dustin

[Updated on: Fri, 05 May 2006 17:58] by Moderator

Report message to a moderator

Re: vzpkgcache and cache creation [message #2826 is a reply to message #2812] Sat, 22 April 2006 07:55 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

can you check /var/log/vz* please?
do you have writeable /vz/ directory?
if nothing there, we need to strace vzcache with
# strace -o output -f vzcache


http://static.openvz.org/userbars/openvz-developer.png
Re: vzpkgcache and cache creation [message #2832 is a reply to message #2812] Sat, 22 April 2006 13:02 Go to previous messageGo to next message
Shooter is currently offline  Shooter
Messages: 7
Registered: April 2006
Junior Member
I think it's a bug in vzquota-3.0.0-6
Try previous version
http://openvz.org/download/utils/vzquota/3.0.0-2

It's helped me
Re: vzpkgcache and cache creation [message #2833 is a reply to message #2832] Sat, 22 April 2006 16:26 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

hmm... will recheck it then on monday. thanks for info!


http://static.openvz.org/userbars/openvz-developer.png
Re: vzpkgcache and cache creation [message #2837 is a reply to message #2826] Sat, 22 April 2006 20:36 Go to previous messageGo to next message
mavenman is currently offline  mavenman
Messages: 10
Registered: April 2006
Junior Member
I have the same exact errors returned when running:
# vzpkgcache centos-4-i386-default
Creating cache for centos-4-i386-default OS template
ERROR: Can't start VPS 100001

I attempted to create the cache for just this osname to return the following errors listed in /var/log/vzctl.log:

2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for VMGUARPAGES=6144:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for OOMGUARPAGES=6144:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for PHYSPAGES=0:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : VPS is mounted
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for VMGUARPAGES=6144:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for OOMGUARPAGES=6144:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for PHYSPAGES=0:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : UB parameter PHYSPAGES not set
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : UB parameter VMGUARPAGES not set
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : UB parameter OOMGUARPAGES not set
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for VMGUARPAGES=6144:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for OOMGUARPAGES=6144:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for PHYSPAGES=0:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Unable to stop: VPS is not running
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for VMGUARPAGES=6144:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for OOMGUARPAGES=6144:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for PHYSPAGES=0:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : VPS is unmounted
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for VMGUARPAGES=6144:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for OOMGUARPAGES=6144:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Invalid value for PHYSPAGES=0:9223372036854775807, skipped
2006-04-22T16:29:03-0400 vzctl : VPS 100001 : Destroying VPS private area: /vz/private/100001
2006-04-22T16:29:04-0400 vzctl : VPS 100001 : VPS private area was destroyed

I attempted to revert back to an earlier version of vzquota (from 3.0.0-6 to 3.0.0-2) with no change. The above errors were returned with vzquota-3.0.0-2 and vzquota-3.0.0-6

Hope this helps in diagnosing the issue.
Re: vzpkgcache and cache creation [message #2840 is a reply to message #2832] Sat, 22 April 2006 23:41 Go to previous messageGo to next message
mavenman is currently offline  mavenman
Messages: 10
Registered: April 2006
Junior Member
Shooter,

Can you list the latest versions of all the packages (utilities,kernel,host os etc) that worked for you?

I downloaded the latest versions of all the packages on a CentOS 4 Host and was unable to resolve the issue with reverting to 3.0.0-2 of vzquota. I am wondering if you are on an earlier version of one of the other utilities and maybe it is a combo of the two versions causing the issue.

TIA for the info/help.
Re: vzpkgcache and cache creation [message #2842 is a reply to message #2837] Sun, 23 April 2006 02:17 Go to previous messageGo to next message
mavenman is currently offline  mavenman
Messages: 10
Registered: April 2006
Junior Member
Update -

I went ahead and downgraded to vzctl-3.0.0-2 and vzctl-lib-3.0.0-2 and (still downloading) but the first template cache is creating and appears to be processing successfully.

Hope this helps.
Re: vzpkgcache and cache creation [message #2855 is a reply to message #2837] Mon, 24 April 2006 06:51 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Oh. god. found a problem.
these values printed in vzctl.log are from 64bit version and are too big. Decrease them in /etc/sysconfig/vz-scripts/*conf* down to 2147483647. New version/bug fix will be released today for this.

thanks a lot for reporting.


http://static.openvz.org/userbars/openvz-developer.png
Re: vzpkgcache and cache creation [message #2871 is a reply to message #2812] Mon, 24 April 2006 13:57 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

The problem was caused by the incorrect VPS samples (samples from x86_64 arch was included into i386 vzctl). This is fixed in vzctl-3.0.0-8. Update vzctl and the problem should be fixed. Sorry for the inconvenience.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: vzpkgcache and cache creation [message #2980 is a reply to message #2812] Thu, 04 May 2006 16:22 Go to previous message
dustinw is currently offline  dustinw
Messages: 2
Registered: April 2006
Junior Member
Finally got back to the openvz box Smile and the new version of vzctl worked. Thanks!
Previous Topic: FC5 + 3ware raid
Next Topic: NFS-client patch
Goto Forum:
  


Current Time: Mon Nov 18 15:17:07 GMT 2024

Total time taken to generate the page: 0.02962 seconds