[plug] Local Apache problem

craig at postnewspapers.com.au craig at postnewspapers.com.au
Wed Jan 9 14:46:07 WST 2002


> Starting httpd-perl:  [60G[   [1;32mOK [0;39m  ] 
> Starting httpd: [Tue Jan  8 11:16:40 2002] [alert] httpd: Could not determine 
> the server's fully qualified domain name, using 127.0.0.1 for ServerName
>  [60G[ [1;31mFAILED [0;39m] 
> [Tue Jan  8 11:16:45 2002] [alert] httpd: Could not determine the server's 
> fully qualified domain name, using 127.0.0.1 for ServerName
>  [60G[ [1;31mFAILED [0;39m] 
> [Tue Jan  8 11:16:51 2002] [alert] httpd: Could not determine the server's 
> fully qualified domain name, using 127.0.0.1 for ServerName
>  [60G[ [1;31mFAILED [0;39m] 
> 
> My hosts file contains the following entries
> 
> 127.0.0.1	linux.personal	localhost
> 192.168.0.1	linux.personal	localhost linux
make SURE that executing 'hostname -f ' returns linux.personal. If not,
change linux.personal to whatever it does return. If that result is one
word (ie your machine has no domain name set) you need to set a domain
name. For private networks, .localnet is a good choice (IMHO). You'll
need to change that in whatever network config your distro uses, or add
a domain line to /etc/resolv.conf (man resolv.conf).

Or you can take the slack way, put 'ServerName linux.personal' in Apache
httpd.conf and see if that works.

Here's an example of my config:

127.0.0.1       geek.localnet geek localhost localhost.localnet
203.59.227.178  geek.postnewspapers.com.au
<snip>

where hostname -f returns
geek.localnet


-- 
Craig Ringer
IT Manager, POST Newspapers
http://www.postnewspapers.com.au/    http://oberthur.dyndns.org/~craig/
GPG Key Fingerprint: AF1C ABFE 7E64 E9C8 FC27  C16E D3CE CDC0 0E93 380D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20020109/8be25e65/attachment.pgp>


More information about the plug mailing list