[squid-users] SquidNT - Running it for the first time

From: Ben Wylie <squid@dont-contact.us>
Date: Wed, 13 Apr 2005 05:01:49 +0100

I've just tried to install SquidNT and have tried to run it for the first
time. I don't know whether SquidNT is supported on this list at all, but in
case it is, I will try my luck.

The installation I was using was: squid-2.5.STABLE9-NT-bin-SSL.zip

I have set all of the settings in squid.conf.
My path to squid is f:\squid, so I have changed all of the c: to f:

I follow the instructions to install squid as a windows service and do the
following:

F:\squid\sbin>squid -i f:/squid/etc/squid.conf
Registry stored HKLM\SOFTWARE\GNU\SquidNT\2.5\SquidNT\ConfigFile value
c:/squid/
etc/squid.conf
Squid Cache version 2.5.STABLE9-NT-CVS for i686-pc-winnt
installed successfully as SquidNT Windows System Service.
To run, start it from the Services Applet of Control Panel.
Don't forget to edit squid.conf before starting it.

This is clearly wrong - it has stuck c: in even though I specified f:
I go to the registry entry and amend it. I then try getting it to create the
cache directories:

F:\squid\sbin>squid -z f:/squid/etc/squid.conf
FATAL: Unable to open configuration file: c:/squid/etc/squid.conf: (2) No
such f
ile or directory
Squid Cache (Version 2.5.STABLE9-NT-CVS): Terminated abnormally.
CPU Usage: 0.070 seconds = 0.010 user + 0.060 sys
Maximum Resident Size: 2152 KB
Page faults with physical i/o: 535

So even though there is a registry entry with the path to squid.conf, it is
still looking for it in c:.

When I try starting the service manually it fails - most likely because it
is still looking in c:

Can anyone suggest why it insists on looking in c: even when directed to
look in f:?

In the installation instructions it has:
Edit the squid.conf and change if needed the c:/squid path (use path with
'/' char, NOT '\')

This looks like it might be the cause, but I am unclear as to where this
path is to be found apart from in the conf file.

Thanks for your help,
Ben
Received on Tue Apr 12 2005 - 22:02:43 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:03 MDT