i have linux successfully installed with memcached. for local testing i need memcached also for my xampp
trying this: http://qb4k.blogspot.com/2011/01/installing-memcache-on-windows-for-php.html
Thursday, September 29, 2011
Wednesday, September 28, 2011
segmentation fault after glibc.i386
what de..
this is my production server. after successfull on test server now i'm trying into real server:
I tried to updgrade glibc using
[root@demo1 RPMS]# rpm -ivh glibc-2.3.3-74.i386.rpm --force --nodeps
Preparing... ########################################### [100%]
1:glibc ########################################### [100%]
/usr/sbin/glibc_post_upgrade: While trying to execute /usr/sbin/iconvconfig child terminated abnormally
error: %post(glibc-2.3.3-74.i386) scriptlet failed, exit status 115
n now every thing gives a segmentation fault.
it is a dual xeon machine so i take it ..its i686. { pretty sure it doesnt support EM 64 }
now i cannot ls, cannot yum, cannot rpm, wget dammmm...
http://www.linuxquestions.org/questions/slackware-14/heeelp-glib-%2A-removed-335819/#post1707580
i hope to:
& i copied /lib from another machine with the same specs...
dam...
this is my production server. after successfull on test server now i'm trying into real server:
Kernel Panic. last resort reformat. ;)
I tried to updgrade glibc using
[root@demo1 RPMS]# rpm -ivh glibc-2.3.3-74.i386.rpm --force --nodeps
Preparing... ########################################### [100%]
1:glibc ########################################### [100%]
/usr/sbin/glibc_post_upgrade: While trying to execute /usr/sbin/iconvconfig child terminated abnormally
error: %post(glibc-2.3.3-74.i386) scriptlet failed, exit status 115
n now every thing gives a segmentation fault.
it is a dual xeon machine so i take it ..its i686. { pretty sure it doesnt support EM 64 }
now i cannot ls, cannot yum, cannot rpm, wget dammmm...
http://www.linuxquestions.org/questions/slackware-14/heeelp-glib-%2A-removed-335819/#post1707580
i hope to:
& i copied /lib from another machine with the same specs...
dam...
[tips] pord forward on windows XP
windows xp do not have internal function to do port forward. i found simple (super duper small) program to complete this task:
www.quantumg.net/portforward.php
you can download here: http://www.quantumg.net/portforward_bin.zip
source code also available at the website. thank you for the usefull tiny program.
www.quantumg.net/portforward.php
you can download here: http://www.quantumg.net/portforward_bin.zip
source code also available at the website. thank you for the usefull tiny program.
[solved] 4gb fixup problem end
WARNING: try at your own risk.
2. not use this function when memory below 512MB
3. this break down my production server http://blog.apis17.info/2011/09/segmentation-fault-after-glibci386.html -reformat and reinstall solve the problem
finally 4gb fixup on xen is finally gone. (now i have openvz too :) 2.6.18-274.el5.028stab093.2xen
it fixed using i386 version of glibc
#yumdownloader glibc.i386
then yum downloading 'glibc-2.5-65.i386.rpm' package
#rpm -Uvh --force glibc-2.5-65.i386.rpm
it force 32bit glibc version. default my centos use i686 even os 32-bit. you can read my previous entries. (thanks to cloudlinux forum)
after several hours recovering back from my lost glibc uninstall thanks to webmin saving my life.
and NEVER use this commandrpm -e glibc
now i'm ready to get dangerous on production server. will update this post later.
2. not use this function when memory below 512MB
3. this break down my production server http://blog.apis17.info/2011/09/segmentation-fault-after-glibci386.html -reformat and reinstall solve the problem
finally 4gb fixup on xen is finally gone. (now i have openvz too :) 2.6.18-274.el5.028stab093.2xen
it fixed using i386 version of glibc
#yumdownloader glibc.i386
then yum downloading 'glibc-2.5-65.i386.rpm' package
#rpm -Uvh --force glibc-2.5-65.i386.rpm
it force 32bit glibc version. default my centos use i686 even os 32-bit. you can read my previous entries. (thanks to cloudlinux forum)
after several hours recovering back from my lost glibc uninstall thanks to webmin saving my life.
and NEVER use this command
now i'm ready to get dangerous on production server. will update this post later.
Tuesday, September 27, 2011
4gb fixup again
http://www.cloudlinux.com/solutions/forum/forum18/topic41/
now trying another way:
[root@localhost ~]# rpm -q glibc.i386
package glibc.i386 is not installed
[root@localhost ~]# rpm -q glibc.i686
glibc-2.5-42
This means that you have i686 version -- and you need to install i386 version
[root@localhost ~]# yumdownloader glibc.i386
no luck yet.
now trying another way:
[root@localhost ~]# rpm -q glibc.i386
package glibc.i386 is not installed
[root@localhost ~]# rpm -q glibc.i686
glibc-2.5-42
This means that you have i686 version -- and you need to install i386 version
[root@localhost ~]# yumdownloader glibc.i386
no luck yet.
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
remove existing lua
install EPEL lua
disable the EPEL repo by editing /etc/yum.repos.d/epel.repo file and change 'enabled=1' to 'enabled=0'
Was getting dependency error running yum update
lxlighttpd requires liblua-5.1.so
solution:
install EPEL repo
Code: [Select all] [Show/ hide]
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
remove existing lua
Code: [Select all] [Show/ hide]
yum remove lua
install EPEL lua
Code: [Select all] [Show/ hide]
yum install lua
disable the EPEL repo by editing /etc/yum.repos.d/epel.repo file and change 'enabled=1' to 'enabled=0'
Monday, September 19, 2011
install epel repo
#rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
i want to install memcached
reference:
http://www.cyberciti.biz/faq/rhel-fedora-linux-install-memcached-caching-system-rpm/
Thursday, September 15, 2011
play mp3 from your linux server
#yum install mpg123
play:
#mpg123
How to control your volume?
# alsamixer
http://www.go2linux.org/mpg123-linux-command-line-play-mp3-files
http://jordilin.wordpress.com/2006/07/28/howto-recording-audio-from-the-command-line/ (alsa mixer)
play:
#mpg123
How to control your volume?
# alsamixer
http://www.go2linux.org/mpg123-linux-command-line-play-mp3-files
http://jordilin.wordpress.com/2006/07/28/howto-recording-audio-from-the-command-line/ (alsa mixer)
Saturday, September 10, 2011
mysql count if
http://forums.mysql.com/read.php?10,203876,204010#msg-204010
select book_name, count(if(rating=1, 1, null)) as "POOR", count(if(rating=2,1,null)) as "Average", count(if(rating=3,1,null)) as "Good", count(if(rating=4,1,null)) as "Great" from rating group by book_name order by book_name; +----------------+------+---------+------+-------+ | book_name | POOR | Average | Good | Great | +----------------+------+---------+------+-------+ | Javascript | 0 | 1 | 0 | 0 | | SQL Cookbook | 0 | 1 | 1 | 1 | | Visual Basic 6 | 1 | 0 | 1 | 0 | +----------------+------+---------+------+-------+
IF(expression, return this if expression is true, return this if expression is false)
Friday, September 09, 2011
Wednesday, September 07, 2011
how to stop trend micro bot
trend micro bot will scan every website you visited and they known as:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) - so clever
one of their ip address is 150.70.172.106
i can say the scanner is not very clever (someone call stupid)
and they eat your bandwidth too:
now i', thingking about banning ip address or leave it alone. let ask expert 1st.
Tuesday, September 06, 2011
secure tmp on openvz container
Create the script:
vi /etc/vz/conf/VPSID.mount
and insert the following lines:
#!/bin/bash mount -n --bind -onosuid,noexec /vz/vps/VPSID/tmp /vz/root/VPSID/tmp mount -n --bind -onosuid,noexec /vz/vps/VPSID/shm /vz/root/VPSID/dev/shm exit ${?}
now make the sscript executable:
chmod 700 /etc/vz/conf/VPSID.mount
Monday, September 05, 2011
register testing [SAP Venture?]
*** SAP Venture X ***
Tukar RM99 Kepada RM7,800 Dalam 4 Minggu!
- Tak perlu cari orang
- Tak perlu promosi
- Tak perlu siar iklan
- Tak perlu buat blog
- Tak perlu kecoh kat FaceBook
- Tak perlu bising kat Twitter
- Tak perlu post apa-apa kat forum
- Tak perlu spam email rakan-rakan pejabat
- Tak perlu menulis sebarang artikel yang memecahkan kepala anda...
Semuanya "Fully Automated!"
Bagaimana???!!
Hanya Beli Pakej Mengikut Bajet Anda
Dan Lihat Hasilnya Dalam 4 Minggu!
AMARAN: Pakej ini dikuasakan oleh SAP!
Dengan SAP, Pemasaran Adalah TIDAK PERLU!
Dengan SAP, Pemasaran Adalah TIDAK PERLU!
Ramai sudah maklum, SAP merupakan satu fenomena luar biasa dalam aktiviti
pemasaran online di Malaysia. Namun, kos aksesnya yang tinggi menyebabkan tidak ramai yang mampu memiliki aksesnya. Apatah lagi untuk memiliki terus perisian yang menjangkau nilai puluhan ribu ringgit ini.
Bertindak Sekarang!
Bertindak Sebelum Terlambat...
P/s: Keputusan terletak 100% di tangan anda, terpulang kepada kebijaksanaan anda!
Peluang datang hanya sekali, dan yang sekali itulah kalau tak direbut, maka berkecailah segunung harapan. Tempah Sekarang!
P/p/s: Pernah dengar orang kata begini?
"MUDAH SAHAJA - HANYA PROMOSI, YANG LAIN SEMUA KAMI URUSKAN!"
Anda percaya promosi itu suatu perkara yang mudah???!!!
"MUDAH SAHAJA - HANYA PROMOSI, YANG LAIN SEMUA KAMI URUSKAN!"
Anda percaya promosi itu suatu perkara yang mudah???!!!
Fikir sekali lagi, promosi adalah perkara yang PALING SUKAR!! Lebih MUDAH uruskan segalanya daripada membuat promosi YANG BERJAYA mencari pelanggan!
Setuju? Tempah Sekarang!
Janji saya, dengan SAP anda TIDAK PERLU BIMBANG TENTANG PROMOSI, SAP akan bekerja untuk anda - Sehingga anda berjaya Tukar RM99 Kepada RM7,800 Dalam 4 Minggu!
Subscribe to:
Posts (Atom)