My Oracle Support Banner

Owner and Group of Stdout Log File Created as Root If Nodemanager Started by Root When Starting WL-Server First Time (Doc ID 2502949.1)

Last updated on FEBRUARY 28, 2024

Applies to:

Oracle WebLogic Server - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

stdout log file(SERVER_NAME.out) is created as root if Nodemanager is started by root user.

This behavior is occurred with all of following conditions.
 
* Nodemanager starts by root user.
* Nodemanager is configured post-bind enabled.
* nodemanager.properties is configured all of below.
      * NativeVersionEnabled=true
      * StartScriptEnabled=true
      * StartScriptName=startWebLogic.sh
* startWebLogic.sh is configured with the java options below
      JAVA_OPTIONS="-Dweblogic.nmservice.RotationEnabled=true-Dweblogic.nodemanager.ServiceEnabled=true"
      export JAVA_OPTIONS
* RotationType: ByTime
* Begin rotation time

Delete all stdout log files(SERVER_NAME.out*), before you start managed server.

Then you start managed server, you see it created stdout log file(SERVER_NAME.out) owned by root.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.