Monday, 1 January 2024

HTTP Server wallet password error Application R12


 Error:

Executing service control script:

/u01/applmgr/prodappl/inst/apps/TEST_ebstest/admin/scripts/adapcctl.sh start

script returned:

****************************************************

 

You are running adapcctl.sh version 120.7.12010000.2

 

Starting OPMN managed Oracle HTTP Server (OHS) instance ...

opmnctl: opmn is already running.

opmnctl: starting opmn managed processes...

================================================================================

opmn id=ebstest.hinopak.com:6200

    0 of 1 processes started.

 

ias-instance id=TEST_ebstest.ebstest.hinopak.com

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

--------------------------------------------------------------------------------

ias-component/process-type/process-set:

    HTTP_Server/HTTP_Server/HTTP_Server/

 

Error

--> Process (index=1,uid=692153092,pid=17246)

    failed to start a managed process after the maximum retry limit

    Log:

    /u01/applmgr/prodappl/inst/apps/TEST_ebstest/logs/ora/10.1.3/opmn/HTTP_Server~1.log

 

 

adapcctl.sh: exiting with status 0

 

adapcctl.sh: check the logfile /u01/applmgr/prodappl/inst/apps/TEST_ebstest/logs/appl/admin/log/adapcctl.txt for more information ...

 

 

Solution:

 

Error: Failed to open the wallet - Fix

During cloning activity in one of our EBS R12, the whole cloning process completed successfully without reporting any issues. But when we are trying to start application services all “opmn” services are started except HTTP_Server.

e.g.,

[applprod@app scripts]$ ./adopmnctl.sh status

You are running adopmnctl.sh version 120.6.12010000.5

Checking status of OPMN managed processes...

Processes in Instance: PRODHCM_app.app.testdomain.com
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status 
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:oafm          |    2418 | Alive  
OC4JGroup:default_group          | OC4J:forms         |    2219 | Alive  
OC4JGroup:default_group          | OC4J:forms         |    2218 | Alive  
OC4JGroup:default_group          | OC4J:forms         |    2216 | Alive  
OC4JGroup:default_group          | OC4J:forms         |    2215 | Alive  
OC4JGroup:default_group          | OC4J:oacore       |    1889 | Alive  
OC4JGroup:default_group          | OC4J:oacore       |    1888 | Alive  
OC4JGroup:default_group          | OC4J:oacore       |    1887 | Alive  
OC4JGroup:default_group          | OC4J:oacore       |    1886 | Alive  
HTTP_Server                              | HTTP_Server       |     N/A | Down   


adopmnctl.sh: exiting with status 0

adopmnctl.sh: check the logfile /u01/applprod/inst/apps/PRODHCM_app/logs/appl/admin/log/adopmnctl.txt for more information ... 

[applprod@app scripts]$

In the opmn logfile below error messages are reported:

$ cat /u01/applprod/inst/apps/PRODHCM_app/logs/ora/10.1.3/opmn/HTTP_Server~1.log

--------

16/10/17 10:34:10 Start process
--------
/u01/applprod/inst/apps/PRODHCM_app/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd
Error: Failed to open the wallet [Hint: incorrect password, bad wallet file, ...] (Server app.apollohospitals.com:8030, wallet file:/u01/applprod/inst/apps/PRODHCM_app/certs/Apache)

Then I tried to start the "apache"server only but issue not resolved. Restart of application serer also not resolved the issue. From the above error it seems there is a issue with Apache server certificate. So, Finally below workaround worked fine:

So, connected to App server and stopped the all application services.

$ cd $ADMIN_SCRIPTS_HOME
$ ./adstpall.sh

Then, go to Apache sertificate directory.

$ cd $INST_TOP/certs/Apache

 

Just rename exiting file in the folder:

$ mv cwallet.sso cwallet.sso_BAK

And, copy the same file from source ( prod) to this cloned environment and start the application. It worked for me.

 

OR

[applmgr@ebstest opmn]$cd $INST_TOP/certs/opmn

/u01/applmgr/prodappl/inst/apps/TEST_ebstest/certs/opmn

[applmgr@ebstest opmn]$ ls

cwallet.sso  ewallet.p12

 

[applmgr@ebstest opmn]$ cp cwallet.sso /u01/applmgr/prodappl/inst/apps/TEST_ebstest/certs/Apache

 

[applmgr@ebstest Apache]$ ls

cwallet.sso  cwallet.sso_old  cwallet.sso_prod  ewallet.p12

[applmgr@ebstest Apache]$

OR

[applmgr@ebstest default]$ cd /u01/applmgr/prodappl/apps/tech_st/10.1.3/opmn/conf/ssl.wlt/default

[applmgr@ebstest default]$ ls

cwallet.sso  ewallet.p12

[applmgr@ebstest default]$ cp cwallet.sso  /u01/applmgr/prodappl/inst/apps/TEST_ebstest/certs/Apache

 

[applmgr@ebstest Apache]$ ls

cwallet.sso  cwallet.sso_old  cwallet.sso_prod  ewallet.p12

[applmgr@ebstest Apache]$

No comments:

Post a Comment