Tuesday, March 12, 2019

jython-modules.jar/Lib/socket.py", line 338,in gethostname gaierror: (20001, 'getaddrinfo failed')

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:

  1. Type hostname on server 
  2. sudo su root
  3. vi /etc/hosts
  4. Change from --> 127.0.0.1 localhost locahost.localdomain localhost4 localhost4.localdomain4
  5. To --> 127.0.0.1 HostName HostName.localdomain localhost4 localhost4.localdomain4
  6. ex- 127.0.0.1 OIG OIG.localdomain localhost4 localhost4.localdomain4



-Arihant

2 comments:

  1. Driving Towards Clarity: Exploring Windshield Solutions
    Very Good And Useful information Thank For Sharing if you want to join - Windshield solutions of a vehicle is often overlooked until it's marred by cracks, chips, or blemishes. Yet, this seemingly simple pane of glass plays a crucial role in ensuring the safety and structural integrity of your vehicle. From shielding occupants from debris to providing structural support in the event of a collision, a well-maintained windshield is paramount to safe driving.
    1. Windshield Repair: Patching up Imperfections
    Small chips and cracks in a windshield may seem inconsequential at first glance, but they can quickly escalate into larger, more expensive problems if left unattended. Windshield repair solutions offer a cost-effective and timely way to address minor damage before it worsens.
    2. Windshield Replacement: A Fresh Perspective
    Advanced adhesives and installation techniques ensure a secure bond between the glass and the vehicle frame, maintaining structural integrity and preventing leaks. Additionally, opting for high-quality, OEM (Original Equipment Manufacturer) glass ensures optimal clarity and durability, meeting or exceeding industry safety standards.
    3. Mobile Windshield Services: Convenience on the Go
    Recognizing the busy schedules of modern drivers, many windshield solution providers now offer mobile services, bringing convenience directly to your doorstep. Whether you're stuck at home, at work, or on the side of the road, mobile windshield repair and replacement services allow you to address windshield issues without disrupting your day.
    4. Preventive Maintenance: Preserving Clarity for the Long Haul :Like any other component of your vehicle, regular maintenance is key to preserving the longevity and performance of your windshield. Simple practices such as cleaning the glass regularly, avoiding harsh chemicals, and promptly addressing minor damage can help extend the lifespan of your windshield and ensure optimal visibility in all driving conditions.

    ReplyDelete