Saturday 25 August 2018

adapcctl.sh failed to start with " failed to get an IP for the hostname" error in R12.2

This document describes how to resolve adapcctl.sh failing with " failed to get an IP for the hostname"

Issue:

You are running adapcctl.sh version 120.0.12020000.2

Starting OPMN managed Oracle HTTP Server (OHS) instance ...
opmnctl start: opmn is already running.
opmnctl startproc: starting opmn managed processes...
================================================================================
opmn id=ebsapps.apps.com:6200
Response: 0 of 1 processes started.

ias-instance id=EBS_web_PROD_OHS1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
  EBS_web_PROD/OHS/OHS/

Error
--> Process (index=1,uid=374605334,pid=16020)
  failed to get an IP for the hostname
  failed to start a managed process after the maximum retry limit
  failed to get an IP for the hostname
  Log:
  /u01/app/applmgr/fs1/FMW_Home/webtier/instances/EBS_web_PROD_OHS1/diagnostics/logs/OHS/EBS_web_PROD/console~OHS~1.log


adapcctl.sh: exiting with status 0

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


.end std out.


Cause: 127.0.0.1 is commented in /etc/hosts file. Due to that unable to find the IP address.

Solution: Uncomment 127.0.0.1 and Restart the services.

Before:

[root@ebsapps ~]# cat /etc/hosts
#127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.1.220 ebsapps.apps.com ebsapps
192.168.1.210 ebsdb.apps.com ebsdb

After:

[root@ebsapps ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.1.220 ebsapps.apps.com ebsapps
192.168.1.210 ebsdb.apps.com ebsdb


[applmgr@ebsapps scripts]$ adapcctl.sh start

You are running adapcctl.sh version 120.0.12020000.2

Starting OPMN managed Oracle HTTP Server (OHS) instance ...
opmnctl start: opmn is already running.
opmnctl startproc: starting opmn managed processes...

adapcctl.sh: exiting with status 0

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

[applmgr@ebsapps scripts]$ 



Thanks for your patience to view this post.......



No comments:

Post a Comment