apache2: apr_sockaddr_info_get failed for If you are getting this error when you try to start or restart apache

January 14, 2011 at 7:09 am | Posted in apache, Error&solution | Leave a comment

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 127.0.0.1 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

 

$ sudo /etc/init.d/apache2 restart

 

* Restarting web server apache2 … waiting [ OK ]

 

$

Advertisement

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.