Project

General

Profile

Actions

Bug #4857

closed

Cannot install squid3 on pfsense 2.2.3

Added by Louis-Philippe Allard almost 9 years ago. Updated over 8 years ago.

Status:
Not a Bug
Priority:
Very High
Assignee:
-
Category:
-
Target version:
-
Start date:
07/20/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

I have tried migrating from squid2 to squid3 because I was having issues with squid2 and package repos, and trying to install squid3 it seems not to work. After package is installed, I see a lot of errors in the system logs:

Jul 21 00:22:14 php-fpm49674: /rc.filter_configure_sync: SQUID is installed but not started. Not installing "filter" rules.
Jul 21 00:22:14 php-fpm49674: /rc.filter_configure_sync: SQUID is installed but not started. Not installing "pfearly" rules.
Jul 21 00:22:14 php-fpm49674: /rc.filter_configure_sync: SQUID is installed but not started. Not installing "nat" rules.
Jul 21 00:22:12 check_reload_status: Reloading filter
Jul 20 20:22:12 Squid_Alarm34082: Reconfiguring filter...
Jul 20 20:22:09 Squid_Alarm32631: Attempting restart...
Jul 20 20:22:09 Squid_Alarm32309: Squid has exited. Reconfiguring filter.
Jul 20 20:21:23 squid40783: Exiting due to repeated, frequent failures
Jul 20 20:21:23 squid40783: Squid Parent: (squid-1) process 12963 will not be restarted due to repeated, frequent failures
Jul 20 20:21:23 squid40783: Squid Parent: (squid-1) process 12963 exited with status 1
Jul 20 20:21:23 (squid-1): Cannot open '/var/squid/logs/access.log' for writing. The parent directory must be writeable by the user 'proxy', which is the cache_effective_user set in squid.conf.
Jul 20 20:21:23 squid40783: Squid Parent: (squid-1) process 12963 started
Jul 20 20:21:20 squid40783: Squid Parent: (squid-1) process 12307 exited with status 1
Jul 20 20:21:20 (squid-1): Cannot open '/var/squid/logs/access.log' for writing. The parent directory must be writeable by the user 'proxy', which is the cache_effective_user set in squid.conf.
Jul 20 20:21:20 squid40783: Squid Parent: (squid-1) process 12307 started
Jul 21 00:21:19 php-fpm73214: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc.
Jul 21 00:21:19 php-fpm73214: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:55: syntax error'
Jul 21 00:21:19 php-fpm73214: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc.
Jul 21 00:21:19 php-fpm73214: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:56: syntax error'
Jul 21 00:21:18 php-fpm49674: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc.
Jul 21 00:21:18 php-fpm49674: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:55: syntax error'
Jul 21 00:21:18 php-fpm49674: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc.
Jul 21 00:21:18 php-fpm49674: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:56: syntax error'
Jul 21 00:21:17 php-fpm73214: /pkg_mgr_install.php: Successfully installed package: squid3.
Jul 21 00:21:17 check_reload_status: Syncing firewall
Jul 20 20:21:17 squid40783: Squid Parent: (squid-1) process 92542 exited with status 1
Jul 20 20:21:17 (squid-1): Cannot open '/var/squid/logs/access.log' for writing. The parent directory must be writeable by the user 'proxy', which is the cache_effective_user set in squid.conf.
Jul 21 00:21:17 check_reload_status: Reloading filter
Jul 21 00:21:17 php-fpm73214: /pkg_mgr_install.php: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf' returned exit code '1', the output was 'squid: ERROR: No running copy'
Jul 20 20:21:17 squid40783: Squid Parent: (squid-1) process 92542 started
Jul 21 00:21:17 php-fpm73214: /pkg_mgr_install.php: Reloading Squid for configuration sync
Jul 21 00:21:17 php-fpm73214: /pkg_mgr_install.php: Squid - Missing /var/db/clamav/*.cvd or .cld files. Running freshclam on background.
Jul 21 00:21:16 php-fpm73214: /pkg_mgr_install.php: [Squid] - Squid_resync function call pr:1 bp: rpc:no
Jul 21 00:21:16 check_reload_status: Reloading filter
Jul 21 00:21:16 php-fpm73214: /pkg_mgr_install.php: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf' returned exit code '1', the output was 'squid: ERROR: No running copy'
Jul 21 00:21:16 php-fpm73214: /pkg_mgr_install.php: Reloading Squid for configuration sync
Jul 20 20:21:16 squid68495: Squid Parent: (squid-1) process 68634 exited with status 0
Jul 20 20:21:15 squid68495: Squid Parent: (squid-1) process 68634 started
Jul 20 20:21:15 squid68495: Squid Parent: will start 1 kids
Jul 21 00:21:15 php-fpm73214: /pkg_mgr_install.php: The command '/usr/pbi/squid-amd64/sbin/squid -k kill -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf' returned exit code '1', the output was 'squid: ERROR: No running copy'
Jul 20 20:21:14 squid40783: Squid Parent: (squid-1) process 60547 exited with status 1
Jul 20 20:21:14 (squid-1): Cannot open '/var/squid/logs/access.log' for writing. The parent directory must be writeable by the user 'proxy', which is the cache_effective_user set in squid.conf.
Jul 20 20:21:13 squid40783: Squid Parent: (squid-1) process 60547 started
Jul 21 00:21:11 php-fpm73633: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc.
Jul 21 00:21:11 php-fpm73633: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:55: syntax error'
Jul 21 00:21:11 php-fpm73633: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc.
Jul 21 00:21:11 php-fpm73633: /rc.filter_configure_sync: The command '/sbin/pfctl -nf /tmp/rules.test.packages' returned exit code '1', the output was '/tmp/rules.test.packages:56: syntax error'
Jul 20 20:21:10 squid40783: Squid Parent: (squid-1) process 40863 exited with status 1
Jul 20 20:21:10 (squid-1): I don't handle this error well!
Jul 21 00:21:10 php-fpm73214: /pkg_mgr_install.php: Creating squid cache subdirs in /var/squid/cache
Jul 21 00:21:10 php-fpm73214: /pkg_mgr_install.php: Squid - Missing /var/db/clamav/
.cvd or *.cld files. Running freshclam on background.
Jul 21 00:21:10 check_reload_status: Syncing firewall
Jul 20 20:21:09 squid40783: Squid Parent: (squid-1) process 40863 started
Jul 20 20:21:09 squid40783: Squid Parent: will start 1 kids
Jul 21 00:21:09 php-fpm73214: /pkg_mgr_install.php: [Squid] - Squid_resync function call pr: bp: rpc:no
Jul 21 00:21:09 check_reload_status: Reloading filter
Jul 21 00:21:09 php-fpm73214: /pkg_mgr_install.php: Starting a proxy monitor script
Jul 21 00:21:09 php-fpm73214: /pkg_mgr_install.php: Starting Squid
Jul 20 20:21:09 squid35573: Squid Parent: (squid-1) process 35923 exited with status 0
Jul 20 20:21:09 squid35573: Squid Parent: (squid-1) process 35923 started
Jul 20 20:21:09 squid35573: Squid Parent: will start 1 kids
Jul 21 00:21:09 php-fpm73214: /pkg_mgr_install.php: The command '/usr/pbi/squid-amd64/sbin/squid -k kill -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf' returned exit code '1', the output was 'WARNING: Cannot write log file: /var/log/squid/cache.log /var/log/squid/cache.log: No such file or directory messages will be sent to 'stderr'. 2015/07/20 20:21:09| Set Current Directory to /var/squid/cache squid: ERROR: No running copy'
Jul 21 00:21:04 php-fpm73214: /pkg_mgr_install.php: Creating squid cache subdirs in /var/squid/cache
Jul 21 00:21:03 php-fpm73214: /pkg_mgr_install.php: Stopping any running proxy monitors
Jul 20 20:21:03 squid23513: Squid Parent: (squid-1) process 23904 exited with status 0
Jul 20 20:21:02 squid23513: Squid Parent: (squid-1) process 23904 started
Jul 20 20:21:02 squid23513: Squid Parent: will start 1 kids
Jul 21 00:21:02 php-fpm73214: /pkg_mgr_install.php: The command '/usr/pbi/squid-amd64/sbin/squid -k kill -f /usr/pbi/squid-amd64/local/etc/squid/squid.conf' returned exit code '1', the output was 'WARNING: Cannot write log file: /var/log/squid/cache.log /var/log/squid/cache.log: No such file or directory messages will be sent to 'stderr'. 2015/07/20 20:21:02| Set Current Directory to /var/squid/cache squid: ERROR: No running copy'
Jul 21 00:20:57 php-fpm73214: /pkg_mgr_install.php: Creating squid cache subdirs in /var/squid/cache
Jul 21 00:20:57 php-fpm73214: /pkg_mgr_install.php: Creating Squid cache dir /var/squid/cache
Jul 21 00:20:57 check_reload_status: Syncing firewall
Jul 21 00:20:28 check_reload_status: Syncing firewall
Jul 21 00:20:27 php-fpm73214: /pkg_mgr_install.php: Beginning package installation for squid3 .

Actions

Also available in: Atom PDF