Just finishing off setting up a server, and am having trouble getting Apache to recognise the domain name I've been assigned (statsmail.trehtcancer.nhs.uk).
Initially I was getting the following errors in the logs...
Code: Select all
[Tue Oct 06 08:26:38 2009] [notice] SIGUSR1 received. Doing graceful restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for
ServerName
Code: Select all
[Tue Oct 06 08:26:38 2009] [notice] SIGUSR1 received. Doing graceful restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for
ServerName
[Tue Oct 06 08:26:38 2009] [notice] Apache/2.2.11 (Ubuntu) configured -- resuming normal operations
[Tue Oct 06 09:27:55 2009] [notice] caught SIGTERM, shutting down
[Tue Oct 06 09:27:55 2009] [notice] Apache/2.2.11 (Ubuntu) configured -- resuming normal operations
[Tue Oct 06 10:06:02 2009] [notice] caught SIGTERM, shutting down
[Tue Oct 06 10:06:03 2009] [notice] Apache/2.2.11 (Ubuntu) configured -- resuming normal operations
I think I'm missing something in the configuration though because it Apache doesn't appear to be listening on the Foreign Address as netstat shows...
Code: Select all
root@miles:/etc/apache2# netstat netstat -a -tcp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:www *:* LISTEN 3368/apache2
tcp 0 0 localhost:ipp *:* LISTEN 3556/cupsd
tcp 0 0 *:smtp *:* LISTEN 29230/master
tcp 0 1 miles.local:45380 statsmail.trentcanc:www SYN_SENT 28248/firefox
tcp6 0 0 [::]:smtp [::]:* LISTEN 2160/sshd
Cheers
slack


