[squid-users] Squid giving "(21) Is a directory" error

From: Ricardo Lucca <rlucca_at_gmail.com>
Date: Thu, 15 May 2014 01:56:58 -0300

Hi there,

I recently installed the squid and I tried the minimal configuration
in a virtual machine. The squid gives access to other machine, but it
keeps failing with a error "(21) Is a directory" when I tried access
the "www.google.com.br". I replaced the version 3.4.5 with the version
3.2 and 3.1 and all get the same error. The version 2.7 worked well.
Can it be my configuration mistake or it is a bug? I used the
squid.conf.default that came in the source.

I managed to get the log of this error:

2014/05/13 19:14:00.603| comm.cc(1114) connect: to 173.194.42.183:80
2014/05/13 19:14:00.603| comm_connect_addr: connecting socket 12 to
173.194.42.183:80 (want family: 2)
2014/05/13 19:14:00.603| comm_connect_addr: sock=12, addrinfo(
flags=4, family=2, socktype=1, protocol=6, &addr=0x112ff70, addrlen=16
)
2014/05/13 19:14:00.603| connect FD 12: (-1) (21) Is a directory
2014/05/13 19:14:00.603| connecting to: 173.194.42.183:80
2014/05/13 19:14:00.603| comm.cc(1147) connect: FD 12: * - try again

I compiled this version of the squid myself running:

$ ./configure --enable-ssl --disable-ipv6 && make

Another question, is the version 3.4.5 suitable for production use? Or
it is recommend the use of version 2.7 yet?

Thanks
Received on Thu May 15 2014 - 04:57:25 MDT

This archive was generated by hypermail 2.2.0 : Thu May 15 2014 - 12:00:09 MDT