Squid3 on Transparent HTTP proxy dont work
-
did your try deleting the squid cache?
In ssh option 8
cd /var/squid/cache
rm -rf *
squid -z -
did your try deleting the squid cache?
cd /var/squid/cache rm -rf * squid -z
yes i try
i know this commandcat /var/squid/logs/cache.log
give me this
2015/09/01 08:00:02| pinger: Initialising ICMP pinger ... 2015/09/01 08:00:02| icmp_sock: (1) Operation not permitted 2015/09/01 08:00:02| pinger: Unable to start ICMP pinger. 2015/09/01 08:00:02| icmp_sock: (1) Operation not permitted 2015/09/01 08:00:02| pinger: Unable to start ICMPv6 pinger. 2015/09/01 08:00:02| FATAL: pinger: Unable to open any ICMP sockets. 2015/09/01 08:03:23 kid1| WARNING: Creating /var/squid/cache/00/04 2015/09/01 08:07:23 kid1| WARNING: Creating /var/squid/cache/00/05
cat /var/squid/logs/access.log
didnt give anything
-
OK, cache.log shows it created the cache structure. Your system seems to be totally loaded with various packages. Unless this is a production firewall, you might want to try removing some of the extra packages and then try again with just Squid3.
-
There are fewer packages on 2.2.4
from the Packages that were on 2.1.5
squid
snort
Sarg
Avahi
Check_mk agent
pfBlockerNG
Service Watchdog
arpwatchit is an old computer that i use for pfsense
-
As finicky as Squid can be, I've never had the kind of ongoing issues that you seem to have. That's why I suggested blowing it all up and starting off fresh, one thing at a time. I had my own issues last Friday when trying to go from 0.2.8 to 0.2.9. Nothing worked after the upgrade. Good thing for me I'm virtual and I just rolled back to the good config.
-
I would try it
I will make an image of the hard disk firstI would give it another week
If I do not succeed
Then I will format -
I had my own issues last Friday when trying to go from 0.2.8 to 0.2.9. Nothing worked after the upgrade.
I found that after an upgrade I need to delete the squid cache or else webpages will not load (took me awhile to work out that was the issue).
-
It's the first thing I tried
Usually
When the machine is turned off in a disjointed fashionThen squid causing problems
Then I do what you said
cd /var/squid/cache
rm -rf *
squid -z -
I agree with KOM, maybe its time for a format and reinstall.
-
I found that after an upgrade I need to delete the squid cache or else webpages will not load
Thanks. My next maintenance window is this Friday night. I'll try it again after whacking the cache structure.