[K12OSN] k12ltsp 4.2.1 & squid

bear2bar at netscape.net bear2bar at netscape.net
Wed Apr 13 21:43:03 UTC 2005


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

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

arrrrrrrrrrrr help
thks
norbert

Eric Harrison <eharrison at mail.mesd.k12.or.us> wrote:

>On Sun, 10 Apr 2005 bear2bar at netscape.net wrote:
>
>> Hi Eric,
>>
>> Thanks for the response.
>>
>> /var/log/squid/cache.log -> no such file or directory !
>> /var/log/messages
>>
>> [root at krypton ~]# service squid start
>> init_cache_dir /var/spool/squid... /etc/init.d/squid: line 54: 22862 Aborted                 $SQUID -z -F -D >>/var/log/squid/squid.out 2>&1
>> Starting squid: /etc/init.d/squid: line 53: 22863 Aborted                 $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1
>>                                                           [FAILED]
>
>What is in /var/log/squid/squid.out ?
>
>Line 54 of /etc/init.d/squid is where it tries to create the cache
>directories (the default is /var/spool/squid). It also is the first
>time that squid is called. So that means something is wrong with
>your cache directory or something is wrong with your squid config.
>The answer should be in /var/log/squid/squid.out.
>
>
>Take a look at /etc/squid/squid.conf and see if you have any
>custom cache_dir entries. If you do, verify that that the 
>directory specified for each entry exists and is writable by
>the squid user. If there are no custom cache_dir entries, check
>/var/spool/squid
>
>You didn't mention AVC messages in /var/log/messages, so I assume
>it is not a SELinux problem. You can double-check by running
>this command and then try to start squid:
>
>    echo 0 > /selinux/enforce
>    /sbin/service squid start
>
>If squid then starts, let us know and we'll tell you how to fix
>it.
>
>Finally, there may be something wrong with your squid config.
>One thing I've seen is that broken DNS will break your squid config.
>Make sure you have the hostname/IP address entered in /etc/hosts
>and then try to start squid again.  The DNS problem and any other
>squid-config related issue should show up in /var/log/squid/squid.out
>
>-Eric
>
>
>_______________________________________________
>K12OSN mailing list
>K12OSN at redhat.com
>https://www.redhat.com/mailman/listinfo/k12osn
>For more info see <http://www.k12os.org>
>

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp




More information about the K12OSN mailing list