OpenVZ Forum


Home » General » Support » moved hd and vzyum dosn't work
moved hd and vzyum dosn't work [message #30794] Fri, 06 June 2008 17:22 Go to previous message
lcslouis is currently offline  lcslouis
Messages: 26
Registered: September 2006
Junior Member
i have a problem with vzyum

/etc/sysconfig/vz-scripts//102.conf: line 16: USA: command not found
exec /usr/share/vzyum/bin/yum -c /vz/template/fedora-core/4/i386/config/yum.conf --installroot /vz/root/102 --vps=102 install libssl.so
rpmdb: unable to initialize mutex: Invalid argument
rpmdb: PANIC: Invalid argument
rpmdb: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 -  (-30977)
error: cannot open Packages database in /vz/root/102/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


i moved the vz to vz2/private/102/

how can i fix this?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: /proc/user_beancounters not reset after VE restart.
Next Topic: How do I reset root password.
Goto Forum:
  


Current Time: Sat Nov 16 00:34:07 GMT 2024

Total time taken to generate the page: 0.03255 seconds