I´ve got an Edubuntu/LTSP setup and I´m working on getting squid going and having quite a challenge with it--too much specialized/unknown vocabulary for me.* I don´t need squid for caching of objects since I´m using thin clients, but want to use it for coordinating white lists with different groups of users. I thought before I invest myself further in learning squid I should first decide which version to use.* Also, I´m going to be using squidguard as an add-on.* I understand that squid-stable is at 2.6 currently and that is what I was working on.*** However, should I use this version, install/invest in 2.7, move up to 3.0 or 3.1?* I would appreciate anyone´s opinion on this!
--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
03-08-2009, 06:20 PM
dbclinton
Which Squid?
I've been using Safesquid (primarily for whitelists and thin client
account control) for about a year and it's been flawless. The tech
support at their site (www.safesquid.com) pretty much held my hand
through my initial setup and got me going.
Good luck,
David Clinton
Ottawa, Canada
On Sun, 2009-03-08 at 12:48 -0600, David Groos wrote:
> Hi All,
>
> I´ve got an Edubuntu/LTSP setup and I´m working on getting squid going
> and having quite a challenge with it--too much specialized/unknown
> vocabulary for me. I don´t need squid for caching of objects since I
> ´m using thin clients, but want to use it for coordinating white lists
> with different groups of users. I thought before I invest myself
> further in learning squid I should first decide which version to use.
> Also, I´m going to be using squidguard as an add-on. I understand
> that squid-stable is at 2.6 currently and that is what I was working
> on. However, should I use this version, install/invest in 2.7, move
> up to 3.0 or 3.1? I would appreciate anyone´s opinion on this!
--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
03-08-2009, 06:24 PM
Gavin McCullagh
Which Squid?
Hi,
On Sun, 08 Mar 2009, David Groos wrote:
> I´ve got an Edubuntu/LTSP setup and I´m working on getting squid going and
> having quite a challenge with it--too much specialized/unknown vocabulary
> for me. I don´t need squid for caching of objects since I´m using thin
> clients,
Huh? I'm not sure I follow you here. Every firefox user, even on the one
machine, will have their own small firefox cache directory -- they won't be
shared. This is not at all a replacement for squid's caching.
> but want to use it for coordinating white lists with different groups of
> users. I thought before I invest myself further in learning squid I
> should first decide which version to use. Also, I´m going to be using
> squidguard as an add-on. I understand that squid-stable is at 2.6
> currently and that is what I was working on. However, should I use
> this version, install/invest in 2.7, move up to 3.0 or 3.1? I would
> appreciate anyone´s opinion on this!
The Squid package in Ubuntu Hardy is squid v2.6 and squid3 is available as
a separate package. I tried squid3 and it segfaulted repeatedly on me. I
first tried backporting the later squid3 package from intrepid. That
segfaulted too, so I'm using the default v2.6 version which is far more
reliable. I'd like to look at v2.7, but I don't wish to maintain a
backport if I can avoid it so I stuck with v2.6.
We're quite a busy site -- our squid instance peaks at about 150 requests
per second. Maybe a quieter site might not have the same stability issues.
If you don't mind maintaining a custom compile, v2.7 is probably better
than v2.6 but personally I'm holding off v3.
Getting squid working is fairly straightforward. Tuning it to work well
and maximise the cache hits can be quite involved.
Gavin
--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
03-08-2009, 08:39 PM
David Groos
Which Squid?
Thanks David and Gavin.
David, I checked into squidsafe and it looks great--I'm focusing on opensource as much as possible and while they have an opensource version it caps at 20 users (not simply concurrent users).
Gavin, interesting you say that about individual caches--I had thought that but then on numerous (well, at least a few) locations on the web people talked about not needing caching capabilities of squid because they were using LTSP.* I wonder if there is a configuration referencing a communal as opposed to individual cache?* I appreciate your opinion on 2.6--that's what I think I'll focus on then at this time, too, since I don't want to delve into backports at this time.
I read the 'quick start' (2 pager doc) and since I installed webmin there´s lots of help available :-)* Though... can someone help with this?* When I try to initialize the cache w/in webmin it gives this feedback:
Initializing the Squid cache with the command squid -f /etc/squid/squid.conf -z ..
FATAL: Failed to make swap directory /var/spool/squid/00: (13) Permission denied
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Any help is again, appreciated!
David
On Sun, Mar 8, 2009 at 2:24 PM, Gavin McCullagh <gmccullagh@gmail.com> wrote:
Hi,
On Sun, 08 Mar 2009, David Groos wrote:
> I´ve got an Edubuntu/LTSP setup and I´m working on getting squid going and
> having quite a challenge with it--too much specialized/unknown vocabulary
> for me. *I don´t need squid for caching of objects since I´m using thin
> clients,
Huh? *I'm not sure I follow you here. *Every firefox user, even on the one
machine, will have their own small firefox cache directory -- they won't be
shared. *This is not at all a replacement for squid's caching.
> but want to use it for coordinating white lists with different groups of
> users. I thought before I invest myself further in learning squid I
> should first decide which version to use. *Also, I´m going to be using
> squidguard as an add-on. *I understand that squid-stable is at 2.6
> currently and that is what I was working on. * *However, should I use
> this version, install/invest in 2.7, move up to 3.0 or 3.1? *I would
> appreciate anyone´s opinion on this!
The Squid package in Ubuntu Hardy is squid v2.6 and squid3 is available as
a separate package. *I tried squid3 and it segfaulted repeatedly on me. I
first tried backporting the later squid3 package from intrepid. *That
segfaulted too, so I'm using the default v2.6 version which is far more
reliable. *I'd like to look at v2.7, but I don't wish to maintain a
backport if I can avoid it so I stuck with v2.6.
We're quite a busy site -- our squid instance peaks at about 150 requests
per second. *Maybe a quieter site might not have the same stability issues.
If you don't mind maintaining a custom compile, v2.7 is probably better
than v2.6 but personally I'm holding off v3.
Getting squid working is fairly straightforward. *Tuning it to work well
and maximise the cache hits can be quite involved.
Gavin
--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
03-09-2009, 11:14 AM
Gavin McCullagh
Which Squid?
On Sun, 08 Mar 2009, David Groos wrote:
> Initializing the Squid cache with the command squid -f
> /etc/squid/squid.conf -z ..
>
> 2009/03/08 16:26:38| parseConfigFile: line 113 unrecognized: 'max_filedesc 0'
> 2009/03/08 16:26:38| Creating Swap Directories
> FATAL: Failed to make swap directory /var/spool/squid/00: (13) Permission denied
> Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
> CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
It looks like the ownership of the directory /var/spool/squid is wrong. On
debian/ubuntu squid usually runs as the user "proxy". The directory must
therefore be owned by that user.
sudo chown proxy.proxy /var/spool/squid/
should do that, though if you installed the packaged version that should be
looked after automatically.
Gavin
--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
03-11-2009, 01:42 AM
David Groos
Which Squid?
Thanks Gavin.* I just checked ownership of /var/spool/squid/ and found that it was proxy. proxy.* I then checked and while there is a user named 'squid' there is none called 'proxy'.* Likewise there was only a group called, 'squid', none named, 'proxy'.* Does that matter?* Here are the precise permissions for the folder /var/spool/:
> CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
It looks like the ownership of the directory /var/spool/squid is wrong. *On
debian/ubuntu squid usually runs as the user "proxy". *The directory must
therefore be owned by that user.
* * * *sudo chown proxy.proxy /var/spool/squid/
should do that, though if you installed the packaged version that should be
looked after automatically.
Gavin
--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
03-11-2009, 02:16 AM
Christopher Chan
Which Squid?
Hello David,
It is impossible for there not to be a proxy group if the group owner
shows up as proxy.
cheers,
Christopher
David Groos wrote:
> Thanks Gavin. I just checked ownership of /var/spool/squid/ and found
> that it was proxy. proxy. I then checked and while there is a user
> named 'squid' there is none called 'proxy'. Likewise there was only a
> group called, 'squid', none named, 'proxy'. Does that matter? Here
> are the precise permissions for the folder /var/spool/:
>
> root@gcos1:/var/spool# ls -l
> total 28
> drwxr-xr-x 2 root root 4096 2008-09-22 16:49 anacron
> drwxr-xr-x 5 daemon daemon 4096 2008-09-22 16:12 cron
> drwx--x--- 3 root lp 4096 2009-03-07 22:11 cups
> drwxr-xr-x 4 root root 4096 2008-10-20 13:10 cups-pdf
> drwxr-x--- 5 Debian-exim Debian-exim 4096 2008-12-28 19:34 exim4
> lrwxrwxrwx 1 root root 7 2008-09-22 15:55 mail -> ../mail
> drwxr-xr-x 3 root root 4096 2008-09-22 16:11 openoffice
> drwxr-x--- 2 proxy proxy 4096 2009-03-08 16:26 squid
> root@gcos1:/var/spool#
>
> Any thoughts?
>
> David
>
> On Mon, Mar 9, 2009 at 7:14 AM, Gavin McCullagh <gmccullagh@gmail.com
> <mailto:gmccullagh@gmail.com>> wrote:
>
> On Sun, 08 Mar 2009, David Groos wrote:
>
> > Initializing the Squid cache with the command squid -f
> > /etc/squid/squid.conf -z ..
> >
> > 2009/03/08 16:26:38| parseConfigFile: line 113 unrecognized:
> 'max_filedesc 0'
> > 2009/03/08 16:26:38| Creating Swap Directories
> > FATAL: Failed to make swap directory /var/spool/squid/00: (13)
> Permission denied
> > Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
> > CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
> > Maximum Resident Size: 0 KB
> > Page faults with physical i/o: 0
>
> It looks like the ownership of the directory /var/spool/squid is
> wrong. On
> debian/ubuntu squid usually runs as the user "proxy". The
> directory must
> therefore be owned by that user.
>
> sudo chown proxy.proxy /var/spool/squid/
>
> should do that, though if you installed the packaged version that
> should be
> looked after automatically.
>
> Gavin
>
>
>
> --
> edubuntu-users mailing list
> edubuntu-users@lists.ubuntu.com
> <mailto:edubuntu-users@lists.ubuntu.com>
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>
>
--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
03-11-2009, 02:54 AM
David Groos
Which Squid?
Thanks Christopher--I did and this is what I got:* (I also put this thread back on the edubuntu-list!)
2009/03/10 22:51:46| parseConfigFile: line 113 unrecognized: 'max_filedesc 0'
2009/03/10 22:51:46| Creating Swap Directories
FATAL: Failed to make swap directory /var/spool/squid/00: (13) Permission denied
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
2009/03/10 22:51:46| parseConfigFile: line 113 unrecognized: 'max_filedesc 0'
***************
On Tue, Mar 10, 2009 at 10:50 PM, Christopher Chan <christopher.chan@bradbury.edu.hk> wrote:
I just re-checked the Users and Groups app and still noted proxy wasn't listed there--maybe they don't show users below 1000 uid (except root). *Hmmm... *Any other ideas w/squid?
Yes...try 'sudo /etc/init.d/squid start' from the terminal instead of through webmin.
Another thing is:
Check the cause for this:
2009/03/08 16:26:38| parseConfigFile: line 113 unrecognized: 'max_filedesc 0'
cheers,
Christopher
--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
03-11-2009, 02:56 AM
David Groos
Which Squid?
I tried for a long while to solve the 'max_filedesc' error and was never able to fix it... just thought I'd share that
David
On Tue, Mar 10, 2009 at 10:54 PM, David Groos <djgroos@gmail.com> wrote:
Thanks Christopher--I did and this is what I got:* (I also put this thread back on the edubuntu-list!)
2009/03/10 22:51:46| parseConfigFile: line 113 unrecognized: 'max_filedesc 0'
2009/03/10 22:51:46| Creating Swap Directories
FATAL: Failed to make swap directory /var/spool/squid/00: (13) Permission denied
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
2009/03/10 22:51:46| parseConfigFile: line 113 unrecognized: 'max_filedesc 0'
***************
On Tue, Mar 10, 2009 at 10:50 PM, Christopher Chan <christopher.chan@bradbury.edu.hk> wrote:
I just re-checked the Users and Groups app and still noted proxy wasn't listed there--maybe they don't show users below 1000 uid (except root). *Hmmm... *Any other ideas w/squid?
Yes...try 'sudo /etc/init.d/squid start' from the terminal instead of through webmin.
Another thing is:
Check the cause for this:
2009/03/08 16:26:38| parseConfigFile: line 113 unrecognized: 'max_filedesc 0'
cheers,
Christopher
--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
03-11-2009, 05:14 AM
Christopher Chan
Which Squid?
Hello David,
What is the setting of
cache_effective_user
in your squid.conf?
Please also remove your max_filedesc setting from squid.conf and change
the number in /etc/default/squid instead.
cheers,
Christopher
David Groos wrote:
> Thanks Christopher--I did and this is what I got: (I also put this
> thread back on the edubuntu-list!)
>
> dgroos@gcos1:~$ sudo /etc/init.d/squid start
> [sudo] password for dgroos:
> * Starting Squid HTTP proxy
> squid * Creating squid
> spool directory structure
> 2009/03/10 22:51:46| parseConfigFile: line 113 unrecognized:
> 'max_filedesc 0'
> 2009/03/10 22:51:46| Creating Swap Directories
> FATAL: Failed to make swap directory /var/spool/squid/00: (13)
> Permission denied
> Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
> CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> 2009/03/10 22:51:46| parseConfigFile: line 113 unrecognized:
> 'max_filedesc 0'
>
--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users