I need to create a bridge from an interface inside container, which bridge to my physical LAN. I followed the tutorial / guides on http://wiki.openvz.org/Virtual_Ethernet_device, but it doesn’t seem to make bridging works correctly. So I made some changes:
- Install bridge-utils
yum install bridge-utils
Read the rest of this entry »
November 19th, 2009 in
Diary | tags:
bridge,
linux,
openvz,
vps |
3 Comments
These last 3 weeks, is a frustating moment. Actually my job is simple: install servers, then implement a disaster recovery plan. The first problem arose when i stupidly didn’t know how to manage a simple kernel module load at early boot stage via initrd. This took me 10 days to discover.
The worse is the last 12 days, when simply i need that kernel module to be loaded at boot time on a “centos livecd”. i need the livecd version of centos for recovering my server in case of severe hardware failures. all the toolsets, including coffees, bags of tong tji tea, new macbook battery (wow, how many rupiahs i’ve spent? –my last battery was unfortunately died), new 2GB RAM for the macbook, “tahu baxo” ungaran, “martabak mesir”, cadburry choco drinks, are set, but that-actually-easy-task is frustating me and took me 12 days to discover the solution. evenmore, the solution i’ve found is somewhat really simple and nothing “geeky” at all.
i think now she refused to be logical. i think she is more “human” now, forgot of what her dignity is. Fuhh.. or maybe i am getting old, old enough.
Enough for this nonsense. Here what should i do next time:
1. mostly, kernel module / driver need to be “the same version” with the kernel loaded at boot time
2. create livecd / recovery cd with i386 arch, and on a host WITHOUT LVM (because of a bug on mkinitrd)
3. simply do trial and error as much as i can
March 17th, 2009 in
Diary | tags:
aneh,
centos,
dairy |
1 Comment
karena sering nya orang komplain ke saya, bahwa telpun tidak diangkat2 siang ini, ini saya upload screen shot HP saya. Hari ini ada 2 kali katanya telpun tidak diangkat, lha karena emang tidak ada telpun masuk siang ini.
yang selama ini saya rasakan emang sinyal disini (rumah) ndak gitu bagus, telpun sering putus ditengah2, suara lawan bicara seperti ngomong didalam air, dan kalau browsing via HP lambat (entah full bw ne entah sinyal nya).
March 16th, 2009 in
Diary | tags:
aneh,
hp |
1 Comment
Picture worth a thousand words:
Di server XEN utama:

Maka terjadilah:

waks
Ini di salah satu VPS Xen:

Maka terjadilah:

hihi
PERHATIAN: Don’t try this at home !!!
Sudah 5 hari ini saya tidak mengerjakan pekerjaan lain kecuali 1 hal: belajar memahami linux kernel. Ini pun masih kapasitas sebagai user, bukan developer (hiks… betapa malunya).

