Script-Based Node Manager Fails to Start Managed Server with BEA-300047: AdminServerTag.lck: Not a Directory
Last updated on NOVEMBER 05, 2016
Applies to:Oracle Weblogic Server - Version 10.3.3 and later
Information in this document applies to any platform.
When using Script Based Node Manager to start the servers from your domain, there's a possibility that during server startup, the Node Manager might create a file called AdminServertag under %Domain_Home%/servers/. Further, if the WebLogic Server data source is configured using Consensus Leasing, the Node Manager is also in charge of getting the states of the servers.
When the Node Manager tries to read the servers folder and aquire a lock on this AdminServertag file, the managed server fails to start. The following error message is generated:
weblogic.nodemanager.NMException: rm: cannot remove `/opt/soauser/domains/OSB_TSTR2_DOMAIN/servers/AdminServerTag/data/nodemanager/AdminServerTag.lck': Not a
The issue is caused when configuring the WebLogic managed servers as migratable targets and with database Consensus Leasing. With this configuration, servers must be started using wlscontrol.sh.
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