Posts tagged centos
Install Xen 3.4.3 on CentOS 5.x
4So I have had to install Xen 3.4.3 recently 3 different times so I thought I’d make a quick post regarding the best route I have found to do this. Please note, this may not be the most optimal route but it has worked well for me 3 times now:
yum install xen PyXML mesa-libGL yum remove xen python-virtinst libvirt-python libvirt xen-libs mkdir rpms cd rpms wget http://www.gitco.de/repo/xen3.4.3/libvirt-0.7.0-6.el5.x86_64.rpm wget http://www.gitco.de/repo/xen3.4.3/libvirt-client-0.7.0-6.el5.x86_64.rpm wget http://www.gitco.de/repo/xen3.4.3/libvirt-python-0.7.0-6.el5.x86_64.rpm wget http://www.gitco.de/repo/xen3.4.3/python-virtinst-0.500.0-1.el5.noarch.rpm wget http://www.gitco.de/repo/xen3.4.3/xen-3.4.3-1.el5.x86_64.rpm wget http://www.gitco.de/repo/xen3.4.3/xen-libs-3.4.3-1.el5.x86_64.rpm wget http://www.gitco.de/repo/xen3.4.3/glusterfs-client-2.0.8-1.el5.x86_64.rpm wget http://www.gitco.de/repo/xen3.4.3/glusterfs-common-2.0.8-1.el5.x86_64.rpm wget http://www.gitco.de/repo/xen3.4.3/fuse-2.7.4-1.rf.x86_64.rpm wget http://www.gitco.de/repo/xen3.4.3/libibverbs-1.1-1.x86_64.rpm rpm -ivh *.rpm
After that block, make sure you edit /etc/grub.conf to set the following lines:
---snip--- default = 0 ---snip--- kernel /xen.gz-3.4.3 dom0_mem=512m ---snip---
The first will set the xen kernel as the default and the second will limit dom0 to only be able to use 512m of memory, leaving the rest for your VEs. After these changes, go ahead and reboot. Let me know if this route works for you!
exim: error while loading shared libraries: libperl.so: wrong ELF class: ELFCLASS32
0So I ran into a very odd issue with a server today where exim would not start after a CentOS upgrade. The error message was such:
exim: error while loading shared libraries: libperl.so: wrong ELF class: ELFCLASS32
This error took awhile to google around for and I couldn’t find any relevant articles. The problem seemed to obviously be the libperl.so file but perl seemed fine and the file was identical to other server setups with the same version of perl, exim, cPanel, CentOS. I decided to try and rebuild exim with /scripts/eximup –force but that did nothing to help the situation. Eventually, I found the following command:
/scripts/eximup --source
To the best of my knowledge I gained from my research, this recompiles exim from source, converts to an rpm, then installs that. Sure enough, that fixed the issue and exim was running again with no issues. I figured I’d make this post due to the fact I couldn’t find one post with the information I needed.