Problem:
My hardware has a LSI MegaRAID 8208ELP (megasr) SCSI SAS controller. It shipped with RHEL 5 driver. I need to setup openVZ, unfortunately, rhel5 based openvz kernel is refusing megasr.ko to be loaded at boot time. Error message at boot was:
Loading megasr.ko module
megasr: disagrees about version of symbol struct_module
insmod: error inserting '/lib/megasr.ko': -1 Invalid module format
From what i’ve googled, they (megasr.ko and ovzkernel) have different kernel ‘version’ so they refused to work together.
Solution:
- Download and install ovzkernel & ovzkernel-devel (use PAE if neccessary)
- Go to lsi.com, and DON’T download the current version of the driver. Download the previous version. This is the URL: Redhat 5.x or mirrored here
- Extract the zip file,then cd to shim/library/rhel5-32
- do
make -C /usr/src/kernels/2.6.18-53.el5.028stab051.1-PAE-i686 M=$PWD
- copy the megasr.ko in /lib/modules/2.6.18-53.el5.028stab051.1-PAE-i686/updates
-
depmod 2.6.18-53.el5.028stab051.1-PAE-i686
-
/sbin/mkinitrd /boot/initrd-2.6.18-53.el5.028stab051.1PAE.img 2.6.18-53.el5.028stab051.1PAE
- reboot!
NOTE: don’t copy paste, since the kernel version will always been updated
hope this help someone else, at least me
thanks for RUBEN for the correction
Kalo posting blog via marsedit / ecto mengalami kejanggalan seperti:
- tag html seperti <img kehilangan “<” nya
- tanda “>” jadi >
- tanda petik satu dan petik dua akan jadi aneh
maka sebenarnya yang salah bukan wordpress nya, tapi bug di libxml2, sudah ada fix di PHP.net tapi saat ini blum release, berikut infornya: http://josephscott.org/archives/2009/02/update-on-libxml2-issues/
Karena ini menyebalkan sekali, maka workaround nya adalah:
- edit file wp-includes/class-IXR.php
- tambahkan kode berikut:
//-------- BEGIN workaround bug libxml -------------
if ( version_compare ( LIBXML_DOTTED_VERSION, '2.7.3', '<' ) ) {
$this->message =str_replace("<","<",$this->message);
$this->message =str_replace(">",">",$this->message);
$this->message =str_replace("&","&",$this->message);
}
//-------- ENDOF workaround bug libxml -------------
di function parse (), tepat sebelum if (!xml_parse($this->_parser, $this->message)) {
atau copy paste aja file class-IXR.php di sini jika Anda menggunakan wp 2.7.0
sumber:
- http://josephscott.org/archives/2009/02/update-on-libxml2-issues/
- http://blog.hoofoo.net/2009/01/14/wordpress-patch-for-problamatic-libxml2-version/
February 7th, 2009 in
aneh | tags:
aneh,
wordpress |
8 Comments

Tenang sekali malam ini⦠bikin lupa kalo dolar baru 12.100
February 7th, 2009 in
Diary | tags:
nagios |
1 Comment
my setup: CentOS 5 with lighttpd and PHP installed.
- rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
- yum install byacc flex gd-devel curl-devel python-devel libxml2-devel php-devel
- compile gdal (http://download.osgeo.org/gdal/gdal-1.6.0.tar.gz)
tar -zxpf gdal-1.6.0.tar.gz
cd gdal-1.6.0
./configure --prefix=/usr
make install
- yum install geos-devel proj-devel agg-devel
- rpm -ivh http://centos.karan.org/el5/extras/testing/i386/RPMS/fcgi-devel-2.4.0-5.el5.kb.i386.rpm http://centos.karan.org/el5/extras/testing/i386/RPMS/fcgi-2.4.0-5.el5.kb.i386.rpm
- compile mapserver:
./configure --with-proj --with-geos --with-ogr --with-curl-config --with-fastcgi=/var/www/cgi-bin/ --with-gdal --with-agg --with-xml2-config --with-php=/usr/include/php --with-freetype
make
cp mapserv /var/www/cgi-bin
cp legend /var/www/cgi-bin
cp scalebar /var/www/cgi-bin
cp shp2img /var/www/cgi-bin
cp shp2pdf /var/www/cgi-bin
cp shptree /var/www/cgi-bin
cp shptreetst /var/www/cgi-bin
cp shptreevis /var/www/cgi-bin
cp sortshp /var/www/cgi-bin
cp tile4ms /var/www/cgi-bin
- lighty conf:
fastcgi.server = ( "/maps" =>
( "localhost" =>
(
"socket" => "/tmp/mapserver-fastcgi.socket",
"check-local" => "disable",
"bin-path" => "/var/www/cgi-bin/mapserv",
"min-procs" => 1,
"max-procs" => 6,
"max-load-per-proc" => 4,
"idle-timeout" => 20
)
)
)
February 6th, 2009 in
Uncategorized |
4 Comments

rekor… uptime sampe 7 hari, selama itu si macbook, istri pertama saya, nemenin istri kedua saya di rumah sakit. ibunya anak2 kena tipes pas hamil gedhe. kondisi kesehatan kami diperparah dengan indosat 3G yang sekarang lambat banget, YM putus2 terus. horeeeeeee… ntar pagi pulaaangg…
February 4th, 2009 in
Uncategorized |
3 Comments