IBM Support

JR53648: APPSERVERADMIN.SH COMMAND FAILS FOR NON-ROOT WEBSPHERE CONFIGURATION IF UMASK IS 077

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In InfoSphere Information Server 11.3, the AppServerAdmin.sh
    command was changed such that if you have configured your
    WebSphere profile to run under a non-root ID, it will ensure
    that files updated by AppServerAdmin.sh in the WebSphere
    profile will be owned by the profile owner even though you run
    AppServerAdmin.sh as root.  However, if your current umask is
    077, the updated files created by the root ID are not able to
    be read by the profile owner so it fails to propagate the
    changes.
    
    The failure will look similar to:
    
    # ./AppServerAdmin.sh -db -user xmeta -password *******
    Info Configuration files updated
    Building jar:
    /tmp/iisSharedLib2221286337846631292.tmp/classes.jar
    Building ear:
    /tmp/iisSharedLib2221286337846631292.tmp/classes.ear
    WASX7357I: By request, this scripting client is not connected
    to any server process. Certain configuration and application
    operations will be available in local mode.
    WASX7303I: The following options are passed to the scripting
    environment and are available as arguments that are stored in
    the argv variable:
    "[/tmp/iisSharedLib2221286337846631292.tmp/installSharedLibrarie
    s.txt]"
    $Id: wsadminlib.py 115 2011-01-03 15:51:00Z dingsor $
    WASX7017E: Exception received while running file
    "/opt/IBM/InformationServer/ASBServer/etc/manageSharedLibraries.
    py"; exception information: com.ibm.bsf.BSFException: exception
    from Jython:
    Traceback (innermost last):
      File "<string>", line 50, in ?
    IOError: File not found -
    /tmp/iisSharedLib2221286337846631292.tmp/installSharedLibraries.
    txt (Permission denied)
     IISAdminCommand:Exit(1)
     Error Unable to deploy library module "classes"; Error: 1
    

Local fix

  • Change the AppServerAdmin.sh script to set the umask to 002 so
    the command will succeed. This will be fixed in a future
    release.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    11.3 users running AppServerAdmin.sh on Linux and Unix
    ****************************************************************
    PROBLEM DESCRIPTION:
    In InfoSphere Information Server 11.3, the AppServerAdmin.sh
    command was changed such that if you have configured your
    WebSphere profile to run under a non-root ID, it will ensure
    that files updated by AppServerAdmin.sh in the WebSphere profile
    will be owned by the profile owner even though you run
    AppServerAdmin.sh as root.  However, if your current umask is
    077, the updated files created by the root ID are not able to be
    read by the profile owner so it fails to propagate the changes.
    
    The failure will look similar to:
    
    # ./AppServerAdmin.sh -db -user xmeta -password *******
    Info Configuration files updated
    Building jar:
    /tmp/iisSharedLib2221286337846631292.tmp/classes.jar
    Building ear:
    /tmp/iisSharedLib2221286337846631292.tmp/classes.ear
    WASX7357I: By request, this scripting client is not connected to
    any server process. Certain configuration and application
    operations will be available in local mode.
    WASX7303I: The following options are passed to the scripting
    environment and are available as arguments that are stored in
    the argv variable:
    "[/tmp/iisSharedLib2221286337846631292.tmp/installSharedLibrarie
    s.txt]"
    $Id: wsadminlib.py 115 2011-01-03 15:51:00Z dingsor $
    WASX7017E: Exception received while running file
    "/opt/IBM/InformationServer/ASBServer/etc/manageSharedLibraries.
    py"; exception information: com.ibm.bsf.BSFException: exception
    from Jython:
    Traceback (innermost last):
      File "<string>", line 50, in ?
    IOError: File not found -
    /tmp/iisSharedLib2221286337846631292.tmp/installSharedLibraries.
    txt (Permission denied)
     IISAdminCommand:Exit(1)
     Error Unable to deploy library module "classes"; Error: 1
    ****************************************************************
    RECOMMENDATION:
    Upgrade to Information Server 11.5.0.0
    ****************************************************************
    

Problem conclusion

  • The umask should be 022 while AppServerAdmin.sh is running.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR53648

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    B31

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-06-18

  • Closed date

    2015-10-01

  • Last modified date

    2015-10-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WIS DATASTAGE

  • Fixed component ID

    5724Q36DS

Applicable component levels

  • RB50 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"InfoSphere DataStage"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.3","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
08 January 2022