On Wed 22 Apr 2015 06:33:04 NZST +1200, David White wrote:

> Looking at system logs, this is the last error message seen:
> php-fpm[26563]: /pkg_edit.php: The command '/usr/pbi/squid-amd64/sbin/squid
> -k reconfigure' returned exit code '1', the output was '2015/04/21
> 18:22:30| parseConfigFile: squid.conf:69 unrecognized: 'url_rewrite_bypass'
> squid: ERROR: No running copy'

Yeah I can explain precisely why this error is happening. With some
version (3.0 I guess) some directives changed name, including that one.
The pfsense squidguard package injects directives into the squid config
to integrate itself into squidguard. Unfortunately the php code is crude
and doesn't check the squid version.

This was for pfsense 2.1:
Bug #4243: Last squidguard update prevents squid from starting
https://redmine.pfsense.org/issues/4243#change-16816

The current squidguard has acquired a version test
(/usr/local/pkg/squidguard_configurator.inc) but it tests the pfsense
version, not the squid version.

Also you may have leftover crud from a previous squidguard in the squid
config if you upgraded.

Do this:
* services->proxy server->general, clear out the "Integrations" input
  box completely (except of course anything you put there yourself). Save.
* services->proxy filter:
  - Blacklist: update
  - General: apply config(!!!! critical)

This should tidy up your squid and squidguard.

Possibly you have pfsense packages that don't work on your pfsense
version.
I use squid3 3.4.10_2 pkg 0.2.8, squidGuard 1.4_7 pkg v.1.9.14 and they
work. Well, whatever definition of "work". Squidguard itself is buggy in
places, and the squid + squidguard pfsense packages look like not having
enough devlopers. I don't know how well squidGuard-devel 1.5 works.
squid(3?)-devel has gone (good, there were too many confusing packages).

HTH,

Volker

-- 
Volker Kuhlmann                 is list0570 with the domain in header.
http://volker.top.geek.nz/      Please do not CC list postings to me.
_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Reply via email to