Re: [squid-users] UDP errors after upgrade to 3.1.1

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 08 Apr 2010 01:47:06 +0000

On Wed, 7 Apr 2010 09:48:10 -0400, BASDarchive
<basdarchive_at_beth.k12.pa.us>
wrote:
> On Apr 6, 2010, at 3:08 AM, Amos Jeffries wrote:
>
>> donovan jeffrey j wrote:
>>> Greetings
>>> compiled 3.1.1 on 2 OSX machines, both running 10.5.8 one is
>>> transparent the and the other is straight up.
>>> build went fine. no errors.
>>> fired up squid ( squid -d1x )
>>> clients connected but as soon as a request for a site came through I
>>> got a ton of these on both systems;
>>> 2010/04/01 10:38:48| idnsSendQuery: FD 6: sendto: (22) Invalid
argument
>>> 2010/04/01 10:38:56| comm_udp_sendto: FD 6, (family=2) 209.96.96.2:53:
>>> (22) Invalid argument
>>> here is my previous build:
>>> Version 3.0.STABLE24
>>> configure options: '--enable-async-io' '--enable-icmp'
>>> '--enable-delay-pools' '--disable-htcp' '--enable-ssl'
>>> '--enable-ipfw-transparent' '--enable-snmp' '--enable-underscores'
>>> '--enable-basic-auth-helpers=NCSA,LDAP,getpwnam'
>>> i quickly flipped back to my previous build until I can figure out
what
>>> changed.
>>> -jeff
>>
>> MacOSX is one of the OS where IPv6 support is not available in Squid
>> 3.1. Build with --disable-ipv6 for now on that OS.
>>
>> Sorry about that, I am working on it in the background but have been
>> held up by other bugs. Time permitting it might work in 3.2.
>>
>> Amos
>
> Hi amos,
>
> just recompiled, 2 things so far.
>
> when I was done i did a " squid -v "
> Squid Cache: Version 3.1.1
> configure options: '--enable-icmp' '--enable-storeio=diskd,ufs,aufs'
> '--enable-delay-pools' '--disable-htcp' '--enable-ssl'
> '--enable-ipfw-transparent' '--enable-snmp' '--enable-underscores'
> '--enable-basic-auth-helpers=NCSA,LDAP,getpwnam' '--disable-ipv6'
> --with-squid=/usr/local/src/squid-3.1.1 --enable-ltdl-convenience
>
>
> what is this section ? --with-squid=/usr/local/src/squid-3.1.1
> --enable-ltdl-convenience , I did not set these options. I'm not sure
what
> ltdl-convenience is.

--with-squid is an autoconf internal parameter added so that certain
helpers with sub-configure scripts can be built against the squid source
code.
--enable-ltdl-convenience is part of the libtool automatics to allow
dynamically loadable libraries. eCAP etc require it and some other
libraries make use of it when present for a smaller binary.

>
> Second and probably more important.
> squid -d1x
> squid -k check shows " squid: ERROR: No running copy "
> squid -k rotate " squid: ERROR: No running copy "
> squid -k shutdown " squid: ERROR: No running copy "
>
> ps -ax | grep squid
> root# ps -ax | grep squid
> 29428 ?? 0:00.00 squid -d1x
> 29430 ?? 0:01.30 (squid) -d1x
> 29431 ?? 0:00.04 (squidGuard) -c
> /usr/local/squidGuard/squidGuard.conf
<snip helpers>
>
> is there a new way to start stop ?
>

Ouch, check if the squid.pid file also exists with the current Squid
worker process PID (29430) inside it.

"-k check" maybe should not be doing that test anyway. But the others
require a running Squid they can contact.

Amos
Received on Thu Apr 08 2010 - 01:47:10 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 08 2010 - 12:00:03 MDT