AH00557: apache2: apr_sockaddr_info_get() failed for foo-bar
This is a wiki page. Be bold and improve it!
If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.
# service apache2 start
* Executing: /lib64/rc/sh/openrc-run.sh /lib64/rc/sh/openrc-run.sh /etc/init.d/apache2 start
* Starting apache2 ...
* Detaching to start `/usr/sbin/apache2' ...
AH00557: apache2: apr_sockaddr_info_get() failed for gentoo-victoria
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
* start-stop-daemon: failed to start `/usr/sbin/apache2' [ !! ]
* ERROR: apache2 failed to start
Solved by adding a line in hhtpd.conf as suggested:
# vi /etc/apache2/httpd.conf