Hi,
At 06.47 24/07/2007, Santosh Rani wrote:
> Why you are not using the native Windows binary kits ?
I have tried using binaries for SquidNT. But it gave me error in my cache.log;
2007/07/14 21:18:42| ipcCreate: CHILD: G:/Proxy1/libexec/unlinkd.exe:
(2) No such file or directory
I have seen that the directory as well as the file 'unlinkd.exe' exists there.
I would rather be happier to use the binaries since it is easier to
install it as a windows service and also that it would start
automatically upon bootup.
But because of above mentioned error I left it. It is my mistake
though that I did not report the problem (pardon me please).
Argh !!!, this is a very important detail .... :-(
When I am already running Bofi's Squid 2.5 Stable3 on this machine,
can I runt another Squid instance under Windows with a different
service name?
Yes, you can, but with the correct config.
General guide lines for multiple instances:
http://wiki.squid-cache.org/MultipleInstances
On the Windows side, you must use two different
Squid services with different service name and different command line.
See -O and -n options.
something like:
squid -i -n squid1 -O "-f c:/squid1/etc/squid.conf"
squid -i -n squid2 -O "-f c:/squid2/etc/squid.conf"
Regards
Guido
On 24/07/07, Santosh Rani <santoshballey@xxxxxxxxx> wrote:
> My try to build Squid with --enable-win32-service failed under Cygwin
> with the error; It does not recognise this directive.
>
> Regards
>
> On 23/07/07, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote:
> > On mån, 2007-07-23 at 16:05 +0530, Santosh Rani wrote:
> >
> > > Further, I wish I could automate this so that Squid under Cygwin
> > > starts on bootup.
> >
> > I think the following should work:
> >
> > Built Squid with --enable-win32-service
> >
> > Then install it as a service by using
> >
> > /path/to/sbin/squid -i
> >
> >
> > Another option is to use the service wrapper from the Windows resource
> > kit.. used that for various non-windows daemons many years ago (NT4
> > era).
> >
> > Regards
> > Henrik
> >
> >
>
-
========================================================
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/