Search squid archive

Re: Re: Squid 2.5 STABLE7 failing under Cygwin Windows XP

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

 



Fine.
I have installed SquidNT port of on my G: drive apart from the one
running already.
Both the Squids have different Service names under Services Applet of Windows.
I have already created swap directories. (squid -z).
Visible_hosname have been declared.
Both are running on same machine.
Both have been assigned different NIC.
Both have been assigned different ports.
Freshly installed Squid has been allowed access in the firewall rules.
Now when I do " G:/squid/sbin/squid -f g:/xy/etc/squid.conf"

I am getting following error in my cache.log :

2007/07/24 16:16:26| Starting Squid Cache version 2.6.STABLE13 for
i686-pc-winnt...
2007/07/24 16:16:26| Running on Windows XP
2007/07/24 16:16:26| Process ID 2852
2007/07/24 16:16:26| With 2048 file descriptors available
2007/07/24 16:16:26| With 512 CRT stdio descriptors available
2007/07/24 16:16:26| Windows sockets initialized
2007/07/24 16:16:26| Using select for the IO loop
2007/07/24 16:16:26| Performing DNS Tests...
2007/07/24 16:16:26| Successful DNS name lookup tests...
2007/07/24 16:16:26| DNS Socket created at 0.0.0.0, port 4199, FD 4
2007/07/24 16:16:26| Adding nameserver xxx.xxx.xxx.xxx from Registry
2007/07/24 16:16:26| Adding nameserver xxx.xxx.xxx.xxx from Registry
2007/07/24 16:16:26| Adding nameserver 218.248.255.177 from Registry
2007/07/24 16:16:26| User-Agent logging is disabled.
2007/07/24 16:16:26| Referer logging is disabled.
2007/07/24 16:16:26| ipcCreate: CHILD: g:/squid/libexec/unlinkd.exe:
(2) No such file or directory
2007/07/24 16:16:26| ipcCreate: PARENT: OK read test failed
2007/07/24 16:16:26| --> read returned 4
2007/07/24 16:16:26| --> got 'ERR%0a'
FATAL: Failed to create unlinkd subprocess
Squid Cache (Version 2.6.STABLE13): Terminated abnormally.

My observation:
1. There is no squid.pid file present in G:/squid/var/logs
2. unlinkd.exe exists at  g:/squid/libexec/unlinkd.exe

Please help why I am getting this error.

Regards
On 24/07/07, Guido Serassio <guido.serassio@xxxxxxxxxxxxxxxxx> wrote:
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/




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

  Powered by Linux