Props Files For Auto-Start Getting Deleted During Reboot Scripting Of Stop/Start Of OHS (Doc ID 2196603.1)

Last updated on DECEMBER 09, 2016

Applies to:

Oracle HTTP Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

When using Oracle HTTP Server 12.1.3.0.0, the storeUserConfig password files are getting deleted during reboot scripting to Stop/Start OHS.

Goal is to use the auto-start scripts for Oracle HTTP Server 12c instances during the Linux Reboot.

This is documented here:

Oracle Fusion Middleware Administering Oracle HTTP Server
4.3.2.3.1 Storing Your Node Manager Password
https://docs.oracle.com/middleware/1213/webtier/HSADM/getstart.htm#HSADM1244

$DOMAIN_HOME/bin/startComponent.sh componentName storeUserConfig

The system will prompt for your Node Manager password.

Enter your password.

The system responds with this message:

"Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Creating new key...The username and password that were used for this WebLogic NodeManager connection are stored in $HOME/.wlst/nm-cfg-myDomainName.props and $HOME /.wlst/nm-key-myDomainName.props"

The key is the existence of these files:

nm-key-base_domain.props
nm-cfg-base_domain.props

 

 

Calling the same scripts for validating the reboot procedures. The entire ".wlst" directory getting deleted when calling script as root user,

For example: (/bin/su - webadmin -c '/opt/webtier/scripts/startServer.sh stop') 1>/dev/null
 


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms