https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162015-07-20T19:44:36ZpfSense bugtrackerpfSense Packages - Bug #4857: Cannot install squid3 on pfsense 2.2.3https://redmine.pfsense.org/issues/4857?journal_id=193412015-07-20T19:44:36ZLouis-Philippe Allardlp.allard.1@gmail.com
<ul></ul><p>Other than the multiple errors I dont really understand, I have worked on the two file permission errors:</p>
<ol>
<li>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</li>
</ol>
<p>/var/squid/logs is owned by proxy:proxy and /var/squid/logs/cache.log has some stuff in it (2015/07/20 20:21:16 kid1| Creating missing swap directories)</p>
<ol>
<li>Cannot write log file: /var/log/squid/cache.log /var/log/squid/cache.log: No such file or directory</li>
</ol>
<p>/var/log/squid is owned by proxy:proxy but is totally empty.</p> pfSense Packages - Bug #4857: Cannot install squid3 on pfsense 2.2.3https://redmine.pfsense.org/issues/4857?journal_id=194062015-07-23T18:04:11ZLouis-Philippe Allardlp.allard.1@gmail.com
<ul></ul><p>Reinstalled pfsense from scratch using the config.xml backup I had previously created, and ended up in the same situation.</p>
<p>Then I exported the config piece by piece instead of selecting "ALL" and restricted the restore to the following elements:</p>
<p>aliases<br />dhcpd-config<br />filter-config<br />interfaces<br />nat-config<br />system-config</p>
<p>I then reinstalled pfsense again from scratch and restored the config files above, all seems to be fine now.</p>
<p>I suppose this is due to a bug between the recent squid3 and pfsense releases, the pfsense I kept upgrading for more than a year and a half, and my settings..?</p> pfSense Packages - Bug #4857: Cannot install squid3 on pfsense 2.2.3https://redmine.pfsense.org/issues/4857?journal_id=197462015-07-30T16:49:01ZLouis-Philippe Allardlp.allard.1@gmail.com
<ul></ul><p>I confirm squid3 dies or doesnt work on pfsense 2.2.3</p>
<p>After a few days qwhere everything was running fine, squid seems to have stopped working for no apparent reasons.</p>
<p>The access.log file stopped being populated at the same time squidguard stopped doing its thing.</p>
<p>Now pfsense's logs are populated with</p>
<p>php-fpm<sup><a href="#fn63954">63954</a></sup>: /rc.filter_configure_sync: There was an error while parsing the package filter rules for /usr/local/pkg/squid.inc.</p> pfSense Packages - Bug #4857: Cannot install squid3 on pfsense 2.2.3https://redmine.pfsense.org/issues/4857?journal_id=210112015-09-21T13:11:52ZPhilipp Schmidcom@schmidp.com
<ul></ul><p>I also tried to install squid3 on pfsense 2.2.4, but get this in the logs:</p>
<p>Sep 21 18:06:43 php-fpm<sup><a href="#fn61548">61548</a></sup>: /pkg_mgr_install.php: Beginning package installation for squid3 .<br />Sep 21 18:06:47 check_reload_status: Syncing firewall<br />Sep 21 18:06:55 check_reload_status: Syncing firewall<br />Sep 21 18:06:55 php-fpm<sup><a href="#fn61548">61548</a></sup>: /pkg_mgr_install.php: Stopping any running proxy monitors<br />Sep 21 18:06:56 php-fpm<sup><a href="#fn61548">61548</a></sup>: /pkg_mgr_install.php: Starting Squid<br />Sep 21 18:06:56 php-fpm<sup><a href="#fn61548">61548</a></sup>: /pkg_mgr_install.php: Starting a proxy monitor script<br />Sep 21 18:06:56 check_reload_status: Reloading filter<br />Sep 21 18:06:56 php-fpm<sup><a href="#fn61548">61548</a></sup>: /pkg_mgr_install.php: [Squid] - Squid_resync function call pr: bp: rpc:no<br />Sep 21 18:06:57 squid<sup><a href="#fn9448">9448</a></sup>: Squid Parent: will start 1 kids<br />Sep 21 18:06:57 squid<sup><a href="#fn9448">9448</a></sup>: Squid Parent: (squid-1) process 9569 started<br />Sep 21 18:06:57 check_reload_status: Syncing firewall<br />Sep 21 18:06:58 (squid-1): I don't handle this error well!<br />Sep 21 18:06:58 squid<sup><a href="#fn9448">9448</a></sup>: Squid Parent: (squid-1) process 9569 exited with status 1<br />Sep 21 18:07:01 squid<sup><a href="#fn9448">9448</a></sup>: Squid Parent: (squid-1) process 13226 started<br />Sep 21 18:07:02 (squid-1): I don't handle this error well!<br />Sep 21 18:07:02 squid<sup><a href="#fn9448">9448</a></sup>: Squid Parent: (squid-1) process 13226 exited with status 1<br />Sep 21 18:07:05 squid<sup><a href="#fn9448">9448</a></sup>: Squid Parent: (squid-1) process 13969 started<br />Sep 21 18:07:06 (squid-1): I don't handle this error well!<br />Sep 21 18:07:06 squid<sup><a href="#fn9448">9448</a></sup>: Squid Parent: (squid-1) process 13969 exited with status 1<br />Sep 21 18:07:09 squid<sup><a href="#fn9448">9448</a></sup>: Squid Parent: (squid-1) process 24376 started<br />Sep 21 18:07:10 (squid-1): I don't handle this error well!<br />Sep 21 18:07:10 squid<sup><a href="#fn9448">9448</a></sup>: Squid Parent: (squid-1) process 24376 exited with status 1<br />Sep 21 18:07:13 squid<sup><a href="#fn9448">9448</a></sup>: Squid Parent: (squid-1) process 27913 started<br />Sep 21 18:07:14 (squid-1): I don't handle this error well!<br />Sep 21 18:07:14 squid<sup><a href="#fn9448">9448</a></sup>: Squid Parent: (squid-1) process 27913 exited with status 1<br />Sep 21 18:07:14 squid<sup><a href="#fn9448">9448</a></sup>: Squid Parent: (squid-1) process 27913 will not be restarted due to repeated, frequent failures<br />Sep 21 18:07:14 squid<sup><a href="#fn9448">9448</a></sup>: Exiting due to repeated, frequent failures<br />Sep 21 18:08:01 squid<sup><a href="#fn33410">33410</a></sup>: Squid Parent: will start 1 kids<br />Sep 21 18:08:01 squid<sup><a href="#fn33410">33410</a></sup>: Squid Parent: (squid-1) process 33582 started<br />Sep 21 18:08:01 squid<sup><a href="#fn33410">33410</a></sup>: Squid Parent: (squid-1) process 33582 exited with status 0<br />Sep 21 18:12:37 check_reload_status: Syncing firewall<br />Sep 21 18:12:45 check_reload_status: Syncing firewall<br />Sep 21 18:12:45 check_reload_status: Syncing firewall<br />Sep 21 18:12:45 check_reload_status: Reloading filter<br />Sep 21 18:12:45 check_reload_status: Reloading filter</p> pfSense Packages - Bug #4857: Cannot install squid3 on pfsense 2.2.3https://redmine.pfsense.org/issues/4857?journal_id=210862015-09-22T04:43:05ZKill Bill
<ul></ul><p>I don't think any of these are actual problem with Squid. When you install it, the way the package is written and how's package install process handled by pfSense package manager code itself, it gets (re)started so many times that I'm pretty sure it gets confused and eventually bails out, esp. on slower boxes. Let things settle down, resave the config and then try starting it manually (if it doesn't start itself upon saving config). If it still doesn't work, you at least get relevant errors. The above is just noise resulting from start/restart cycles.</p> pfSense Packages - Bug #4857: Cannot install squid3 on pfsense 2.2.3https://redmine.pfsense.org/issues/4857?journal_id=211272015-09-23T09:02:22ZPhilipp Schmidcom@schmidp.com
<ul></ul><p>I don't even get menu item or service entry for squid, so that I cannot even resave squids config. I guess it happens early in the install process.</p>
<p>The machine has 2% cpu utilisation 4% memory utilisation and dual core atom cpus handling maybe 10 clients (as in laptops and phones).</p>
<p>I will try on a fresh pfsense installation in a virtual machine.</p> pfSense Packages - Bug #4857: Cannot install squid3 on pfsense 2.2.3https://redmine.pfsense.org/issues/4857?journal_id=211282015-09-23T10:05:49ZPhilipp Schmidcom@schmidp.com
<ul></ul><p>If I try to install squid3 via the command line I get the following error:</p>
<p>pfSsh.php playback installpkg "squid3"</p>
<p>Starting the pfSense developer shell....</p>
<p>Installing package "squid3"...<br />Trying to fetch package info... Done.</p>
<p>Beginning package installation for squid3 . 100%<br />Installing squid3 and its dependencies. 100%<br />Warning: include(/usr/local/pkg/squid_reverse.inc): failed to open stream: No such file or directory in /usr/local/pkg/squid.inc on line 1596</p>
<p>Warning: include(): Failed opening '/usr/local/pkg/squid_reverse.inc' for inclusion (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /usr/local/pkg/squid.inc on line 1596<br />Reconfiguring filter... One moment please...</p> pfSense Packages - Bug #4857: Cannot install squid3 on pfsense 2.2.3https://redmine.pfsense.org/issues/4857?journal_id=211292015-09-23T10:16:42ZKill Bill
<ul></ul><p>Yeah, it obviously will never work without the required include file. This is not a place to get support, move to forums.pfsense.org.</p> pfSense Packages - Bug #4857: Cannot install squid3 on pfsense 2.2.3https://redmine.pfsense.org/issues/4857?journal_id=212042015-09-25T18:52:29ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Not a Bug</i></li></ul> pfSense Packages - Bug #4857: Cannot install squid3 on pfsense 2.2.3https://redmine.pfsense.org/issues/4857?journal_id=212252015-09-27T04:45:20ZKill Bill
<ul></ul><p>There are major sanitizations done to package install in <a class="external" href="https://github.com/pfsense/pfsense-packages/pull/1080">https://github.com/pfsense/pfsense-packages/pull/1080</a> (namely <a class="external" href="https://github.com/doktornotor/pfsense-packages/commit/e0bf22a296a66b1bbf35bacd6ad05db8fe930557">https://github.com/doktornotor/pfsense-packages/commit/e0bf22a296a66b1bbf35bacd6ad05db8fe930557</a>). The current state is simply madness, resulting in restarting the services at least 6 times during install.</p>