Getting error "httpd: apr_sockaddr_info_get() failed for domain.com" when starting apache

Solution Verified - Updated -

Issue

  • Getting following error when starting apache httpd service:
Starting httpd: httpd: apr_sockaddr_info_get() failed for domain.com
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName    [  OK  ]

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 5.x
    • 6.x
  • Apache Web Server (httpd )
    • 2.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content