Oracle HTTP Server Fails to Start with the Error "(EAI 2)Name or service not known: AH00549: Failed to resolve server name for xxx.xx.xx.xx (check DNS) -- or specify an explicit ServerName"
(Doc ID 2366283.1)
Last updated on OCTOBER 25, 2023
Applies to:
Oracle HTTP Server - Version 12.2.1.3.0 and laterInformation in this document applies to any platform.
Symptoms
When trying to start Oracle HTTP Server 12.2.1.3.0, it fails to start with below errors :
<2018-02-27 10:31:00> <INFO> <OHS-0> <Domain initialized for <PATH>/domains/ohs_domain> <2018-02-27 10:32:26> <INFO> <OHS-4018> <Starting server ohs2> <2018-02-27 10:32:26> <INFO> <OHS-0> <Running <PATH>/../ohs/bin/launch httpd -DOHS_MPM_EVENT -d <DOMAIN_HOME>/config/fmwconfig/components/OHS/instances/ohs2 -k start -f <DOMAIN_HOME>/config/fmwconfig/components/OHS/instances/ohs2/httpd.conf> <2018-02-27 10:32:26> <INFO> <OHS-0> <[Tue Feb 27 10:32:26.248834 2018] [core:error] [pid pid:tid tid] (EAI 2)Name or service not known: AH00549: Failed to resolve server name for xxx.xx.xx.xx (check DNS) -- or specify an explicit ServerName> <2018-02-27 10:32:26> <INFO> <OHS-0> <(99)Cannot assign requested address: AH00072: make_sock: could not bind to address xxx.xx.xx.xx:9999> <2018-02-27 10:32:26> <INFO> <OHS-0> <no listening sockets available, shutting down> <2018-02-27 10:32:26> <INFO> <OHS-0> <AH00015: Unable to open logs> <2018-02-27 10:32:26> <SEVERE> <OHS-0> <PATH>/wlserver/../ohs/bin/launch httpd -DOHS_MPM_EVENT -d <DOMAIN_HOME>/config/fmwconfig/components/OHS/instances/ohs2 -k start -f <DOMAIN_HOME>/config/fmwconfig/components/OHS/instances/ohs2/httpd.conf: exit status = 1> <2018-02-27 10:32:26> <INFO> <OHS-4005> <Check the instance log file for more information: <DOMAIN_HOME>/servers/ohs2/logs/ohs2.log> <2018-02-27 10:32:26> <SEVERE> <OHS-0> <Failed to start the server ohs2>
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |