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

14 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
  2. Very Good And Useful information Thank For Sharing if you want to join - Payment Gateway services in east delhi visit Vcare Technical Institute.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Educational content is more engaging with visuals.AI talking avatars make it easy to create lectures and tutorials without long recording sessions.

    ReplyDelete
  5. Mobile security threats are increasing, which makes browser-based solutions a smart choice. An online YouTube video downloader! provides a safer alternative by avoiding risky third-party apps and keeping user data protected.

    ReplyDelete
  6. Cloud and mobile security ensure that users can access services safely and efficiently. Reliable systems create confidence and peace of mind. Financial planning also benefits from clear and secure tools. An isa calculator uk! helps users plan savings effectively for the future. Smart security supports smarter decisions.

    ReplyDelete
  7. This topic highlights how important simple tools are for understanding technical concepts. A binary calculator online! makes it easy to convert and verify binary values instantly. It’s especially helpful for students and beginners learning computer basics. Clear results save time and reduce confusion. Practical tools like this improve learning efficiency.

    ReplyDelete
  8. Security is the backbone of any modern digital environment. A well‑managed DR DRIVING GAME ZONE! also depends on safe systems, clean files, and reliable content. When users feel secure, they explore more confidently. That sense of protection always improves the overall experience.

    ReplyDelete
  9. When users Download Car Parking Multiplayer!, mobile security becomes a key concern. This website helps by providing structured information that encourages safe installation practices. Avoiding malicious files is critical for protecting personal data. It’s useful for gamers who care about secure downloads and device safety. A practical resource in the mobile gaming space.

    ReplyDelete
  10. When playing car parking multiplayer1!, cloud and mobile security are important for protecting game accounts and progress. Secure platforms help prevent data loss and unauthorized access. Gamers often connect accounts online, so security awareness matters. This topic is highly relevant for mobile game users today.

    ReplyDelete
  11. It looks like the error you’re seeing can be related to how the Jython environment is handling socket modules — sometimes updating or adjusting the classpath resolves these kinds of issues. Thanks for sharing the details and steps you've tried so far!

    Thoughtful planning and the right approach make a big difference in any project, whether debugging code or something like bathroom remodeling Arvada, where good preparation leads to better results.

    ReplyDelete
  12. When you see errors from Jython like issues in `socket.py` (for example, import errors or Traceback messages), the root cause is often that the standard Python library files (like those in the `Lib/` folder) aren’t being found or included correctly in the classpath. Jython doesn’t always automatically load all modules from inside the jar, especially networking modules like `socket`, unless the standalone jar or proper paths are set up. One common fix is to use the **standalone Jython jar** (which includes the full `Lib/` folder) or explicitly add the path to the `Lib` directory to `sys.path` so that modules like `socket` can be imported by your scripts. :contentReference[oaicite:0]{index=0}

    For anyone also working on creative naming for projects or scripts while developing and testing, a fun tool like the Ship Name Generator can help you come up with unique and memorable name ideas too!

    ReplyDelete