Which Squid?
David Groos
djgroos at gmail.com
Thu Mar 12 02:45:33 GMT 2009
Thanks Christopher and Gavin
On Wed, Mar 11, 2009 at 1:14 AM, Christopher Chan <
christopher.chan at bradbury.edu.hk> wrote:
> Hello David,
>
> What is the setting of
>
> cache_effective_user
cache_effective_user squid
cache_effective_group squid
>
> in your squid.conf?
>
> Please also remove your max_filedesc setting from squid.conf and change the
> number in /etc/default/squid instead.
I commented out the max_filedesc line and the number in /etc/default/squid
was 1024 and I left that.
When I tried to restart squid the max_filedesc was no longer an
error--thanks!
There still is the permissions error... should I set the user and group to
proxy?
David
PS here is a copy of the Terminal output:
dgroos at gcos1:/etc/squid$ sudo /etc/init.d/squid start
* Starting Squid HTTP proxy
squid
* Creating squid spool directory structure
2009/03/11 21:33:59| 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
On Wed, Mar 11, 2009 at 1:14 AM, Christopher Chan <
christopher.chan at bradbury.edu.hk> wrote:
> 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 at 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'
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/edubuntu-users/attachments/20090311/b5a5a2a9/attachment.htm
More information about the edubuntu-users
mailing list