Search squid archive

Re: Problem with Squid3 Caches

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

 



On 6/10/2016 11:27 a.m., KR wrote:
> Hello Amos,
> 
> 
>> On Oct 5, 2016, at 9:07 AM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
>>
>> On 5/10/2016 6:48 a.m., KR wrote:
>>> I uncommented that line and now I get
>>>
>>> Initializing the Squid cache with the command squid3 -f /etc/squid/squid.conf -z ..
>>>
>>
>> Hmm. The 'squid3' package should have config files at /etc/squid3/*
>>
>> The 'squid' package has config files at /etc/squid/*
> 
> 
> It seems I have the /etc/squid/* package and NOT squid3.  Not sure why this is referencing squid3.  What’s the difference?
> 

They packaged Squid-2 under the name 'squid' for many years, and
followed the 2.6/2.7 fork with that package name.
 while packaging Squid-3 as 'squid3'. Then when Squid-2 was dropped
Ubuntu migrated everyone to 'squid3' package.

The naming is finally getting back to being 'squid' with only latest
version available.



> 
>>> FATAL: Bungled /etc/squid/squid.conf line 3410: cache_dir rock /hdd1 ... min-size=100000
>>
>> Is that an exact copy-paste of the output?
>> Are the "..." characters really in your config file?
>>
>> If yes, the problem is that somebody has mindlessly cut-n-pasted
>> incomplete example config line(s) into your squid.conf.
>>
>> If no, then the problem is that you are hiding the broken piece of
>> config from us.
>>
>> Either way you have something to fix.
> 
> 
> That is exactly the error message I get.  It’s not in the config file.

That error message existing means the line *does* exist in the
squid.conf file you are loading.

The lack of '#' at the beginning of some lines you quoted below means
that those lines *are* being passed to Squid as active config to use.

> 
> #		store_dir_select_algorithm round-robin
> #		cache_dir rock /hdd1 ... min-size=100000
> #		cache_dir rock /ssd1 ... max-size=99999
> #		cache_dir rock /hdd2 ... min-size=100000
> #		cache_dir rock /ssd2 ... max-size=99999
> #		cache_dir rock /hdd3 ... min-size=100000
> #		cache_dir rock /ssd3 ... max-size=99999
> cache_dir rock /ssd1 ... max-size=99999
> cache_dir rock /hdd2 ... min-size=100000
> cache_dir rock /ssd2 ... max-size=99999
> cache_dir rock /hdd3 ... min-size=100000
> cache_dir rock /ssd3 ... max-size=99999
> 

That is a piece of example documentation being used blindly without
reading the actual documentation it is part of.

It is not even docs about the cache_dir directive!

The reason the "..." exist is that the documentation is explaining how
to use *store_dir_select_algorithm*. The settings other than the shown
ones are irrelevant for that documentation and being skipped.


Amos

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux