User Tools

Site Tools


apache:error_apr_sockaddr_info_get_failed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
apache:error_apr_sockaddr_info_get_failed [2020/07/15 09:30] – external edit 127.0.0.1apache:error_apr_sockaddr_info_get_failed [2023/07/17 10:11] (current) – removed peter
Line 1: Line 1:
-====== Apache - Error 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 don’t require a complex /etc/hosts file that includes all your virtual hosts. 
- 
-<file /etc/hosts> 
-172.0.0.1 localhost.localdomain localhost 
-127.0.1.1 blogs 
-</file> 
- 
-When running: 
- 
-<code bash> 
-service apache2 restart 
-</code> 
- 
-You might get this error: 
- 
-<code> 
-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 
-</code> 
- 
-A quick solution to this problem: 
- 
-<code bash> 
-vim /etc/apache2/apache2.conf 
-</code> 
- 
- 
-<file bash /etc/apache2/apache2.conf> 
-# Insert at the end of the file 
-ServerName localhost 
-</file> 
- 
-===== Restart Apache ===== 
- 
-<code bash> 
-service apache2 restart 
- * Restarting web server apache2 [ OK ] 
-</code> 
  
apache/error_apr_sockaddr_info_get_failed.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki