I got the following error while I was trying to remove (forcefully) some of the files on HPUX
"rm: filename not removed. Text file busy"
This was happening as the files were used by one of the running process and were in use.
Use the following command to find out the process using the files.
fuser <filename>
The command displays the pid of the process. You can kill the process using the pid and remove the file successfully.
Read more ...
Search This BlogFeb 26, 2009How to find processes using a file on HPUXDec 25, 2008Building Apache Log4cxx on Windows
Apache Log4CXX is a logging framework for C++ patterned after Apache log4j. 1. Download APR 1.3.3 and extract it. Rename to apr Read more ... Jul 15, 2008Code to check if a number can be expressed in the form 2^n
The bit representation of any number of the form 2^n will have only one field set. The number is of form 2^n if (n & n-1) is 0 Read more ... May 6, 2008Installing and Configuring Software/Patches on HPUX
The information on individual patches in a patch bundle can be obtained by using /usr/sbin/swlist -s /temp/depot_name -l product -a readme patch_name Patch and software can be installed using the following command. This will open up an interactive interface where you have to select and install the software. /usr/sbin/swinstall -s /directory/depot –x autoreboot=true Read more ... Apr 4, 2008Java - Debugging In Tomcat 5.5
Steps to be followed to enable debugging in Tomcat 5.5 through Eclipse Configuring Tomcat Configuring Eclipse Happy Debugging :) Read more ...
Subscribe to:
Posts
(
Atom
)
|