Migrating non-root configurations to root

You can run either a deployment manager or application server as root in WebSphere® Application Server Version 9.0 when you previously used a non-root user ID on Linux and UNIX platforms in Version 7.0 or later.

Before you begin

Supported configurations Supported configurations:

This article is about profile configuration migration. To migrate your applications to the latest version, use the WebSphere Application Server Migration Toolkit. For more information, see the Migration Toolkit on WASdev.

sptcfg
Read Overview of migration, coexistence, and interoperability and Premigration considerations.

Procedure

Set the ownership of the profile or deployment manager directory to be the same as the user under which WebSphere Application Server is to run.

This must be done for the deployment manager or application servers to run correctly.

As a root user, run the following commands:
cd $WASROOT/profiles/  
chown -R wasadmin dmgr/  
chgrp -R wasndgrp dmgr/  
chmod -R 755 dmgr/  
... 
cd $WASROOT/profiles/dmgr/bin
./startManager.sh
where the profile name is dmgr run as a user in wasadmin with the primary group wasndgrp.
Tip: For help, read Troubleshooting migration.

Results

You can now run either a deployment manager or application server as root.

Icon that indicates the type of topic Task topic



Timestamp icon Last updated: March 6, 2017 0:01
File name: tmig_nonroot.html