[K12OSN] k12ltsp 4.2.1 & squid

Eric Harrison eharrison at mail.mesd.k12.or.us
Thu Apr 14 01:27:32 UTC 2005


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