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

From: Altrock, Jens <Jens.Altrock@dont-contact.us>
Date: Wed, 13 Apr 2005 08:24:27 +0200

Try
squid -i -f f:/squid/etc/squid.conf

the -f option tells squid to use alternative config file ;)
see here:
http://www.acmeconsulting.it/pagine/opensource/squid/squidnt25.htm

Regards

Jens Altrock
Diplom-Ingenieur (BA)
Stadtverwaltung Neustadt an der Weinstraße
EDV und Organisation
Marktplatz 1
67433 Neustadt an der Weinstraße

Tel. +49 6321 855 330
Fax +49 6321 855 7330
mailto:jens.altrock@stadt-nw.de
http://www.neustadt-weinstrasse.de

> -----Ursprüngliche Nachricht-----
> Von: Ben Wylie [mailto:squid@benwylie.co.uk]
> Gesendet: Mittwoch, 13. April 2005 06:02
> An: squid-users@squid-cache.org
> Betreff: [squid-users] SquidNT - Running it for the first time
>
>
> 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
>
>
###########################################
Diese Nachricht wurde von F-Secure Anti-Virus gescannt.

This message has been scanned by F-Secure Anti-Virus.
Received on Wed Apr 13 2005 - 00:24:35 MDT

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