PQ73043: No sufficient explanation for rm -rf failure.

 A fix may be available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
The customer was trying to activate a conversation in which he
was trying to delete an application.  The activation of the
conversation failed with the following error in the application
server:
.
Trace: 2003/04/02 23:30:30.910 01 t=9E0590 c=1.AF key=P8
(0803007F)
  Description: removeRecursive
  File: ./bbomsbo2.cpp
  Linenum: 6343
  system command: rm -rf
         '/WebSphere390/CB390/apps/BBOASR2/PolicyIVP/'
  return code from system(): 256
.
The message says that the remove of the directory failed, but
does not say why.
There was also a USS message in the output:
.
atoe_getcwd error: EDC5134I Function not implemented.
.
The recursive remove (rm -rf) at some point invokes getcwd()
function (get current working directory).  This failed, because
HOME directory for the system management id was set incorrectly.
It was set to '/TMP' instead of '/tmp' (case sensitive).
The WebSphere error was not clear on what the problem was.
Local fix
Modify HOME for System Management SR id:
ALU CBSYMSR1 OMVS(HOME(/xyz))
where 'CBSYMSR1' is System Management Server Region identity
and '/xyz' is a valid hfs directory (Note: case sensitive).
Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 V4.0.1 for z/OS and OS/390                   *
****************************************************************
* PROBLEM DESCRIPTION: File removal fails during activate and  *
*                      the messages received are inadequate to *
*                      find the cause.                         *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Conversation activate fails with the following in the Systems
Management server region log:
Trace: 2003/04/02 23:30:30.910 01 t=9E0590 c=1.AF key=P8
  (0803007F)
  Description: removeRecursive
  File: ./bbomsbo2.cpp
  Linenum: 6343
  system command: rm -rf
        '/WebSphere390/CB390/apps/BBOASR4/PolicyIVP/'
  return code from system(): 256
(Note: the date/time, Linenum: value, and exact system command
will vary.)
This is not enough information to determine the problem.

In this particular case, the problem was that the OMVS profile
for the Systems Management user ID had an incorrect value
specified for HOME, which caused the rm OMVS command to fail.
There could be other problems that cause similar results (e.g.
incorrect permissions.)
Problem conclusion
Support was modified to replace all direct calls to the system
for the rm command with a call to a method that uses rmdir()
and/or unlink() and returns more details about any errors.  For
the situation reported in this APAR, this change eliminates the
error entirely (by eliminating the system command call for the
rm command).  For other possible problems, it will provide more
details about the error.

APAR PQ73043 is associated with SERVICE LEVEL W401505 of
WebSphere Application Server V4.0.1 for z/OS and OS/390.
Temporary fix Comments
**** PE03/09/29 FIX IN ERROR. SEE APAR 
PQ79004  FOR DESCRIPTION
APAR information
APAR number PQ73043
Reported component name WASKBASE
Reported component ID 5655A9801
Reported release 401
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2003-04-09
Closed date 2003-05-14
Last modified date 2003-10-22

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
BBOUBINF          

Fix information
Fixed component name WASKBASE
Fixed component ID 5655A9801

Applicable component levels
R401 PSY UQ76901    UP03/05/19 P F305

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 401
Software edition:
Reference #: PQ73043
IBM Group: Software Group
Modified date: Oct 22, 2003