apache2: apr_sockaddr_info_get failed for

If you are getting this error when you try to start or restart apache :

apache2: apr_sockaddr_info_get() failed for pirat9-desktop
apache2: Could not reliably determine the server's fully qualified domain name, using for ServerName
[ OK ]

The solution is the following :

Open apache2.conf file :

sudo  vi  /etc/apache2/apache2.conf

and  add  this line :

ServerName localhost

Save  and  exit

restart   again

pirat9@pirat9-desktop:~$ sudo    /etc/init.d/apache2  restart
 * Restarting web server apache2                                               ... waiting                                                           [ OK ]

Is done !

{loadposition user9}

Related Articles By Tags :

{loadposition user1}

Please shareShare on Facebook0Share on Google+0Tweet about this on TwitterShare on LinkedIn0Share on Reddit0Digg thisShare on StumbleUpon0Share on VKBuffer this page