OpenVZ Forum


Home » General » Support » Problem with vzpkgcache command
Problem with vzpkgcache command [message #324] Fri, 11 November 2005 17:13 Go to next message
celldee is currently offline  celldee
Messages: 2
Registered: November 2005
Location: United Kingdom
Junior Member
Hi, I'm trying out OpenVZ for the first time and have successfully installed the kernel according to the quick installation documentation on this site and I am now trying to get a VPS up and running.

I've followed the instructions in the OS template cache preparation document and, after some rpm issues on my Fedora Core 4 64-bit machine, got to the point where I need to run the vzpkgcache command. That's where the trouble started 'cause I got this message -

<-- start -->
Creating cache for fedora-core-4-i386-default OS template
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/share/vzpkgtools/vzrpm44/lib/python2.4/site-packages/rp m/_rpmmodule.so: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.1 (#1, May 16 2005, 15:15:14)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]

If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.

ERROR: yum failed with 1 exit code
Creating cache for fedora-core-4-i386-minimal OS template
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/share/vzpkgtools/vzrpm44/lib/python2.4/site-packages/rp m/_rpmmodule.so: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.1 (#1, May 16 2005, 15:15:14)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]

If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.

ERROR: yum failed with 1 exit code

<-- end -->

The file _rpmmodule.so does exist on my system with read and execute rights for all users in the directory specified in the error message. I've had to install the 32-bit packages for the rpm/python bits in the tools to get past dependencies, but I'm not sure what the cause of this problem really is.

Does anyone here have any ideas? Is there any more information that I can provide?

Regards,

Chris
Re: Problem with vzpkgcache command [message #335 is a reply to message #324] Mon, 14 November 2005 09:44 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

That's quite interesting, we will try to help you, can you provide me with an ssh access to your box so I can find out what's happening? If yes, please PM me the credentials.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Problem with vzpkgcache command [message #339 is a reply to message #324] Mon, 14 November 2005 15:01 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Chris, thanks for providing me with a login.

I found out you are using x86_64 system, the problem is we do not yet provide vzrpm* stuff for x86_64 (it is in our TODO, but no ETA yet), and vzrpms build for i386 does not work with x86_64 (this is apparently a bug so I filed it: bug #72.

For now, you can use either templates precreated for i386 architecture, and/or try precreated CentOS 4 templates for x86_64 available from here (they are currently 'beta' and will come out of beta as soon as we will have vzrpms built for x86_64.



Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Problem with vzpkgcache command [message #340 is a reply to message #339] Mon, 14 November 2005 16:37 Go to previous messageGo to next message
celldee is currently offline  celldee
Messages: 2
Registered: November 2005
Location: United Kingdom
Junior Member
Thanks for your help. I will try the CentOS template and see how I get on.

Regards,

Chris
Re: Problem with vzpkgcache command [message #3021 is a reply to message #340] Mon, 08 May 2006 14:41 Go to previous messageGo to next message
laurent is currently offline  laurent
Messages: 18
Registered: April 2006
Junior Member
Hello

Any news about OpenVZ and X86_64 architecture ?
i have a new server Bi-xeon 64 bit and i want to use OpenVZ utilities .. and i have the some error with vzpkgcache command listed in this topics

Thanks in advance

Laurent
Re: Problem with vzpkgcache command [message #3037 is a reply to message #3021] Tue, 09 May 2006 15:11 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Laurent, on x86-64 you still need to stick precreated templates :/
Kir is working on unification of tools now.


http://static.openvz.org/userbars/openvz-developer.png
Re: Problem with vzpkgcache command [message #3051 is a reply to message #3037] Tue, 09 May 2006 19:38 Go to previous messageGo to next message
laurent is currently offline  laurent
Messages: 18
Registered: April 2006
Junior Member
OK
i installed a 32 bit centos 4.3 in my hardware X86_64, and it worked well.
but i m loosing some performance, i think !
Re: Problem with vzpkgcache command [message #3055 is a reply to message #3051] Wed, 10 May 2006 05:59 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

only if you have more than 8Gb of RAM. In other use cases it depends.


http://static.openvz.org/userbars/openvz-developer.png
Re: Problem with vzpkgcache command [message #5456 is a reply to message #324] Sun, 20 August 2006 01:43 Go to previous message
gral is currently offline  gral
Messages: 34
Registered: May 2006
Member

"OK
i installed a 32 bit centos 4.3 in my hardware X86_64, and it worked well.
but i m loosing some performance, i think !"

Hey laurent i installed the i386 rpm in my x86_64 bits but inst work Ok!, i received qoutas error when i try to create a VPS..

Which SO are you using?? the error is:

root@vps1 [/vz/template]# vzctl create 102 --ostemplate centos-4-i386-default
Creating VPS private area: /vz/private/102
vzquota : (error) Quota getstat syscall for id 102: Invalid argument
vzquota init failed [3]
vzquota : (error) Can't open quota file for id 102, maybe you need to reinitialize quota: No such file or directory
vzquota : (error) Quota getstat syscall for id 102: Invalid argument
vzquota init failed [3]
vzquota on failed [61]
vzquota : (error) Can't open quota file for id 102, maybe you need to reinitialize quota: No such file or directory
vzquota off failed [11]
vzquota : (error) Can't open quota file for id 102, maybe you need to reinitialize quota: No such file or directory
vzquota setlimit failed [11]
Performing postcreate actions
VPS private area was created


Thanks for all.!!!

Guille


Argentina
--Vz--
Previous Topic: *SOLVED* fastboot?
Next Topic: vmigration_call: what's that?
Goto Forum:
  


Current Time: Wed Aug 28 22:22:58 GMT 2024

Total time taken to generate the page: 0.03650 seconds