How to load squid was Re:localhost

Bart Silverstrim bsilver at chrononomicon.com
Mon Feb 11 01:35:57 UTC 2008



NoOp wrote:
> On 02/10/2008 04:42 PM, Bart Silverstrim wrote:
>> NoOp wrote:
> 
>>> Don't know how you can pre-edit /etc/squid.conf if squid doesn't install...
>>>
>>> Can anyone else replicate? If so, perhaps we need to revisit/refile
>>> 12709 or add on to 97505.
>> I'm sorry if I'm missing it, but what did you set the visible_hostname 
>> directive to in squid.conf?
> 
> Haven't got that far.
> 
>> That is one thing that you can't pre-edit, so it does have to be set first.
>>
> 
> I guess that's the point for the 2 bug reports that I pointed to...
> there is *no* /etc/squid.conf available to edit prior to 'sudo apt-get
> install squid'.

I don't think it would be there, the file is put in by the package as 
it's installed; perhaps a direction should come up and tell you that you 
must edit the file for your needs before launching it (there are other 
applications that must have config files altered too), but Squid is also 
extremely flexible.  There's no way to get a perfect install offhand 
(i.e., transparent proxy?  Localhost proxy only? Where, on what 
partition, do you want the cache?  Do you want SquidGuard configured to 
be launched from Squid?)

> I might be wrong (usually am) but it would appear to me that doing a
> standard apt-get install shouldn't cause a core dump:
> 
>> FATAL: Could not determine fully qualified hostname.  Please set
>> 'visible_hostname'

The standard install of Squid does that.  I think that would be an issue 
to take up with the maintainers of Squid, not the Ubuntu maintainers of 
the package.

The fortunate part is that the errors you got, if googled, should come 
up with quick fixes for configuring it.




More information about the ubuntu-users mailing list