In today’s article, we will fix the Error While Creating Domain.
If you are getting an error when creating a new domain in Oracle middleware products and the error you get is as follows,
1 2 3 4 5 | – Generation Error!! Traceback (innermost last): File “<iostream>”, line 35, in ? File “/mymwhome/wlserver_10.3/common/wlst/modules/jython-modules.jar/Lib/socket$py.class”, line 338, in gethostname gaierror: (20001, ‘getaddrinfo failed’) |
You need to define the current machine in the /etc/hosts/ file,
In short, the error is coming because the dns is not resolved.