Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Squid
Target version:
-
Start date:
11/20/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
All
Affected Plus Version:
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.

Actions #1

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
Actions #2

Updated by Kill Bill about 9 years ago

This is not a Squid package issue, guys.

Actions #3

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

Actions #4

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.

Actions #5

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!

Actions #6

Updated by Kill Bill almost 8 years ago

Please close this. With Squid disabled, it won't ever start, let alone automatically restart.

Actions #7

Updated by Jim Pingle almost 8 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF