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
-
Return to December 2014
- Return to “Karotu Tannang <ka***u@nauoi.com.ki>”
- Return to “Eliot Ness <sc***7@googlemail.com>”
-
Return to “Timothy White <ti***8@gmail.com>”
- 2014-12-08 (Tue, 09 Dec 2014 12:21:01 +1200) - Squid cannot run with Grase - Karotu Tannang <ka***u@nauoi.com.ki>
- 2014-12-10 (Thu, 11 Dec 2014 08:15:55 +1000) - Re: [GRASE-Hotspot] Squid cannot run with Grase - Timothy White <ti***8@gmail.com>
- 2014-12-10 (Thu, 11 Dec 2014 10:40:17 +1200) - Re: [GRASE-Hotspot] Squid cannot run with Grase - Karotu Tannang <ka***u@nauoi.com.ki>
- 2014-12-10 (Thu, 11 Dec 2014 16:40:05 +1200) - Re: [GRASE-Hotspot] Squid cannot run with Grase - Karotu Tannang <ka***u@nauoi.com.ki>
- 2014-12-11 (Thu, 11 Dec 2014 18:55:43 +1000) - Re: [GRASE-Hotspot] Squid cannot run with Grase - Timothy White <ti***8@gmail.com>
- 2014-12-11 (Fri, 12 Dec 2014 06:29:51 +1200) - Re: [GRASE-Hotspot] Squid cannot run with Grase - Karotu Tannang <ka***u@nauoi.com.ki>
- 2014-12-11 (Thu, 11 Dec 2014 18:55:43 +1000) - Re: [GRASE-Hotspot] Squid cannot run with Grase - Timothy White <ti***8@gmail.com>
- 2014-12-10 (Thu, 11 Dec 2014 16:40:05 +1200) - Re: [GRASE-Hotspot] Squid cannot run with Grase - Karotu Tannang <ka***u@nauoi.com.ki>
- 2014-12-10 (Thu, 11 Dec 2014 10:40:17 +1200) - Re: [GRASE-Hotspot] Squid cannot run with Grase - Karotu Tannang <ka***u@nauoi.com.ki>
- 2014-12-15 (Mon, 15 Dec 2014 07:08:38 -0800) - Re: Squid cannot run with Grase - Eliot Ness <sc***7@googlemail.com>
- 2014-12-16 (Tue, 16 Dec 2014 21:33:40 +1200) - Re: [GRASE-Hotspot] Re: Squid cannot run with Grase - Karotu Tannang <ka***u@nauoi.com.ki>
- 2014-12-23 (Wed, 24 Dec 2014 12:57:53 +1200) - SOLVED Re: [GRASE-Hotspot] Re: Squid cannot run with Grase - Karotu Tannang <ka***u@nauoi.com.ki>
- 2014-12-24 (Wed, 24 Dec 2014 19:11:49 +1000) - Re: SOLVED Re: [GRASE-Hotspot] Re: Squid cannot run with Grase - Timothy White <ti***8@gmail.com>
- 2014-12-24 (Thu, 25 Dec 2014 12:54:38 +1200) - Re: SOLVED Re: [GRASE-Hotspot] Re: Squid cannot run with Grase - Karotu Tannang <ka***u@nauoi.com.ki>
- 2014-12-24 (Wed, 24 Dec 2014 19:11:49 +1000) - Re: SOLVED Re: [GRASE-Hotspot] Re: Squid cannot run with Grase - Timothy White <ti***8@gmail.com>
- 2014-12-23 (Wed, 24 Dec 2014 12:57:53 +1200) - SOLVED Re: [GRASE-Hotspot] Re: Squid cannot run with Grase - Karotu Tannang <ka***u@nauoi.com.ki>
- 2014-12-23 (Wed, 24 Dec 2014 13:30:04 +1200) - Squid giving no logs?? - Karotu Tannang <ka***u@nauoi.com.ki>
- 2014-12-16 (Tue, 16 Dec 2014 21:33:40 +1200) - Re: [GRASE-Hotspot] Re: Squid cannot run with Grase - Karotu Tannang <ka***u@nauoi.com.ki>
- 2014-12-25 (Thu, 25 Dec 2014 12:19:47 -0800) - Re: Squid cannot run with Grase - Eliot Ness <sc***7@googlemail.com>
- 2014-12-10 (Thu, 11 Dec 2014 08:15:55 +1000) - Re: [GRASE-Hotspot] Squid cannot run with Grase - Timothy White <ti***8@gmail.com>