Category Archives: Linux

Tomcat Server Slow Due To Blocked SeedGenerator Thread on Insufficient Random Number On Linux

Problem: An application deployed on Tomcat server (via Coldfusion11) suffers slowness problem. Sometimes opening up a https page could take 20 seconds or so. The problem was not experienced on CF9 (which doesn’t use Tomcat). And the same application runs … Continue reading

Posted in Coldfusion, Java, Linux, Tool and Debug | Tagged , , , , , , , | 2 Comments

Mount Samba Drive on Ubuntu

To mount a Windows Samba drive ¬†on Ubuntu for the current user, you need the following steps: sudo apt-get install cifs-utils sudo mkdir /mnt/share sudo mount.cifs //sambahost/sambaDir /mnt/share -o user=xxx,password=xxx where the sambahost is the samba server ip address or … Continue reading

Posted in Linux | Tagged | 1 Comment

This is to extend my last post that describes a problem of running 32bit program on 64bit Linux. Today I am going to post a solution to make it happen. The steps are sudo -i dpkg –add-architecture i386 apt-get install … Continue reading

Link | Posted on by | Tagged | Leave a comment

Linux “No such file or directory” When Running a Program

When you attempt to run a file (not a dead link) that exists in a directory and is executable to everyone, you get an error complaining it can’t run the file because of “No such file or directory”. Can this … Continue reading

Posted in Linux | Tagged | Leave a comment

Install VirtualBox Guest Additions

After upgrading my VirtualBox to 4.3.6 and installing Kubuntu 13.10, I had some problems to install the Guest Additions. After a few hours struggling, I made it work eventually. Here is the notes: Step #1: Make sure the Guest Additions … Continue reading

Posted in Build, Linux, Tool and Debug | Tagged , , , | Leave a comment

Linux WiFi Driver (BackPorts) ARM Cross Compile

This is a link to one of my previous works aiming to backport the latest (in Linux 3.11 kernel tree) WiFi chipset driver to ARM based Linux kernel 2.6.39.

Posted in Build, Linux | Tagged , , , , , | Leave a comment