February 2011
Intermediate to advanced
332 pages
9h 3m
English
This error can be fixed by running the following command:
squid -z
This should be run every time we add new swap directories or modify the existing cache_dir lines in our configuration file. If we run Squid after running the previous command, everything will be fine.
We learned that we should run Squid with the -z option whenever we make changes to the Squid cache directories, so that Squid can create swap directories properly.
Another commonly encountered error is Address already in use, Cannot bind socket, or Cannot open HTTP port, shown as follows:
2010/11/10 01:04:20| commBind: Cannot bind socket FD 16 to [::]:8080: (98) Address already in use FATAL: Cannot open ...
Read now
Unlock full access