Hi ,
1- Check your user that running squid . it must be root . I mean the shell
that you enter the squid command .
2- chown -R squid.squid /mnt/sda2/squid_spool
3- kill the squid daemon before squid -z .
4- change your squid.conf and add cache_dir line related to
/mnt/sda2/squid_spool
5- run squid -z
6- start squid daemon .
that's all . it must working fine .
--
Regards
============================================================
/ Seyyed Hamid Reza / WINDOWS FOR NOW !! /
/ Hashemi Golpayegani / Linux for future , FreeBSD for ever /
/ Morva System Co. / ------------------------------------- /
/ Network Administrator/ hamid@morva.net , ICQ# : 42209876 /
===========================================================
-----Original Message-----
From: Arief Kurniawan [mailto:ariefk@centrin.net.id]
Sent: Thursday, September 30, 1999 4:17 PM
To: squid-users@ircache.net
Subject: [SQU] Cache_dir problem....
Hi,
I posted to the list before, but nobody answers. I've searched through the
lists' archieve & FAQ.
Surely it's a classic problem, I cannot create a new cache directory.
Here's the condition :
- I run squid on Linux Mandrake 7.2
- I use 'squid' user and 'squid' group to run squid as a daemon.
- Standard configuration works well, which has /var/spool/squid for the
cache_dir.
- I create a dir. for the new cache_dir, inside /mnt/sda2/squid_spool
- I did #chown squid /mnt/sda2/squid_spool and #chgrp squid
/mnt/sda2/squid_spool
- I double checked with ls -l and get it right
- In squid.conf I added the line for the new cache_dir
- I restarted the squid daemon
- I did : #squid -z , and get an error > /mnt/sda2/squid_spool:(13)
permission denied.
Is there anything left in my steps ? I verified /var/spool/squid and
/mnt/sda2/squid_spool. They both have the same directory rights settings.
Thanks,
Arief K
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Sat Mar 10 2001 - 08:10:15 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:36 MST