Showing posts with label HyperVM. Show all posts
Showing posts with label HyperVM. Show all posts

Monday, September 26, 2011

[solved] unable to update lxlighthttpd

http://forum.lxcenter.org/index.php?t=msg&goto=88875&

Was getting dependency error running yum update
lxlighttpd requires liblua-5.1.so 



solution:


install EPEL repo
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm


remove existing lua
yum remove lua


install EPEL lua
yum install lua


disable the EPEL repo by editing /etc/yum.repos.d/epel.repo file and change 'enabled=1' to 'enabled=0'

Friday, July 29, 2011

Proper way: after kernel update [xen]

Kernel Diary: this just to remind me proper steps to do after dom-0 kernel updates

1. log in into each dom-U and run

#yum update -y

this will update kernel devel and kernel headers on dom-U
failing to do this will make iptables not able to start

2. fix xen kernel script

this will update latest kernel on dom-U (do this on every dom-U before rebooting them!!)

# /script/fixxenkernel

3. xm list

this will list all dom-U

4. xm reboot
this will reboot dom-U server. or just reboot entire system.

if you have iptables problem after dom-U reboot please install kernel-headers

#yum -y install kernel-devel kernel-headers

iptables: Table does not exist (do you need to insmod?)

then,

#modprobe ip_tables

hope this will save some time to figure up why iptables not working.
remember: i'm using hypervm. fixxenkernel scripts only available on hypervm

Wednesday, June 15, 2011

[Xen] Save file location

cd /var/lib/xen/save

this is path used by xen to store virtual machine state before shutdown/reboot.

i use du -lsh /var/lib/xen/* to trace what folder make my disk space full

Before

Filesystem Size Used Avail Use% Mounted on
/dev/hda6 8.6G 8.6G 0.0G 100% /

After
Filesystem Size Used Avail Use% Mounted on
/dev/hda6 8.6G 7.1G 1.1G 88% /

Solved.

Monday, June 06, 2011

rebuild xen dom-u kernel

symtom: after dom-0 reboot, all dom-u not in latest kernel. to fix this,

cd /usr/local/lxlabs/hypervm/httpdocs/

lphp.exe ../bin/misc/fixcentos5xen.php

http://markus.revti.com/2010/08/hypervm-xen-installation/

Tuesday, December 14, 2010

error start xen server on centos hypervm

http://markus.revti.com/2008/08/error-kernel-image-does-not-exist-boothypervm-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:

cd /usr/local/lxlabs/hypervm/httpdocs/ lphp.exe ../bin/misc/fixcentos5xen.php
this problem is caused by the initrd didn't function correctly on CentOS Xen.
Related Posts Plugin for WordPress, Blogger...