[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#590528: apache: (optionally) suppress "Could not reliably determine the server's fully qualified domain name" message



Package: apache2.2-common
Version: 2.2.16-1
Severity: minor
Justification: pointless error message, clutters logs
Files: /etc/logrotate.d/apache2

Hi Stefan, Tollef, Thom, et al,

This is an old one.  Once a week, I get a friendly reminder from cron:

| /etc/cron.daily/logrotate:
| apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

which is totally true; this laptop is not supposed to have a public Internet
presence.

In /usr/share/doc/apache2/README.Debian.gz, I read

| 1) Error message "Could not determine the server's fully qualified domain name,
| using 127.0.0.1 for ServerName" during start
| 
| This can usually be ignored but it means that Apache httpd was unable to obtain
| a fully-qualified hostname by doing a reverse lookup on your server's IP
| address. You may want to add the fully-qualified hostname to /etc/hosts .

but no, I do not want to get dynamic DNS just for this and do not want to
ignore the message.

Is there an option to suppress the message?  If so, perhaps that item in
the "Common Problems" list would be a good place to advertize it. :)

Totally unrelated, but thanks for making Apache so easy to configure.
It is great. :)



Reply to: