apache2: apr_sockaddr_info_get failed for


Please shareShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on RedditDigg thisShare on StumbleUpon

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}