Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with AIX 5.1 ML3, jfs and the Apache webserver

Status
Not open for further replies.

glj

MIS
Nov 30, 2000
17
CH
I'm trying to perform a installation of Apache 2.0.46 on a seperate
jfs filesystem on AIX 5.1 ML3. The compilation worked successfully
after adding CPPFLAGS=-D_THREAD_SAFE to the configuration script.
The apache webserver starts without problem's with "apachectl start".
Also the shutdown with "apachectl stop" works. But if I try to umount
the filesystem, it tells me, that the requested resource is busy. When
I look at the filesystem with "fuser -u" it doesn't show me any
process (or user) accessing the filesystem. I also tried to use
"lsof", but the result was the same. No single process was accessing
the filesystem.

Did anyone have the same problems? Is there a fix for this problems?
 
Hi glj

Please try fuser command with following syntax that terminate all the processes using that specified file system.Then unmount fs

#fuser -k -u /mountpoint

sushveer
IBM certified specialist-p-series AIX5L System Administration
AIX/SOLARIS/WEBSPHERE-MQ/TIVOLI Administrator
 
Two things.

First, if you are using the AIX C compiler (and not GCC),
then, instead of "CPPFLAGS=-D_THREAD_SAFE", you should
use "CC=xlc_r", this will use the "threaded" personality
of the compiler, which sets -D_THREAD_SAFE, and includes
"-lpthreads" as a link library (see /etc/vac.cfg).

Second, if you are trying to unmount a filesystem upon which Apache was running, but is not now, then the problem
may be the Apache shared library.

Try this, after shutting down apache, run "slibclean".
then try unmounting the file system.

Good luck,
-tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top