Archive for the ‘Uncategorized’ Category.

unixbench

I order a USA VPS to play around with today, just for fun. No serious stuff on it. Decided to run Unixbench but hit with some minor problem.

./src/ubgears.c:641: warning: implicit declaration of function âevent_loopâ
./src/ubgears.c:643: warning: implicit declaration of function âglXDestroyContextâ
./src/ubgears.c:645: warning: implicit declaration of function âXDestroyWindowâ
./src/ubgears.c:646: warning: implicit declaration of function âXCloseDisplayâ
make: *** [pgms/ubgears] Error 1
 
**********************************************
Run: "make all" failed; aborting

This is due to some development tools not installed.
Solution:

yum install -y SDL-devel mesa-libGL-devel

Hope this helps someone out there …

PING: transmit failed, error code 1232

After using Internet Download Manager for close to 48 hours, I face this problem after a restart

Problem:

C:\Users\Tan>ping 4.2.2.2

Pinging 4.2.2.2 with 32 bytes of data:

PING: transmit failed, error code 1232.
PING: transmit failed, error code 1232.
PING: transmit failed, error code 1232.
PING: transmit failed, error code 1232.

Solution:

Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\Tan>netsh winsock reset

After which, just do a restart and your network will be back to normal.

Hope this helps someone out there…

Protected: Legal Purpose: Monitor Exim in+out email

This content is password protected. To view it please enter your password below:

ImportError: No module named setuptools

Problem:

Traceback (most recent call last):
File “setup.py”, line 1, in
from setuptools import setup, find_packages
ImportError: No module named setuptools

Solutions:

wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz
tar zxvf setuptools-0.6c11.tar.gz
cd setuptools-0.6c11
python setup.py build
python setup.py install

Hope this helps someone out there 😉

openvz vzdump error

I am using vzdump tool which make use of LVM to do snapshot of the VPS which ensure that there is data consistency during the backup as the VPS is online while the backup is performed.

A small issues just happen today which took me a while to figure how to resolve the issues.

While the vzdump is performing a backup of one of my VPS, i hit with this error

Feb 21 01:33:32 INFO: tar: ./boot: Warning: Cannot savedir: Input/output error

The first impression is that the disk might have issues, but after 5 mins of verifying of the physical disk’s health, I have notice that it is due to the LVM snapshot created during the backup.

The default size that vzdump create for the logical volume is only 500MB, you need to increase to a higher diskspace provided your Volume Group has enough free space.

nano -w /usr/bin/vzdump

Edit 500m to a higher diskspace as needed.

run_command (\*LOG, “$lvcreate –size 500m –snapshot –name vzsnap /dev/$lvmvg/$lvmlv”);

Hope this helps … 🙂

Protected: Exim Manual Route

This content is password protected. To view it please enter your password below:

WhoLivesNearYou is now FREE!

Now you can get yourself verified for Free and save yourself $2 🙂 . Go ahead and verify yourself.

WhoLivesNearYou is a portal where you can find your friends and family around your area, but it is limited to specific function if you are not verified. This is to protect others and yourself. You just need a Singapore mobile to verify. Find out more about WLNY

autom4te: need GNU m4 1.4 or later

I was upgrading GD on one of my DirectAdmin box and I got into this error. Seems like one of the compilation program version is outdated therefore I have to update them manually.

wget ftp://ftp.gnu.org/gnu/m4/m4-1.4.9.tar.gz
tar zfx m4-1.4.9.tar.gz
cd m4-1.4.9
./configure –prefix=/usr
make
make install

At the same time, I will upgrade autoconf as well 🙂

cd /usr/src
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.gz
tar xzf autoconf-2.61.tar.gz
cd autoconf-2.61
./configure –prefix=/usr
make
make install

Hope this help someone out there and as a reference for me in future 😉

Disable IPv6 in CentOS

How to disable ipv6 on CentOS 5 (which most of the box are enabled by default)?

1) Edit /etc/sysconfig/network and set “NETWORKING_IPV6” to “no”
2) Add the following to /etc/modprobe.conf :

alias ipv6 off
alias net-pf-10 off

3) Uncomment the following item from /etc/sysconfig/network-scripts/ifcfg-eth0 (do it for eth1 if you have more than 1 NIC)
#IPV6ADDR=
#IPV6PREFIX=

4) Turn off the iptables for IPv6 chkconfig ip6tables off
5) Lastly, reboot the system

RoundCube 1.0 Stable Released

Dear subscribersAfter more than two years of development we’re proud to announce the
first stable version of RoundCube Webmail. It’s not as feature rich as
we’d like it to be but the released version is considered to run
stable for a productive environment. Thanks to our users we fixed many
bugs and added some nice new features since the first 0.1-alpha
version was published in 2005. So go ahead and upgrade your
installations now! Download the latest release from
http://roundcube.net/downloads
Continue reading ‘RoundCube 1.0 Stable Released’ »