OpenVZ Forum


Home » General » Support » More vzyum problems
Re: More vzyum problems [message #3972 is a reply to message #3810] Mon, 26 June 2006 12:54 Go to previous messageGo to previous message
Preatorian is currently offline  Preatorian
Messages: 2
Registered: June 2006
Location: Netherlands
Junior Member
I'm having almost the same problem with this one.

after the change of the cacheos script i'm getting the following message

I'm Using CentOS 4.3 86_64
Linux openvz 2.6.8-022stab078.10-smp #1 SMP Wed Jun 21 14:01:02 MSD 2006 x86_64 x86_64 x86_64 GNU/Linux

Getting the following error,

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
Creating cache for centos-4-i386-minimal 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


http://static.openvz.org/userbars/openvz-user-2.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Routable IP's
Next Topic: *SOLVED* Host Server eth0 failed
Goto Forum:
  


Current Time: Sat Sep 28 21:29:04 GMT 2024

Total time taken to generate the page: 0.04331 seconds