Using RHEL 7 With WebLogic, Systemd Is Causing Various Problems With Managed Server Restarts

(Doc ID 2365042.1)

Last updated on MARCH 07, 2018

Applies to:

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

Symptoms

Weblogic 12.2.1.3 running on RHEL 7 using systemd to start the WebLogic servers and nodemanager. The Weblogic Admin server systemd script works fine. This applies to all WLS versions which are certified on RHEL 7 and Oracle Linux 7 which makes use of systemd rather than the earlier implementation of init.d

 

Before adding KillMode=process, every time we stop the Nodemanager with below command:

sudo systemctl stop weblogic_nodemanager

It would kill all of the managed servers started by that nodemanager. KillMode=process was added to the above systemd script which helped to stop only the Nodemanager process and not all the managed servers.

Issue: When we bounce the OS/machine on which Node Manager is running, the NM comes up fine and is reachable when the machine is back up. But none of the managed servers are started even though they were running before the machine restart. Users have to manually restart the Managed Servers from the console. This manual task needs to be avoided.

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