Error apr_sockaddr_info_get ()

Did not want to write about such a trifling problem, but still.
And so, if you are running Apache you see this:
apache2: apr_sockaddr_info_get () failed for xxxxxx, the first, xxxxxx is the name of the machine. Go to the/etc/hosts and write there:
127.0.0.1 xxxxxx
That will be enough.
If when you start Apache wrote this:
apache2: Could not reliably determine the server’s a fully qualified domain name, using 127.0.0.1 for ServerName
Then, this error is most likely to occur because of the lack of the ServerName in httpd.conf (virtual host configuration does not count).
Open the config of Apache VirtualHost directives _vne_ and anywhere in writing or uncomment:
Servername localhost
or
Servername xxxxxx
That’s all!