| Problem with vzpkgcache command [message #324] | 
			Fri, 11 November 2005 17:13   | 
		 
		
			
				
				
				
					
						  
						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 #5456 is a reply to message #324] | 
			Sun, 20 August 2006 01:43   | 
		 
		
			
				
				
				
					
						  
						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--
		
 |  
	| 
		
	 | 
 
 
 |