Markus Blog What's going on Internet?

3Jun/083

Xen Debian VPS Problem With nash-hotplug Using 100% CPU Resource

Recently I setup a Debian 4.0 VPS using xen image from jailtime.org, once the VM running I noticed that the load goes 1.0 all the time which make the VM very slow. From top command you’ll see the nash-hotplug process is the cause.

First you can kill it by execute the ‘kill -9 <process id>’ command (without the quotes), where <process id> is the process id of nash-hotplug. Then to automate killing the nash process every time you reboot the VPS run these commands:

Bookmark and Share
2Jun/088

PHP Unable to Connect to MS SQL Server Express Edition

I’ve been struggling for several hours to find out why PHP 5.2.5 didn’t want to connect to MS SQL Server 2005 Express Edition although extension=php_mssql.dll already enabled and phpinfo() is showing MS SQL already active.

I always got this error messages when trying to connect to MS SQL:

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: (local)\SQLEXPRESS in path\mssql.php on line 5

After doing some searching, I got an answer that PHP 5 is using old ntwdblib.dll version. The one that comes with PHP 5.2.5 distribution is version 2000.2.8.0 which seems doesn’t compatible with the new MS SQL Server 2005 Express Edition. I downloaded new dll from http://webzila.com (use the search tool) which is version 2000.80.194.0 and replaced the one on PHP folder with this version.

I use this code to test the connection and its working:

 
echo("Testing MS SQL connection... ");
 
if ($conn = mssql_connect('(local)\SQLEXPRESS', 'user', 'pass'))
{
    echo("Connection succeed");
 
    mssql_select_db('dbname', $conn);
    mssql_close($conn);
}
else
{
    echo("Connection failed");
}
Bookmark and Share
31Mar/086

CPanel Problem Upgrading MySQL 5

Several months ago I had problem on upgrading CPanel's MySQL 4.1 to MySQL 5. The problem was occurred on Centos 5 OpenVZ based VPS. Since someone contact me at WebHostingTalk forum asking about the same problem so I decided to re-try again the steps to fix the problem. Hence I post it here too, for future and general purposes :)

ok, do this at your own risk :) backup your mysql data first!

the steps i do:

Bookmark and Share
31Mar/084

Xen VPS “4gb seg fix up” Problem

It's a known issues on Xen based Virtual Private Server (VPS) that often it shows "4gb seg fix up" error messages. After a few search I found this command to fix it.

Run the commands below on DomU

First try disabling tls by renaming it to tls.disabled:

mv /lib/tls /lib/tls.disabled
mv /usr/lib/tls /usr/lib/tls.disabled

If this doesn't work then try this command:

echo 'hwcap 0 nosegneg' > /etc/ld.so.conf.d/libc6-xen.conf && ldconfig

after that you'll need to restart the VPS

Bookmark and Share
Tagged as: , 4 Comments
31Mar/080

Checking Your Linux Centos Version

To check your Linux Centos version, just type:

cat /etc/redhat-release

it will show you the information like this:

CentOS release 5 (Final)
Bookmark and Share
Tagged as: , No Comments
29Mar/084

Trying Firefox 3 Beta 4 without Installing It

I’m sure that all of Firefox fans are so eager to try the new beta 4 of Firefox 3. As it is still in beta version so it is not ready for daily browsing use. Other reason that you shouldn’t use it (yet) for daily use are a lot of themes, plug-ins and extensions of Firefox 2 will not compatible with Firefox 3 beta 4.

Firefox 3 beta 4 portable

But I’m sure that your curiosity is getting high, right? Then you can try Firefox 3 Beta 4 Portable from PortableApps.com. The benefit of using the portable version is you don’t need to install it, you just run the auto extract package file to a directory, then click on the Firefox executable files and Firefox 3 beta 4 will run. Another good thing is, it will not interfere your existing Firefox 2 profiles.

Download Firefox 3 beta 4 portable here.

Bookmark and Share
12Mar/08Off

Richest Man on Earth

You may be thinking that Bill Gates the co-founder of Microsoft is the richest man in the world, not anymore. I read article on Forbes.com today and on that article, it said that Bill Gates is no longer the world’s richest man.

The title now goes to well known investor: Warren Buffett. With estimated $62 billion of wealth (up $10 billion from last year), Warren Buffett now tackle Bill Gates who was the richest man for consecutive 13 years!

Bookmark and Share
11Mar/088

Firefox 3 Beta 4 Released

Yesterday Mozilla released new beta version of Firefox 3, the beta 4. On this new beta version, Mozilla developers include more than 900 enhancements from the previous beta 3, add performance boost, increase the stability and improve the user interface.

Firefox 3 is based on the Gecko 1.9 Web rendering platform, which on the release note web page said that it has been developed since the last 31 months. Within 31 months, Mozilla developers already made 12.000 updates, re-architecting and simplifying the codes.

Bookmark and Share
Page 7 of 32« First...56789...2030...Last »