Hi Shanker,

I have got a working squid on my SuSE 6.3 partition. The cache_dir is /var/squid/cache.
UID/GID are squid.

Now in Red Hat 6.2 partition also I have installed squid and to share the above cache,
I have changed cache_dir in /etc/squid/squid.conf to

cache_dir /mnt/SuSE/var/squid/cache 100 16 256

where  /mnt/SuSE is the SuSE 6.3 mount point.

Now the problem is after mounting SuSE partition the UID/GID of squid directory 
changes to
some number such as 12.150 instead of squid.squid as was there when I boot in SuSE.

Secondly when I try to start squid I get the following error :

<SNIP>

[root@rajesh] /etc/squid# /etc/rc.d/init.d/squid  start
Starting squid: squid
FATAL: Unknown cache_dir type '/mnt/SuSE/var/squid/cache'

Squid Cache (Version 2.3.STABLE1): Terminated abnormally.
CPU Usage: 0.020 seconds = 0.010 user + 0.010 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 176
[root@rajesh] /etc/squid#

<SNIP>


What am I doing wrong here ? Anybody there ? Please raise your hand.

Thanks in advance.


Rajesh



Shanker Balan saw fit to inform LI that: 
>You should be able to. Squid runs as user "proxy" and group "proxy", u
>might need to make sure that the UID/GID for both RHL and SuSE is the same.
>
>--Shanu
>
>Rajesh Fowkar saw fit to inform LIH that: 
>>Can I share my SuSE 6.3 Squid cache with the Red Hat 6.2 squid cache ? How this can 
>be done.
>>I tried creating the following link on my Red Hat 6.2 :
>>
>>it gives me error saying that cache_dir type not know or something like that.
>

-- 
Rajesh(ALIAS Shriram) Fowkar
--------------------------------------------------------------------------------
How I Configured my SiS6215 Card ?Visit:http://rajesh.computers.webjump.com/linux.html
Web Site : http://rajesh.computers.webjump.com/  Email :[EMAIL PROTECTED]
 Address : KURTARKAR NAGARI, BLDG-C, FLAT NO. T4, THIRD FLOOR, SHANTINAGAR,
           PONDA - GOA.      PHONE : (0832)315932

"My interest is in the future because I am going to spend the rest of my
life there."
-Charles F. Kettering
---------------------------------------------------------------------------------


-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH

Reply via email to