k5di at zianet.com
Sat Feb 9 23:26:33 UTC 2008
David Duong wrote:
> Karl Larsen wrote:
>> I am having trouble setting up squid. It seems to dislike all I have
>> done and does this:
>> File host.conf saved
>> root at karl-desktop:/etc# squid -z
>> /etc/host.conf: line 2: bad command `127.0.0.1 localhost'
>> FATAL: Could not determine fully qualified hostname. Please set
>> Squid Cache (Version 2.6.STABLE14): Terminated abnormally.
>> CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys
>> Maximum Resident Size: 0 KB
>> Page faults with physical i/o: 0
>> Aborted (core dumped)
>> root at karl-desktop:/etc#
>> I can't find a visible_hostname anywhere.
> Hello Karl,
> I believe instead of having "localhost" as your hostname, it must have a
> visible hostname (hence the error). So try this:
> type hostname and see what's your hostname. If you know your hostname
> by heart..good. Also, if you have set your server with an internal
> static ip address, remember that too.
> Then in the /etc/host.conf, replace the "127.0.0.1" with the actual ip
> address of that server and replace "localhost" with your server name.
> Correct me if I'm wrong :)
Yes the hostname is queer. It is:
karl at karl-desktop:~$ hostname
So I can change that to k5di.com which I used on Red Hat and it
worked fine. Will try that.
Karl F. Larsen, AKA K5DI
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users