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@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
>> 'visible_hostname'
>>
>> 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@karl-desktop:/etc#
>>
>> I can't find a visible_hostname anywhere.
>>
>> karl
>>
>>
>
> 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@karl-desktop:~$ hostname
karl-desktop
So I can change that to k5di.com which I used on Red Hat and it
worked fine. Will try that.
Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users