Search squid archive

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

At 06.01 13/04/2005, Ben Wylie wrote:

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.

Wrong command line:

As noted in win32-relnotes.html, in You must ALWAYS specify both -f and -i options if you want to change the squid.conf default path:
"The service installation is made with -i command line switch, it's possible to use -f switch at the same time for specify a different config-file settings for the Squid Service that is stored on Registry."


Please note: the SSL build is EXPERIMENTAL.

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1           10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: guido.serassio@xxxxxxxxxxxxxxxxx
WWW: http://www.acmeconsulting.it/


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux