[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] k12ltsp 4.2.1 & squid



Hi Eric, 

Yes squidguard service starts but no filtering occurs. When I run /var/log/squid/squid.out I get the same message as before ??
If I comment out the visible_hostname I get;
"Stoping squid: /etc/init.d/squidguard: line 83: 8992 aborted   $SQUID -k check -f /etc/squid/squid-squidGuard.conf 3>/dev/null"
&
Starting squid: /etc/init.d/squidguard: line 54: 8993 aborted   $SQUID -k check -f /etc/squid/squid-squidGuard.conf 3>/dev/null"

I checked that the host is listed in hosts & resolv.conf is right ... now what ... reinstall ? :o)

thks
norbert

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

>On Wed, 13 Apr 2005 bear2bar 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 mail mesd k12 or us> wrote:
>>
>>> On Wed, 13 Apr 2005 bear2bar netscape net wrote:
>>>
>>>> Hi Eric,
>>>>
>>>> Thanks for the help.
>>>> In /var/log/squid/squid.out
>>>> [root krypton ~]# tail -f /var/log/squid/squid.out &
>>>> [1] 17602
>>>> [root 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
>>>
>

__________________________________________________________________
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]