User Tools

Site Tools


apache:troubleshooting: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
Next revision
Previous revision
apache:troubleshooting:apr_sockaddr_info_get_failed [2023/07/17 10:12] peterapache:troubleshooting:apr_sockaddr_info_get_failed [2023/07/17 10:16] (current) – [Fix] peter
Line 2: Line 2:
  
 ===== Error ===== ===== Error =====
- 
-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. 
- 
-<file bash /etc/hosts> 
-172.0.0.1 localhost.localdomain localhost 
-127.0.1.1 blogs 
-</file> 
- 
-When running: 
  
 <code bash> <code bash>
Line 20: Line 7:
 </code> </code>
  
-You might get this error:+returns:
  
 <code> <code>
Line 26: Line 13:
 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 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> </code>
 +
 +----
 +
 +===== Fix =====
 +
 +This error is usually harmless.
 +
  
 A quick solution to this problem: A quick solution to this problem:
  
 <code bash> <code bash>
-vim /etc/apache2/apache2.conf+sudo vi /etc/apache2/apache2.conf
 </code> </code>
  
Line 38: Line 32:
 ServerName localhost ServerName localhost
 </file> </file>
 +
 +<WRAP info>
 +**NOTE:**  Sometimes a complex **/etc/hosts** file is required that includes all your virtual hosts.
 +
 +<file bash /etc/hosts>
 +172.0.0.1 localhost.localdomain localhost
 +127.0.1.1 blogs
 +</file>
 +
 +
 +</WRAP>
  
 ---- ----
apache/troubleshooting/apr_sockaddr_info_get_failed.1689588743.txt.gz · Last modified: 2023/07/17 10:12 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki