Re: [squid-users] Cache_dir not found

From: Serassio Guido <guido.serassio@dont-contact.us>
Date: Fri, 23 Jan 2004 14:55:34 +0100

Hi,

Il 01.49 23/01/2004 David Kirk ha scritto:

>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?

Where is your squid.conf ?

If its location is different from c:/squid/etc/squid.conf you MUST add the
-f option when running squid -n for the service installation.

This is in SquidNT documentation !

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l.
Via Gorizia, 69 10136 - Torino - ITALY
Tel. : +39.011.3249426 Fax. : +39.011.3293665
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Fri Jan 23 2004 - 06:55:35 MST

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