Re: [squid-users] 3.2.0.13: Cannot bind socket FD 21 to [::]:22381: (98) Address already in use

From: David Touzeau <david_at_touzeau.eu>
Date: Mon, 24 Oct 2011 12:24:11 +0200

Le lundi 24 octobre 2011 à 11:48 +0200, Jean-Philippe Menil a écrit :
> >
> > I had removed icp_port but the problem still occur :
> >
> > notice that i have
> >
> > http_port 22381
> >
> > perhaps it is an ipv6 issue ??
> >
> > Oct 24 11:34:19 kprxy squid[19120]: Squid Parent: (squid-1) process
> > 19554 exited with status 1
> > Oct 24 11:34:22 kprxy squid[19120]: Squid Parent: (squid-1) process
> > 19567 started
> > Oct 24 11:34:22 kprxy squid[19567]: Starting Squid Cache version
> > 3.2.0.13-20111023-r11381 for i686-pc-linux-gnu...
> > Oct 24 11:34:22 kprxy squid[19567]: Process ID 19567
> > Oct 24 11:34:22 kprxy squid[19567]: Process Roles: worker
> > Oct 24 11:34:22 kprxy squid[19567]: With 1024 file descriptors available
> > Oct 24 11:34:22 kprxy squid[19567]: Initializing IP Cache...
> > Oct 24 11:34:22 kprxy squid[19567]: DNS Socket created at [::], FD 8
> > Oct 24 11:34:22 kprxy squid[19567]: DNS Socket created at 0.0.0.0, FD 9
> > Oct 24 11:34:22 kprxy squid[19567]: Adding nameserver 192.168.1.1 from
> > squid.conf
> > Oct 24 11:34:22 kprxy squid[19567]: Logfile: opening log
> > daemon:/var/log/squid/access.log
> > Oct 24 11:34:22 kprxy squid[19567]: Logfile Daemon: opening
> > log /var/log/squid/access.log
> > Oct 24 11:34:22 kprxy squid[19567]: Logfile: opening log
> > daemon:/var/log/squid/sarg.log
> > Oct 24 11:34:22 kprxy squid[19567]: Logfile Daemon: opening
> > log /var/log/squid/sarg.log
> > Oct 24 11:34:22 kprxy squid[19567]: Unlinkd pipe opened on FD 17
> > Oct 24 11:34:22 kprxy squid[19567]: Local cache digest enabled;
> > rebuild/rewrite every 3600/3600 sec
> > Oct 24 11:34:22 kprxy squid[19567]: Logfile: opening log
> > stdio:/var/log/squid/store.log
> > Oct 24 11:34:22 kprxy squid[19567]: Swap maxSize 2048000 + 8192 KB,
> > estimated 158168 objects
> > Oct 24 11:34:22 kprxy squid[19567]: Target number of buckets: 7908
> > Oct 24 11:34:22 kprxy squid[19567]: Using 8192 Store buckets
> > Oct 24 11:34:22 kprxy squid[19567]: Max Mem size: 8192 KB
> > Oct 24 11:34:22 kprxy squid[19567]: Max Swap size: 2048000 KB
> > Oct 24 11:34:22 kprxy squid[19567]: Version 1 of swap file with LFS
> > support detected...
> > Oct 24 11:34:22 kprxy squid[19567]: Rebuilding storage
> > in /var/cache/squid (DIRTY)
> > Oct 24 11:34:22 kprxy squid[19567]: Using Least Load store dir selection
> > Oct 24 11:34:22 kprxy squid[19567]: Set Current Directory
> > to /var/squid/cache
> > Oct 24 11:34:22 kprxy squid[19567]: Loaded Icons.
> > Oct 24 11:34:22 kprxy squid[19567]: commBind: Cannot bind socket FD 21
> > to [::]:22381: (98) Address already in use
> > Oct 24 11:34:22 kprxy squid[19567]: HTCP Disabled.
> > Oct 24 11:34:22 kprxy squid[19567]: Squid plugin modules loaded: 0
> > Oct 24 11:34:22 kprxy squid[19567]: Adaptation support is on
> > Oct 24 11:34:22 kprxy squid[19567]: Ready to serve requests.
> > Oct 24 11:34:22 kprxy squid[19567]: Unable to open HTTP Socket
> > Oct 24 11:34:22 kprxy squid[19120]: Squid Parent: (squid-1) process
> > 19567 exited with status 1
> > Oct 24 11:34:22 kprxy squid[19120]: Squid Parent: (squid-1) process
> > 19567 will not be restarted due to repeated, frequent failures
> > Oct 24 11:34:22 kprxy squid[19120]: Exiting due to repeated, frequent
> > failures
> >
>
> I don't think so.
> Please, post log with the debug features.
>
> Regards.
>

Thanks ! i have found the problem....

in squid 3.1x, my start script to a squid -k reconfigure before
executing the daemon and i was working without any problem.

Now in squid 3.2x, doing a squid -k reconfigure before load and instance
and create a conflict...
Received on Mon Oct 24 2011 - 10:24:36 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 24 2011 - 12:00:03 MDT