2014-12-10 - Re: [GRASE-Hotspot] Squid cannot run with Grase

Header Data

From: Karotu Tannang <ka***u@nauoi.com.ki>
Message Hash: c91363bf713fe800d92b3f37407ee3cccde48a90df9620356fda7f69c6466d14
Message ID: <CA+bonMhYvcvsCDNCiKVKYJreHhf2QVFV3E0mY9ruW=b=FnsdfQ@mail.gmail.com>
Reply To: <CA+bonMjYEDV3ZRKq9EOoR9xmc1=P6516wjdSknFo-yiHNfPWng@mail.gmail.com>
UTC Datetime: 2014-12-10 21:40:05 UTC
Raw Date: Thu, 11 Dec 2014 16:40:05 +1200

Raw message

Hi Tim,

I have added a file called /etc/squid3/grase.d/caching.conf

With the the contents as advised for testing
cache_dir ufs /var/spool/squid3 100 16 256

When I start squid using /etc/init.d/squid start.. it dies as shown in
the syslog..

Dec 11 16:07:34 ezynet-billing kernel: [1055734.635644] init: squid3
main proces               s ended, respawning
Dec 11 16:07:34 ezynet-billing squid3: #011Failed to verify one of the
swap dire               ctories, Check cache.log#012#011for details.
Run 'squid -z' to create swap dire               ctories#012#011if
needed, or if running Squid for the first time.
Dec 11 16:07:34 ezynet-billing kernel: [1055734.923940] init: squid3
main proces               s (30058) terminated with status 1
Dec 11 16:07:34 ezynet-billing kernel: [1055734.923975] init: squid3
respawning                too fast, stopped

I have tried running squid3 -z but I see nothing created in /var/spool/squid3

Could you kindly advise how I can fix this please?

Kind regards,

Karotu

On 11/12/2014, Karotu Tannang <ka***u@nauoi.com.ki> wrote:
> Aah.. will do that and update..
>
> Many thanks for this.
>
> Karotu
>
> On 11/12/2014, Timothy White <ti***8@gmail.com> wrote:
>> The included squid.conf.grase file needs to be left where it was. Squid
>> by
>> default is enabled with the hotspot (the grase-conf-squid3 package does
>> that).
>> What isn't enabled is caching. You need to create a new file in
>> /etc/squid3/grase.d/ with a .conf extension, and add to that file the
>> directives needed to enable caching.
>>
>> Generally something like:
>>
>> cache_dir ufs /var/spool/squid3 100 16 256
>>
>> You'll want to research the cache_dir option and adjust it to be relevant
>> for you.
>>
>> See
>> https://github.com/GraseHotspot/grase-www-portal/wiki/Squid-and-Proxies
>>
>> Tim
>>
>> On Tue, Dec 9, 2014 at 10:21 AM, Karotu Tannang <ka***u@nauoi.com.ki>
>> wrote:
>>
>>> Hi,
>>>
>>> I am using Grase on Ubuntu 12.04, not the latest on nightly..
>>>
>>> I would like to use Squid so we can cache some updates and others..
>>>
>>> I noticed that you would have to place a squid.conf in
>>> /etc/squid3/grase.d folder?
>>> I have copied the already prepared squid.conf.grase into this folder
>>> then renamed it to squid.conf.
>>>
>>> Upon running I am gtting from /var/log/syslog the following about
>>> Squid3..
>>> squid3: WARNING: can't include /etc/squid3/grase.
>>>   d/squid.conf: includes are nested too deeply (>16)!
>>>
>>> but I cannot see any "include" directives in both the config files.
>>> Can someone advise how we can make this work please?
>>>
>>> Kind regards,
>>>
>>> Karotu
>>> --
>>> ----------------------------------
>>> Karotu Tannang
>>> Nauoi IT Services
>>> Behind BOK, Betio / PO Box 46, Bairiki
>>> Tarawa, KIRIBATI
>>> Mobile: +686 50707
>>> Like Us on Facebook: http://www.facebook.com/nauoionline
>>>
>>> --
>>> This mailing list is for the Grase Hotspot Project
>>> http://grasehotspot.org
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups
>>> "Grase Hotspot" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an
>>> email to gr***e@grasehotspot.org.
>>> To post to this group, send email to gr***t@grasehotspot.org.
>>> Visit this group at
>>> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
>>> To view this discussion on the web visit
>>> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/CA%2BbonMgu%3D849XWCMkh_82zi9CG%2BF0KL5Mya2GGJ1t%3DnQje_7SQ%40mail.gmail.com
>>> .
>>>
>>
>> --
>> This mailing list is for the Grase Hotspot Project
>> http://grasehotspot.org
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Grase Hotspot" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to gr***e@grasehotspot.org.
>> To post to this group, send email to gr***t@grasehotspot.org.
>> Visit this group at
>> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
>> To view this discussion on the web visit
>> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/CAESLx0J-LPfvwwSi6r3GG43F1%3Dq50-VURVR6%2BU4XFGaMPuGqyA%40mail.gmail.com.
>>
>
>
> --
> ----------------------------------
> Karotu Tannang
> Nauoi IT Services
> Behind BOK, Betio / PO Box 46, Bairiki
> Tarawa, KIRIBATI
> Mobile: +686 50707
> Like Us on Facebook: http://www.facebook.com/nauoionline
>


-- 
----------------------------------
Karotu Tannang
Nauoi IT Services
Behind BOK, Betio / PO Box 46, Bairiki
Tarawa, KIRIBATI
Mobile: +686 50707
Like Us on Facebook: http://www.facebook.com/nauoionline


Thread