apache:troubleshooting:apr_sockaddr_info_get_failed
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
apache:troubleshooting:apr_sockaddr_info_get_failed [2023/07/17 10:11] – peter | apache:troubleshooting:apr_sockaddr_info_get_failed [2023/07/17 10:16] (current) – [Fix] peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Apache - Troubleshooting - apr_sockaddr_info_get() failed ====== | ====== Apache - Troubleshooting - apr_sockaddr_info_get() failed ====== | ||
- | Apache 2.4.7 Start Error: apr_sockaddr_info_get() failed on Ubuntu 14.04. | + | ===== Error ===== |
- | + | ||
- | This error is usually harmless. | + | |
- | + | ||
- | * Sometimes you do not require a complex /etc/hosts file that includes all your virtual hosts. | + | |
- | + | ||
- | <file / | + | |
- | 172.0.0.1 localhost.localdomain localhost | + | |
- | 127.0.1.1 blogs | + | |
- | </ | + | |
- | + | ||
- | When running: | + | |
<code bash> | <code bash> | ||
Line 18: | Line 7: | ||
</ | </ | ||
- | You might get this error: | + | returns: |
< | < | ||
Line 24: | Line 13: | ||
AH00558: apache2: Could not reliably determine the server' | AH00558: apache2: Could not reliably determine the server' | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Fix ===== | ||
+ | |||
+ | This error is usually harmless. | ||
+ | |||
A quick solution to this problem: | A quick solution to this problem: | ||
<code bash> | <code bash> | ||
- | vim / | + | sudo vi / |
</ | </ | ||
Line 36: | Line 32: | ||
ServerName localhost | ServerName localhost | ||
</ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | <file bash / | ||
+ | 172.0.0.1 localhost.localdomain localhost | ||
+ | 127.0.1.1 blogs | ||
+ | </ | ||
+ | |||
+ | |||
+ | </ | ||
---- | ---- |
apache/troubleshooting/apr_sockaddr_info_get_failed.1689588708.txt.gz · Last modified: 2023/07/17 10:11 by peter