Jumat, 07 September 2018

How to solved error AH00557: httpd: apr_sockaddr_info_get() failed for cloud

  Tidak ada komentar
Some day as system engineer i face an error "AH00557: httpd: apr_sockaddr_info_get() failed for cloud" on my httpd service as following figure and i try to solve it by trying and search on internet for the answer and here i sharing how to solve the same trouble if you face it
[[email protected] modules]# sudo service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: [Sat Sep 08 12:17:05.429999 2018] 
AH00557: httpd: apr_sockaddr_info_get() failed for cloud
AH00558: httpd: 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
                                                           [  OK  ]
[[email protected] modules]#

Open file hosts and add the ip address and hostname
[[email protected] html]# vi /etc/hosts
[[email protected] html]#

You can see the example in following figure
[[email protected] html]#
[[email protected] html]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
127.0.0.1   pelaut-cloud

[[email protected] html]#

Restart the httpd service again
[[email protected] html]# sudo service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: [Sat Sep 08 12:23:48.573491 2018] 
AH00558: httpd: 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
                                                           [  OK  ]
[[email protected] html]#

The error was gone 

Tidak ada komentar :

Posting Komentar