Archive for April 2008

Today , I find big bug in Firefox . It cannot run flash application so I try to root cause of this problem from command ‘dmesg’ and I find :

[ 8706.315022] npviewer.bin[7535]: segfault at 0000000000000035 rip 00000000f7ac02f6 rsp 00000000f5aa2d90 error 4
[ 8706.315628] npviewer.bin[7522]: segfault at 0000000000000000 rip 00000000f77afba8 rsp 00000000ffad3070 error

» Read the rest of the entry..

You can see detail in file /proc/cpuinfo. If you find “lm” (long mode) flag that mean your server can run 64 bit Kernal :D.
» Read the rest of the entry..

A Beautiful Mind.     เมื่อวันศุกร์ที่ผ่าน.. ผมแอบไปจิ๊ก Hardisk น้องที่ Office มา (ตอนแรกยืม..แต่ลืมคืน :D) เห็นว่าหนังน้องแกเยอะ หาไปหามาก็ไปเจอเรื่องนี้ เข้า A Beautiful Mind ตอนแรกที่เห็นหนังเรื่องนี้ ออกแนวเก่าๆ ไปนิด แต่สิ่งที่หน้าสนใจเมื่อแรกเห็นก็คือ กลุ่มของนักวิทยาศาสตร์ยืนคุยกัน (แค่..นี้ก็น่าสนใจแล้ว) ผมดูประมาณ 3 นาทีแรกก็ หยุดไม่ได้แล้วหล่ะ

เนื้อหาของเรื่อง ก็เป็นเรื่องราวของนักวิทยาศาสตร์คนหนึ่ง (มารู้ตอนหลังว่าทำมาจากเรื่องจริง [True Story]) ที่มีความสามารถด้าน คณิตศาสตร์ เป็นเลิศ แต่ก็ตกอยู่ในความทุกข์ทรมาณ เพราะไม่สามารถที่จะแบ่งแยกได้ระหว่างผู้คนต่างๆที่พระเอกได้พบเจอนั้น เป็น คนที่อยู่ในโลกของความเป็นจริง หรือ คนที่อยู่ในจินตนาการของตัวเองเป็นผู้สร้างขึ้น

สิ่งที่ผมประทับใจกับหนังเรื่องนี้ก็คือ มีอยู่ตอนหนึ่งที่พระเอกต้องการที่จะขอนางเอก แต่งงาน แต่ด้วยความที่ไม่แน่ใจว่านางเอกจะรักตนหรือไม่ พระเอกจึงถามนางเอกว่า…

» Read the rest of the entry..

ต้องการ Rip ไฟล์ CD ให้กลายเป็น MP3 บน Ubuntu สุด Love ปรากฏว่า เจ้า Ubuntu มันมีโปรแกรม มาให้อยู่แล้ว นั่นก็คือ Sound Juicer เพียงแต่ว่าเวลา Rip มาแล้ว File Output เป็น .ogg ผมก็เลยต้องมา หาวิธี Rip มันออกมาเป็น MP3 ครับ

ก็ทำตามนี้ครับ…

» Read the rest of the entry..

Today , I cannot sent email from Zimbra service to other email. I find warning message in /var/log/zimbra.log .

Apr 25 11:15:09 aoddy postfix/smtp[13534]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
Apr 25 11:15:10 aoddy postfix/smtp[13534]: 4B15324914C: to=<admin@aoddy.com>, relay=none, delay=0.61, delays=0.35/0.26/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Apr 25 11:15:11 aoddy postfix/smtp[13534]: 4B15324914C: to=<admin@aoddy.com>, relay=none, delay=0.61, delays=0.35/0.26/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
Apr 25 11:15:11 aoddy postfix/smtp[13534]: 4B15324914C: to=<admin@aoddy.com>, relay=none, delay=0.61, delays=0.35/0.26/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)

» Read the rest of the entry..

I found this message in /var/log/zimbra.log


Apr 25 01:03:35 mail postfix/trivial-rewrite[11008]: fatal: ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
Apr 25 01:03:36 mail postfix/trivial-rewrite[11009]: error: dict_ldap_connect: Unable to set STARTTLS: -11: Connect error
Apr 25 01:03:36 mail postfix/trivial-rewrite[11009]: error: dict_ldap_connect: Unable to set STARTTLS: -11: Connect error
Apr 25 01:03:36 mail postfix/trivial-rewrite[11010]: error: dict_ldap_connect: Unable to set STARTTLS: -11: Connect error
Apr 25 01:03:36 mail postfix/trivial-rewrite[11009]: error: dict_ldap_connect: Unable to set STARTTLS: -11: Connect error
Apr 25 01:03:36 mail postfix/trivial-rewrite[11009]: fatal: ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem
Apr 25 01:03:36 mail postfix/trivial-rewrite[11010]: error: dict_ldap_connect: Unable to set STARTTLS: -11: Connect error
Apr 25 01:03:36 mail postfix/trivial-rewrite[11010]: error: dict_ldap_connect: Unable to set STARTTLS: -11: Connect error
Apr 25 01:03:36 mail postfix/trivial-rewrite[11010]: fatal: ldap:/opt/zimbra/conf/ldap-vad.cf(0,lock|fold_fix): table lookup problem

I fixed it by

» Read the rest of the entry..

หลังจากที่ ติดตั้ง VMWare server บน Ubuntu 7.10 ก็พบกับปัญหาว่า VMware มันไม่เห็น USB ของ Thumb drive ผมก็เลยต้องมาวิธี Fix

1. เข้าไปแก้ไขไฟล์ /etc/init.d/mountdevsubfs.sh ตั้งแต่บรรทัดที่ 42 - 45 โดยการ Uncomment ออก ก็จะได้ดังนี้

:
mkdir -p /dev/bus/usb/.usbfs
domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount –rbind /dev/bus/usb /proc/bus/usb
:

2. แก้ไขไฟล์ /etc/fstab โดยเพิ่ม

:
usbfs /proc/bus/usb usbfs auto 0 0
:

ไว้ที่บรรทัดสุดท้ายของ ไฟล์ /etc/fstab

3. Start service โดยใช้ command ดังนี้

sudo /etc/init.d/mountdevsubfs.sh start