Bug #5506
closedGateway restart stops service and does not restart Squid
0%
Description
Hi
Gateway is no longer active (in this case connected via PPPoE)
Service (squid) stops
Gateway becomes active
Service does not start (has to be manually restarted)
Web GUI has message:
"PF was wedged/busy and has been reset"
In the case of Squid stopping after gateway is inactive log shows:
php-fpm: /rc.filter_configure_sync: [squid] Installed but disabled. Not installing '[_insert rule name_]' rules.
Updated by Chris Buechler about 9 years ago
- Project changed from pfSense to pfSense Packages
- Subject changed from Gateway restart stops service and does not restart (Squid service and possibly others) to Gateway restart stops service and does not restart Squid
- Category changed from Gateways to Squid
- Affected Version changed from 2.2.5 to All
Updated by Kill Bill about 9 years ago
And FWIW, there's even a watchdog script that checks whether Squid is running every minute and restarts it if needed.
$ ps auxw | grep '[s]qpmon' root 66533 0.0 0.0 17136 712 - S Wed10AM 0:03.68 /bin/sh /usr/local/pkg/sqpmon.sh
Updated by Walt McDonald about 9 years ago
I've seen other services like ntp go off and come back online before but I checked back at least 30 mins later and squid was still off - had to start manually.
Updated by Kill Bill about 9 years ago
Well yes, if you stop the package, the watchdog gets stopped as well. And on another note: looks like you did not enable Squid at all, according to the log message. Dunno what exactly you expect to be running with the proxy disabled. Go to General tab and tick the Enable Squid Proxy checkbox!
Updated by Kill Bill about 8 years ago
Please close this. With Squid disabled, it won't ever start, let alone automatically restart.