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_SCRIPT_HOME
$ ./adstpall.sh
Then, go to Apache sertificate directory.
$ cd /u01/applprod/inst/apps/PRODHCM_app/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.
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_SCRIPT_HOME
$ ./adstpall.sh
Then, go to Apache sertificate directory.
$ cd /u01/applprod/inst/apps/PRODHCM_app/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.
No comments:
Post a Comment