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: 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 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
Servername xxxxxx
That’s all!