Hey Howard,
I forgot to mention that squid uses the directory "/var/run/squid" as
the IPC directory which should be owned by the proxy or squid
user(depends on the OS).
From what you have mentioned squid tries to access some directory and
is getting denied by permissions.
Please Don't run squid with a "-n" option if possible, it will limit
your options to using only one worker(which is the default and is OK in
most basic cases).
Try to take advantage of the cache.log file to get the relevant
information about an issue.
I am recommending it since squid is designed to run in a "daemon" like
mode and in most cases this is how it is defined.
Eliezer
On 08/09/2015 00:57, Howard Waterfall wrote:
Thanks Eliezer.
Looking at my notes, I'm pretty sure that:
*apt-get build-dep squid*
was a typo and I actually did
*apt-get build-dep squid3*
Is there something in the output I provided that confirms it's actually
squid and not squid3? It built OK...
I enabled deb-src because when I did:
*apt-get build-dep squid3*
I got:
*You must put some 'source' uris in your sources.list*
In the meantime, I'll purge and try again and follow your wiki a little
more closely.
Cheers,
Howard
On Mon, Sep 7, 2015 at 1:58 PM, Eliezer Croitoru <eliezer@xxxxxxxxxxxx>
wrote:
Hey Howard,
On 07/09/2015 21:32, Howard Waterfall wrote:
1) Earlier in the thread, Amos suggested I run:
apt-get build-dep squid
You would need to use the "squid3" and not "squid" since this is the
package ubuntu builds squid for.
so the command should be:
apt-get build-dep squid3
I have seen you enabled deb-src in your sources.list file.
This is the opposite to the requirements.
You must have a deb-src that will have "squid3" sources in it.
If you try "squid" it(apt-get) assumes that you know what package you want
and in a case you it can't find sources for that package it will tell you
that it needs a relevant deb-src.
All that is irrelevant since you have used the wrong package.
There is also a big different between building a basic squid to a more
advanced squid which supports all sorts of helpers.
The manual way of compiling as I showed in the past at:
http://ubuntuforums.org/showthread.php?t=1847884
I had a init script for ubuntu somewhere but it kind of got lost in a data
loss couple years ago.
You can however install squid3, copy the init script and then purge it or
just download the source package(mentioned in diladele article)that
includes the init script.
All The Bests,
Eliezer
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users