Re: [squid-users] Cache_dir not found

From: damk <dwi_amk@dont-contact.us>
Date: Fri, 23 Jan 2004 10:05:43 +0700

SquidNT by default use c:/ as root directory. You can play around a bit
with regedit, find

"Registry stored HKLM\SOFTWARE\GNU\SquidNT\2.5\squid\ConfigFile value
c:/squid/etc/squid.conf"
this line appear when you do squid -i -n <squidservice>

Just change c:/ with root directory you run squid from.

regards,

.::DAMK::.

On Fri, 23 Jan 2004 13:49:29 +1300, David Kirk
<david@christchurchcasino.co.nz> wrote:

> Hey,
>
> I have installed Squid-2.5.STABLE4-NT on a Windows 2000 Professional PC
> in
> our DMZ.
>
> It seems to be proxying all right, but it is not caching anything. I
> had a
> look at the cache.log and found the following error:
>
> chdir: c:/squid/var/cache: (2) No such file or directory
>
> which is true because my cache is on the D drive. In squid.conf I have
> the
> line:
>
> cache_dir ufs d:/squid/var/cache 3000 16 256
>
> When I ran squid -z to create the cache, it must have read that line in
> the
> squid.conf because it created all the cache subdirectories on the D
> drive,
> so I can't figure out why it won't work when I start up squid?
>
> Any help greatly appreciated.
>
>
> Later
>
> David Kirk
>
>

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Received on Thu Jan 22 2004 - 20:06:01 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:08 MST