Failed on while creating a domain Security Processing.
ERROR Logs:
2019-03-12 21:27:54,853 SEVERE [85] com.oracle.cie.domain.progress.AbstractProgressGenerator - Error occurred in phase {Security Processing} execution.
Traceback (innermost last):
File "<iostream>", line 43, in ?
File "/app/middleware/wlserver/common/wlst/modules/jython-modules.jar/Lib/socket.py", line 338, in gethostname
gaierror: (20001, 'getaddrinfo failed')
at org.python.core.Py.makeException(Py.java:1163)
at socket$py.gethostname$37(/app/middleware/wlserver/common/wlst/modules/jython-modules.jar/Lib/socket.py:338)
at socket$py.call_function(/app/middleware/wlserver/common/wlst/modules/jython-modules.jar/Lib/socket.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx31.f$0(<iostream>:43)
at org.python.pycode._pyx31.call_function(<iostream>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Py.java:1226)
at org.python.util.PythonInterpreter.execfile(Unknown Source)
at org.python.util.PythonInterpreter.execfile(Unknown Source)
at com.oracle.cie.domain.script.ScriptHelper.executeEmbeddedTemplateScript(ScriptHelper.java:1766)
at com.oracle.cie.domain.DomainChecker.executeEmbeddedScript(DomainChecker.java:1924)
at com.oracle.cie.domain.DomainChecker.runCustomWLSTScript(DomainChecker.java:1906)
at com.oracle.cie.domain.DomainChecker.preprocessOutput(DomainChecker.java:113)
at com.oracle.cie.domain.progress.domain.generation.DomainSecurityPhase.execute(DomainSecurityPhase.java:53)
at com.oracle.cie.domain.progress.AbstractProgressGenerator.run(AbstractProgressGenerator.java:94)
at java.lang.Thread.run(Thread.java:748)
Solution:
-Arihant
ERROR Logs:
2019-03-12 21:27:54,853 SEVERE [85] com.oracle.cie.domain.progress.AbstractProgressGenerator - Error occurred in phase {Security Processing} execution.
Traceback (innermost last):
File "<iostream>", line 43, in ?
File "/app/middleware/wlserver/common/wlst/modules/jython-modules.jar/Lib/socket.py", line 338, in gethostname
gaierror: (20001, 'getaddrinfo failed')
at org.python.core.Py.makeException(Py.java:1163)
at socket$py.gethostname$37(/app/middleware/wlserver/common/wlst/modules/jython-modules.jar/Lib/socket.py:338)
at socket$py.call_function(/app/middleware/wlserver/common/wlst/modules/jython-modules.jar/Lib/socket.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx31.f$0(<iostream>:43)
at org.python.pycode._pyx31.call_function(<iostream>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Py.java:1226)
at org.python.util.PythonInterpreter.execfile(Unknown Source)
at org.python.util.PythonInterpreter.execfile(Unknown Source)
at com.oracle.cie.domain.script.ScriptHelper.executeEmbeddedTemplateScript(ScriptHelper.java:1766)
at com.oracle.cie.domain.DomainChecker.executeEmbeddedScript(DomainChecker.java:1924)
at com.oracle.cie.domain.DomainChecker.runCustomWLSTScript(DomainChecker.java:1906)
at com.oracle.cie.domain.DomainChecker.preprocessOutput(DomainChecker.java:113)
at com.oracle.cie.domain.progress.domain.generation.DomainSecurityPhase.execute(DomainSecurityPhase.java:53)
at com.oracle.cie.domain.progress.AbstractProgressGenerator.run(AbstractProgressGenerator.java:94)
at java.lang.Thread.run(Thread.java:748)
Solution:
- Type hostname on server
- sudo su root
- vi /etc/hosts
- Change from --> 127.0.0.1 localhost locahost.localdomain localhost4 localhost4.localdomain4
- To --> 127.0.0.1 HostName HostName.localdomain localhost4 localhost4.localdomain4
- ex- 127.0.0.1 OIG OIG.localdomain localhost4 localhost4.localdomain4
-Arihant