flexbean's picture

On the status.net appliance when apache is restart

/usr/sbin/service apache2 restart

I get the following message:

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

In researching the message it appears that /etc/hosts needs to have the site domain name to be added to the statusnet line. From:

127.0.0.1 localhost
127.0.1.1 statusnet

#Required for IPv6 capable hosts
...

To:

127.0.0.1 localhost
127.0.1.1 mydomain.com statusnet

#Required for IPv6 capable hosts
...

Where mydomain.com is added on line 2.

With the update the apache warning message goes away (both on the command line and in /var/log/apache2/error.log). Assuming this is the correct way to handle the problem, does it make sense for mydomain.com to be automatically set when the appliance is initially setup?

Forum: 
Jeremy Davis's picture

And as you've seen it's easy to fix if you want to.

flexbean's picture

How would I go about making an update to the current status.net appliance install script so the fix could go out with the next release of the appliance?


Add new comment