Bug #5506
closed
Gateway restart stops service and does not restart Squid
Added by Walt McDonald about 9 years ago.
Updated almost 8 years ago.
Affected Architecture:
i386
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.
- 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
This is not a Squid package issue, guys.
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
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.
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!
Please close this. With Squid disabled, it won't ever start, let alone automatically restart.
- Status changed from New to Closed
Also available in: Atom
PDF