OpenVZ Forum


Home » General » Support » vzpkgcache issues on amd64
vzpkgcache issues on amd64 [message #1641] Fri, 17 February 2006 14:48 Go to previous message
scooter is currently offline  scooter
Messages: 38
Registered: December 2005
Location: Texas
Member
got an new opteron running rhel64

Evertything seems fine except trying to build the OS cache on centos 4.2

Creating cache for centos-4-i386-default OS template
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code
[root@vps2 openvz]#

i did comment out the PYTHON path which i found in this forum, i then had python-celementtree-1.0.5-1.2.el4.rf.x86_64.rpm installed but it griped about couldn't find the cElementtree.so module, so i tried python-elementtree-1.2.6-6.2.el4.rf.x86_64.rpm and i get the above errors.

First time working with a 64 bit system, not sure if i'm doing something wrong or not.

scooter
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Installing Software within VPS
Next Topic: GameServer out of memory
Goto Forum:
  


Current Time: Sat Jul 13 16:35:50 GMT 2024

Total time taken to generate the page: 0.02242 seconds