[AIX HP-UX Linux Solaris Windows]

Changing ownership for profile maintenance

When an installer installs a maintenance package that contains service for a profile that a non-root user owns, the installer owns any new files that the maintenance package creates. The installer can change the ownership of the new files so that a non-root user can successfully start the product.

Before you begin

This task assumes a basic familiarity with the Update Installer wizard and system commands.
This task uses the following terms:
  • Root users refers to:
    • [Linux] [HP-UX] [Solaris] [AIX] Root users
    • [Windows] Administrators
  • Non-root users refers to:
    • [Linux] [HP-UX] [Solaris] [AIX] Non-root users
    • [Windows] Non-administrators
  • Installer refers to a root user or a non-root user.

Before you can update a profile, you must install WebSphere® Application Server and create a profile. You might additionally have to augment a profile before you update it if the feature pack requires the profile to be augmented for you to use the feature-pack capabilities.

About this task

This example assumes that the installer completes the following actions:
  • Applies service that creates new files in a profiles directory that the wsdemo non-root user owns
  • Changes ownership of new profile files from the installer to the wsdemo non-root user.
If the installer does not change ownership, then when the non-root user starts the product, the application server encounters an error and issues a message that is similar to the following example:
ADMR0104E: 
The system is unable to read document 
cells/express1Cell/nodes/express1/node-metadata.properties: 
java.io.IOException: No such file or directory

Procedure

  1. Run the update installer wizard to install maintenance packages for the product.
  2. Reassign ownership of the entire profile directory to the wsdemo non-root user.

    The profile_root variable in the following examples is the profile directory that the non-root user owns.

    [Linux] [HP-UX] [Solaris] [AIX] Issue the chown command.
    chown -R wsdemo profile_root

    [Windows] Follow instructions in the Windows® documentation to reassign ownership of the profile_root directory to the wsdemo non-root user.

Results

The installer installed a maintenance package that creates new files in a non-root user profile directory and changes ownership of the new files to the non-root owner.

What to do next

The non-root user can start the product without receiving the ADMR0104E error message.

Task topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 1:06:41 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v700xml&product=was-nd-mp&topic=tpro_root_service
File name: tpro_root_service.html