Markus Blog What’s going on Internet?

9Aug/100

HyperVM Xen Installation

HyperVM installation consists of downloading either the hypervm-install-master.sh or hypervm-install-slave.sh from download.lxlabs.com and executing them as root. They will download all the required files and do the complete installation on their own. You will need to disable selinux. edit /etc/sysconfig/selinux and then run setenforce 0.

3Oct/080

Xen VPS can’t initialize iptables table ‘filter’

If you using HyperVM and get this error message after upgrading your dom0's Xen kernel:

iptables v1.2.11: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

It means that the library for the kernel is not copied yet to the VM. To fix this simply copy the new kernel library from /lib/modules/<new kernel> to VM's /lib/modules directory then restart the VM.

Tagged as: , , No Comments
9Aug/080

error: kernel image does not exist: /boot/hypervm-xen-vmlinuz

If you have a CentOS Xen Dom0 and experiencing this problem "error: kernel image does not exist: /boot/hypervm-xen-vmlinuz" after upgrading Xen kernel on HyperVM based VPS, here is how to fix it:

28Jun/080

Xen VPS modprobe: QM_MODULES: Function not implemented

I got this problem on one of Debian VPS when tried to run iptables command

modprobe: QM_MODULES: Function not implemented
 
modprobe: QM_MODULES: Function not implemented
 
modprobe: Can't locate module ip_tables
iptables v1.3.6: can't initialize iptables table `filter': iptables
who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

To fix this you'll need to run these commands:

3Jun/082

Xen Debian VPS Problem With nash-hotplug Using 100% CPU Resource

Recently I setup a Debian 4.0 VPS using xen image from jailtime.org, once the VM running I noticed that the load goes 1.0 all the time which make the VM very slow. From top command you’ll see the nash-hotplug process is the cause.

First you can kill it by execute the ‘kill -9 <process id>’ command (without the quotes), where <process id> is the process id of nash-hotplug. Then to automate killing the nash process every time you reboot the VPS run these commands:

31Mar/084

Xen VPS “4gb seg fix up” Problem

It's a known issues on Xen based Virtual Private Server (VPS) that often it shows "4gb seg fix up" error messages. After a few search I found this command to fix it.

Run the commands below on DomU

First try disabling tls by renaming it to tls.disabled:

mv /lib/tls /lib/tls.disabled
mv /usr/lib/tls /usr/lib/tls.disabled

If this doesn't work then try this command:

echo 'hwcap 0 nosegneg' > /etc/ld.so.conf.d/libc6-xen.conf && ldconfig

after that you'll need to restart the VPS

Tagged as: , 4 Comments