[K12OSN] k12ltsp 4.2.1 & squid

Eric Harrison eharrison at mail.mesd.k12.or.us
Thu Apr 14 03:00:02 UTC 2005


On Wed, 13 Apr 2005 bear2bar at netscape.net wrote:

> Hi Eric,
>
> OK I tried everything you suggested and it all checks except that I get the same error message as before ??? I saw a posting that the visible_hostname had to have a format of "host.domain.tld". I tried that but still the same error persists.....
>
> norbert

I'm a bit confused, below it sounded as if you had squid starting up ok.

If you are still seeing visible_hostname errors, something is wrong with
your squid.conf and/or something is wrong with your DNS configs. Try
commenting out the visable_hostname entry, verify that /etc/resolv.conf
is correct, and add the server's ip/hostname to /etc/hosts in the format:

 	1.2.3.4	name.server.com name

-Eric

> Eric Harrison <eharrison at mail.mesd.k12.or.us> wrote:
>
>> On Wed, 13 Apr 2005 bear2bar at netscape.net wrote:
>>
>>> Hi Eric,
>>>
>>> Thanks for the help.
>>> In /var/log/squid/squid.out
>>> [root at krypton ~]# tail -f /var/log/squid/squid.out &
>>> [1] 17602
>>> [root at krypton ~]# CPU Usage: 0.024 seconds = 0.012 user + 0.012 sys
>>> Maximum Resident Size: 0 KB
>>> Page faults with physical i/o: 0
>>> FATAL: Could not determine fully qualified hostname.  Please set 'visible_hostname'
>>>
>>> Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
>>> CPU Usage: 0.023 seconds = 0.017 user + 0.006 sys
>>> Maximum Resident Size: 0 KB
>>> Page faults with physical i/o: 0
>>> 2005/04/12 22:58:21| Creating Swap Directories
>>
>> So it was a DNS problem. Okay, that's fixed. On the next one...
>>
>>> Please note that I've set visible_hostname in squid.conf, squid-squidguard.conf and although squidguard starts without error no filtering is done. Apache is running & redirected to 8080 & port 80 is redirected to 3128 for squid
>>
>> What does the squidGuard log say?
>>
>>    /var/log/squidGuard/squidGuard.log
>>
>> It should end with something like this:
>>
>>    2005-04-13 13:14:00 [8782] squidGuard 1.2.0 started (1113423240.659)
>>    2005-04-13 13:14:00 [8782] squidGuard ready for requests (1113423240.706)
>>
>>
>> Also make sure that you do have squidGuard running. Run this command:
>>
>>      ps auxw | grep squidGuard
>>
>>
>> If you don't see a bunch of entries such as:
>>
>>    squid     8786  0.0  0.0  9748 1448 ?        S    13:13   0:00 (squidGuard) -c /etc/squid/squidGuard.conf
>>
>> squidGuard is not running. This might fix it:
>>
>>
>>    /sbin/service squid stop
>>    /sbin/chkconfig squid off
>>    /sbin/chkconfig squidguard on
>>    /sbin/service squidguard start
>>
>> -Eric
>>


More information about the K12OSN mailing list