Problem with VZYuming. [message #32395] |
Tue, 05 August 2008 09:09  |
David C
Messages: 7 Registered: August 2007
|
Junior Member |
|
|
Hi all, like the other guy in the other thread, I'm having some problems installing yum on one of my VE via vzyum.
Any ideas? My VE is running on Centos 4 Default OSTemplate.
I'm able to yum just fine on the host machine though.
[root@radiowave rpm]# vzyum 401 install yum
exec /usr/bin/yum -c /vz/template/centos/4/i386/config/yum.conf --installroot /v z/root/401 install yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/share/vzpkgtools/vzrpm43/lib/python2.4/site-packages/rpmmodule.so: wrong ELF class: ELFCLASS32
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.3 (#1, May 24 2008, 13:57:05)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
|
|
|
|
Re: Problem with VZYuming. [message #32410 is a reply to message #32398] |
Wed, 06 August 2008 04:39  |
David C
Messages: 7 Registered: August 2007
|
Junior Member |
|
|
Probably spoke too soon.
Have another problem on another VE container:
[root@radiowave ~]# vzyum 202 install yum
exec /usr/bin/yum -c /vz/template/centos/4/i386/config/yum.conf --installroot /vz/root/202 install yum
rpmdb: Program version 4.3 doesn't match environment version
error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /vz/root/202/var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 85, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 163, in getOptionsConfig
disabled_plugins=self.optparser._splitArg(opts.disableplugins))
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 164, in _getConfig
self._conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 685, in readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 755, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
http://pastie.org/248272
|
|
|