evolution creations
when you put your mind to it, anything is possible
when you put your mind to it, anything is possible
On the new Apache2 instance that I have running Cacti, I ran into a problem where I get the error message:
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
To fix this, I have to add the following line into the /etc/apache2/httpd.conf file:
ServerName nameofserver
Replace nameofserver with the actual name of the server that you want to have Apache configured under.
November 11, 2008 - 1:21 PM
In case of Ubuntu Hardy Heron, I had to create the file /etc/apache2/conf.d/fqdn with following line as content:
ServerName localhost
January 18, 2009 - 9:41 AM
Thanks, it worked perfectly for me!
Andrea
March 13, 2009 - 12:49 AM
Thanks a lot .. It worked for me…
March 31, 2009 - 4:40 PM
It worked flawlessly for me too.
May 7, 2009 - 2:27 PM
This helped us. Thank you everyone!
shell# echo $HOSTNAME >> /etc/apache2/conf.d/fqdn
May 7, 2009 - 2:30 PM
Note slight corection to above post:
echo ServerName $HOSTNAME > /etc/apache2/conf.d/fqdn
May 7, 2009 - 3:23 PM
glad that helped!
July 10, 2010 - 1:27 PM
Thanks for the simple and yet powerful info! I thought the ‘world’ was about to end!
Thanks for sharing!