[Fixed] opmnctl startall fails In EBS R12.2

Oracle

Share Post Now :

HOW TO GET HIGH PAYING JOBS IN AWS CLOUD

Even as a beginner with NO Experience Coding Language

Explore Free course Now

Table of Contents

Loading

In this blog post, I have covered the “opmnctl startall fails” issue and fix, faced while starting the Application tier in Oracle EBS R12.2.

  • If you are new to Oracle AppsDBA R12.2, then go check our previous post on EBS Architecture, Here
  • Also, to know about Start/Stop Oracle EBS Services, check our post here
  • ( MOS-ID 2555355.1) Additional Steps to Configure OHS/OPMN 11.1.1.9 Components for Oracle E-Business Suite R12.2

Issue Encountered

In Oracle EBS R12.2, there are three tiers, Client Tier, Application Tier, and Database Tier. So, one of the trainees from our Oracle AppsDBA Training  (For Free MasterClass, Register Here) faced the below error after upgrading from EBS 12.2.0 to 12.2.8,  when starting the Application services error as:

“You are running adopmnctl.sh version 120.0.12020000.2

Starting Oracle Process Manager (OPMN) …

[2020-01-16T10:11:24+03:00] [opmn] [ERROR:1] [] [internal] /u01/oracle/PROD122/fs1/FMW_Home/webtier/opmn/bin/opmn: unexpected exit: status 4200

opmnctl start: opmn failed to start.

adopmnctl.sh: exiting with status 0″

To check the log files for OPMN, go under FMW_Home\user_projects\epmsystem1\diagnostics\logs\OPMN\opmn\opmn.log

Check Out: Oracle Database 19c Features. Click here

Cause

When we got the above error, We searched the error keyword “opmn failed to Start” in My Oracle Support and found this MOS-ID 2555355.1 Additional Steps to Configure OHS/OPMN 11.1.1.9 Components for Oracle E-Business Suite R12.2 in which got below causes:

  • The reason for the failure of OPMN and OHS to start is that the default wallets generated by Oracle Fusion Middleware contain self-signed certificates signed using md5WithRSA.
  • The patched security library is no longer accepts certificates signed by md5WithRSA. The certificate signature algorithm must be sha256WithRSA or better

Check Out : Our Previous Blog On Oracle E-Business Suite R12.2 Installation.

FIX

The following steps will generate a new wallet with an acceptable self-signed certificate and deploy it to the default wallet locations. This will allow OHS and OPMN to start.

1. Creating and Deploying a New Wallet

  • Login as the user that owns the application tier installation and Source the run file system environment.
  • Set an alias for the correct orapki.

(Note: The orapki utility, a command-line tool to manage certificate revocation lists (CRLs), create and manage Oracle wallets, and create signed certificates for testing purposes). For more information on Orapki, check this documentation from oracle, Here

  • Create a new wallet with an acceptable self-signed certificate in $HOME/ss
  • Find the instanceName of this environment and save in variable for later use.
  • Go to the instance directory and Find the default wallets used by this instance.
  • Verify that each wallet only contains the self-signed certificate.
  • Copy the new SHA-256 signed wallet to all default wallet locations.
  • With the new wallet in place, you should be able to start OPMN and OHS with the respective commands
  • Once you have verified the successful start of OPMN and OHS, start the remaining application services ($ adstrtal.sh)

I hope this post might help you to fix the above error.

Related/Further Readings

Next Task For You

We cover Oracle E-Business R12.2 Architecture & concepts in our Oracle Apps DBA For Beginners Training along with the Installation, Patching, Cloning, and Troubleshooting and also, Database upgrade to 19c  and much more including the hands-on labs you must perform to upgrade your skills and get a good job with a high package.

Begin your journey towards becoming an Apps DBA by joining our FREE Masterclass on How To Learn Oracle Apps DBA (R12) & It’s New Features.

Picture of mike

mike

I started my IT career in 2000 as an Oracle DBA/Apps DBA. The first few years were tough (<$100/month), with very little growth. In 2004, I moved to the UK. After working really hard, I landed a job that paid me £2700 per month. In February 2005, I saw a job that was £450 per day, which was nearly 4 times of my then salary.