WEBLOGIC ADMIN SERVER STARTUP FAILING WITH FORCE_SHUTTING_DOWN

 We shutdown our test weblogic admin server to apply recent security patches. Our colleague applied the path and tried to start Admin server. Server didn’t come-up and was failing with below error:

  1. A MultiException has 6 exceptions. They are:
  2. weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid. The user name or password or both from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
  3. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.security.SecurityService
  4. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jndi.internal.RemoteNamingService errors were found.
    Server state changed to FAILED. A critical service failed. The server will shut itself down. Server state changed to FORCE_SHUTTING_DOWN.

He tried multiple options, like reentering credentials in boot.properties etc. He asked me if I could help in resolving issue. I started my analysis by executing top command. Observed 1 zombie java process. Thought that this process might be causing issue and rebooted VM. It didn’t help. Looked at the log messages again. Ideally we should not get this error as the password was not changed. So, source of the credential which is boot.properties doesn’t have problem. Other possibility was that credential store with which weblogic validates the credentials might have corrupted. The credentials store in this case was weblogic local LDAP store.

Took backup LDAP store files located at $DOMAIN_HOME/servers/AdminServer/data/ldap/ldapfiles and copied LDAP files from managed server’s LDAP store. Admin server was started without a problem this time.

After enquiring my colleague what actions he had done during patching activity, I am thinking following sequence of events caused the problem:

  1. Stopped managed servers and admin server from weblogic console.
  2. Managed server processes were stopped but Admin server process was not getting stopped.
  3. He killed the admin server process using kill command. It was not killed properly and the process became a zombie process.
  4. Looks like this LDAP store got corrupted during above step.

Comments

Popular posts from this blog

SOA SUITE 12.2.1.4 INSTALLATION: GOT EXCEPTION WHEN AUTO CONFIGURING THE SCHEMA COMPONENT(S) WITH DATA OBTAINED FROM SHADOW TABLE

HOW WE REDUCED SOA OSB PROVISIONING FROM 4 DAYS TO 4 HOURS

RABBITMQ CONNECTION ERROR: JAVAX.NET.SSL.SSLHANDSHAKEEXCEPTION: INVALID ECDH SERVERKEYEXCHANGE SIGNATURE