apache:troubleshooting:apr_sockaddr_info_get_failed
This is an old revision of the document!
Apache - Troubleshooting - apr_sockaddr_info_get() failed
Apache 2.4.7 Start Error: apr_sockaddr_info_get() failed on Ubuntu 14.04.
This error is usually harmless.
- Sometimes you do not require a complex /etc/hosts file that includes all your virtual hosts.
172.0.0.1 localhost.localdomain localhost 127.0.1.1 blogs
When running:
service apache2 restart
You might get this error:
AH00557: apache2: apr_sockaddr_info_get() failed for blogs 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
A quick solution to this problem:
vim /etc/apache2/apache2.conf
- /etc/apache2/apache2.conf
# Insert at the end of the file ServerName localhost
Restart Apache
service apache2 restart * Restarting web server apache2 [ OK ]
apache/troubleshooting/apr_sockaddr_info_get_failed.1689588708.txt.gz · Last modified: 2023/07/17 10:11 by peter