I decided to just give this a try and replaced the older box with the newer and newer install with v3.1:
router:/var/log# /usr/local/squid3.1/sbin/squid -v
Squid Cache: Version 3.1.0.14
configure options: '--prefix=/usr/local/squid3.1' '--sysconfdir=/etc/squid3.1' '--enable-delay-pools' '--enable-kill-parent-hack' '--disable-htcp' '--enable-default-err-language=Spanish' '--enable-linux-netfilter' '--disable-ident-lookups' '--localstatedir=/var/log/squid3.1' '--enable-stacktraces' '--with-default-user=proxy' '--with-large-files' '--enable-icap-client' '--enable-ecap' '--enable-async-io' '--enable-storeio=aufs' '--enable-removal-policies=heap,lru' '--with-maxfd=16384' --with-squid=/workingdir/squid-3.1.0.14 --enable-ltdl-convenience
But, not even 30 mins into testing I'm getting this:
Nov 15 18:29:45 optimum-router squid[3625]: Squid Parent: child process 3627 started
Nov 15 18:34:37 optimum-router squid[3625]: Squid Parent: child process 3627 exited due to signal 6 with status 0
Nov 15 18:34:40 optimum-router squid[3625]: Squid Parent: child process 3649 started
Nov 15 18:39:41 optimum-router squid[3625]: Squid Parent: child process 3649 exited due to signal 6 with status 0
Nov 15 18:39:44 optimum-router squid[3625]: Squid Parent: child process 3680 started
Nov 15 18:44:37 optimum-router squid[3625]: Squid Parent: child process 3680 exited due to signal 6 with status 0
Nov 15 18:44:41 optimum-router squid[3625]: Squid Parent: child process 3704 started
Looks like something is not right. Squid is failing but is restarting by itself. Nothing to show in the cache.log.
Sorry for all the posts.
--- On Sun, 11/15/09, Landy Landy <landysaccount_at_yahoo.com> wrote:
> From: Landy Landy <landysaccount_at_yahoo.com>
> Subject: Re: [squid-users] Can't build ecap
> To: "squid-users_at_squid-cache.org" <squid-users_at_squid-cache.org>
> Date: Sunday, November 15, 2009, 1:49 PM
> After almost four hours trying to get
> squid 3.1 install with ecap I finally have it running but,
> don't know if I should use it in our network yet since
> libecap had so many bugs. My previous posts show some of the
> problems I came across: Couldn't build libecap, was missing
> a package, and so on. The last bug that was killing me in
> which I spent about 2 hours googling was that when
> enable_ecap was enable in squid.conf I noticed squid
> wouldn't start. I found out that:
>
> Squid start when remove assert() in libecap.
>
> Now i had to:
>
> vim src/libecap/adapter/adapter.cc
> Line 16 :
>
> void libecap::adapter::Service::start() {
> //assert(false);
> }
>
> recompile and install. Now, is running. Haven't test it yet
> but, at least I have that going.
>
> I don't know if I should bring this box to production and
> install it on our lan, I'm not too confident but, if I don't
> do so how am I going to know is working?
>
>
>
>
> --- On Sun, 11/15/09, Landy Landy <landysaccount_at_yahoo.com>
> wrote:
>
> > From: Landy Landy <landysaccount_at_yahoo.com>
> > Subject: Re: [squid-users] Can't build ecap
> > To: "squid-users_at_squid-cache.org"
> <squid-users_at_squid-cache.org>
> > Date: Sunday, November 15, 2009, 10:41 AM
> >
> >
> > --- On Sun, 11/15/09, Landy Landy <landysaccount_at_yahoo.com>
> > wrote:
> >
> > > From: Landy Landy <landysaccount_at_yahoo.com>
> > > Subject: Re: [squid-users] Can't build ecap
> > > To: "squid-users_at_squid-cache.org"
> > <squid-users_at_squid-cache.org>
> > > Date: Sunday, November 15, 2009, 10:18 AM
> > >
> > > I think is solved.
> > >
> > > I was able to install by editing:
> > >
> > > /libecap-0.0.2/src/libecap/common/name.cc file
> and
> > >
> > > adding #include <limits.h>
> > > instead of #include <limits>
> > >
> > >
> > > Let's see if I don't get anymore errors during
> squid
> > > build.
> > >
> > > Well, now I'm having problems getting the VIGOS
> eCAP
> > GZIP
> > > Adapter built.
> > >
> > > I'm getting errors here as well. Now, when I try
> to
> > make I
> > > get this:
> > >
> > > adapter_gzip.cc:581: error: ‘deflate’ was
> not
> > declared
> > > in this scope
> > > adapter_gzip.cc:583: error: ‘struct
> > > Adapter::Xaction::GzipContext’ has no member
> named
> > > ‘zstream’
> > > make[2]: *** [adapter_gzip.lo] Error 1
> > > make[2]: Leaving directory
> > > `/workingdir/vigos-ecap-gzip-adapter-1.1.0/src'
> > > make[1]: *** [all] Error 2
> > > make[1]: Leaving directory
> > > `/workingdir/vigos-ecap-gzip-adapter-1.1.0/src'
> > > make: *** [all-recursive] Error 1
> >
> >
> >
> >
> > After reading and reading, noticed that it was
> missing
> > zlib.h file. I was able to build it and installed by
> > installing the zlib1g-dev package.
> >
> >
> >
> >
>
>
>
>
Received on Sun Nov 15 2009 - 22:47:01 MST
This archive was generated by hypermail 2.2.0 : Mon Nov 16 2009 - 12:00:04 MST