Home » General » Support » Install problems on dual opteron (64 bits), CentOS 4.4
Install problems on dual opteron (64 bits), CentOS 4.4 [message #7172] |
Thu, 05 October 2006 20:31 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
fgomes
Messages: 29 Registered: August 2006
|
Junior Member |
|
|
This is my first message, I'm reading this forum for some months, and I find it very usefull, it solved all problems I had with 32 bit installations I made, but now I have a new 64 bit server, with dual opteron processor where I want to install openvz. I have installed 64 bit CentOS 4.4 without problems, and then install openvz kernel patch:
rpm -ivh ovzkernel-smp-2.6.8-022stab078.21.x86_64.rpm
I got two warning messages (I suppose related to the RAID contoller I am using, 3ware 9550SX, now supported on the CentOS 4.4 kernel, but it seems not supported on openvz kernel patch):
WARNING: No module 3w-9xxx found for kernel 2.6.8-022stab078.21-smp, continuing anyway
WARNING: No module sata_svw found for kernel 2.6.8-022stab078.21-smp, continuing anyway
Then I make the necessary configuration changes on sysctl and rebooted and all worked as expected (I don't know how is it working without the modules for the RAID controler thow).
Then I started installing OpenVZ packages, following OpenVZ user's guide (vzctl, vzquota and vzpkg) and I run into problems... vzpkg depends on vzctl and vzyum, but vzctl is already installed and vzyum installation fails because it depends on cElementTree.so - I saw in other topic that there is a problem with 64 bit dependencies for vzyum. Then I tried to start openvz using /etc/init.d/vz and found that there is no vz script on init.d.
When is the vz script installed in init.d? Is it with the openvz kernel patch? How can it be missing?
Is there any known way of installing full 64 bit openvz kernel patch and tools? I want to have full 64 bit OS on hardware node and on virtual machines.
Can you give me some advice about it?
Thanks!
Fernando
[Updated on: Fri, 06 October 2006 10:19] by Moderator Report message to a moderator
|
|
|
Re: Install problems on dual opteron (64 bits), CentOS 4.4 [message #7173 is a reply to message #7172] |
Fri, 06 October 2006 04:21 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
HaroldB
Messages: 61 Registered: June 2006
|
Member |
|
|
Quote: | I don't know how is it working without the modules for the RAID controler thow.
|
The drivers are compiled into the kernel, they are not modules. Due to this, your hardware will be detected by the kernel during boot just the same. This is not a problem.
Quote: | vzpkg depends on vzctl and vzyum, but vzctl is already installed and vzyum installation fails because it depends on cElementTree.so
|
use this to install vzyum on 64bit centos:
rpm -ivh vzyum*.rpm --nodeps
Then, edit file /usr/share/vzpkg/cache-os and comment out the line starting with PYTHONPATH.
reference: http://forum.openvz.org/index.php?t=msg&goto=889&
[Updated on: Fri, 06 October 2006 04:21] Report message to a moderator
|
|
|
Re: Install problems on dual opteron (64 bits), CentOS 4.4 [message #7185 is a reply to message #7173] |
Fri, 06 October 2006 09:44 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
fgomes
Messages: 29 Registered: August 2006
|
Junior Member |
|
|
Thanks for your fast reply!
Before I read your message, I tried the quick installation guide methode, using yum, so I configured openvz repository and installed all the tools without any error... but it seems to me that the tools installed are the 32 versions, not the 64 bit version...
After that, I downloaded a precreated cache for the centos 64 bit minimal, created a VE and it worked well. Then I found that vzyum doesn't work - probably because of not having metadata. The CentOS minimal hasn't yum installed, so I suppose the only way to install things in this VE is to use RPM directly on the VE. Where can I get metadata for a 64 bit OS template?
# vzyum 101 install xpto
ERROR: No such OS template: install
Then, I installed metadata for centos i386, but vzpkgcache fails:
Creating cache for centos-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/vzrpm43/lib/python2.3/site-packages/rp mmodule.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.3.4 (#1, Mar 13 2006, 07:49:07)
[GCC 3.4.4 20050721 (Red Hat 3.4.4-2)]
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 centos-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/vzrpm43/lib/python2.3/site-packages/rp mmodule.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.3.4 (#1, Mar 13 2006, 07:49:07)
[GCC 3.4.4 20050721 (Red Hat 3.4.4-2)]
If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.
ERROR: yum failed with 1 exit code
Then, it was to late and went to bed
This morning I read your message, and tried to comment the PYTHONPATH line (yesterday I have already installed vzpkg with --nodeps), but the cache generaion also fails (I don't know if it is because now I have 32 and 64 bit tools thow). I had to comment the three lines:
# PYTHONPATH=`get_rpm_pythonhome $TDIR`
# export PYTHONPATH
# log4 PYTHONPATH=$PYTHONPATH
and this was the result:
# vzpkgcache
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
Any idea of what can I do about this?
Thanks!
Fernando
|
|
|
|
|
|
|
|
Re: Install problems on dual opteron (64 bits), CentOS 4.4 [message #7446 is a reply to message #7172] |
Fri, 13 October 2006 13:15 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
fgomes
Messages: 29 Registered: August 2006
|
Junior Member |
|
|
I've somehow turned arround this problem changing to the install methode described in the Quick install guide in the wiki, using yum, and then installed all the .rpm necessary to have yum in each VE (I built a new cache for CentOS minimal including yum, and then I'm using this cache to built every VE). It is working, but it is not a clean solution.
If you need any details about it, please ask me, I'll post here all that I can retreive from my notes.
Fernando
|
|
|
Goto Forum:
Current Time: Thu Aug 22 23:09:54 GMT 2024
Total time taken to generate the page: 0.03011 seconds
|