An error occurred when stopping the apache service

Article Directory

Error

[root@apache2 php-5.6.11]# service httpd stop
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::6cfb:e1ca:5321:7d44. Set the 'ServerName' directive globally to suppress this message

Solution

Just remove the #ServerName www.example.com:80 comment inside and change it to ServerName 127.0.0.1:80

After executing httpd to
restart APACHE, the prompt will not appear

Guess you like

Origin blog.csdn.net/Cpureman/article/details/108678928