<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Squid service not starting on 1.2.3]]></title><description><![CDATA[<p dir="auto">I have a newly installed 1.2.3 PfSense on an old PC, and squid package is installed.</p>
<p dir="auto">Status &gt; Services shows squid is stopped. And it won't start if I click start here.</p>
<p dir="auto">On installed package, version information shows:</p>
<blockquote>
<p dir="auto">Current: Unknown.<br />
Installed: 2.7.9 pkg v.4.3.1</p>
</blockquote>
<p dir="auto">When I click on Services &gt; Proxy Server I will get:</p>
<blockquote>
<p dir="auto">Warning: dir(/usr/pbi/squid-i386/etc/squid/errors/): failed to open dir: No such file or directory in /etc/inc/pfsense-utils.inc on line 1699 Fatal error: Call to a member function on a non-object in /etc/inc/pfsense-utils.inc on line 1700</p>
</blockquote>
<p dir="auto">Any idea what happened? If possible I would like to stick with 1.2.3</p>
]]></description><link>https://forum.netgate.com/topic/48712/squid-service-not-starting-on-1-2-3</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 14:02:42 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/48712.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Sep 2012 07:43:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Squid service not starting on 1.2.3 on Thu, 20 Sep 2012 03:14:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marcelloc">@<bdi>marcelloc</bdi></a>:</p>
<blockquote>
<p dir="auto">Test if it works on your 1.2.3 and feedback.</p>
</blockquote>
<p dir="auto">Tested and,</p>
<p dir="auto">Yes it works, <strong>Status: Services</strong> now shows Squid is running green and I can finally see <strong>Proxy server: General settings</strong> page now!</p>
<p dir="auto">Thanks.</p>
<p dir="auto">May I know more details about the security issues?</p>
]]></description><link>https://forum.netgate.com/post/356774</link><guid isPermaLink="true">https://forum.netgate.com/post/356774</guid><dc:creator><![CDATA[rexis]]></dc:creator><pubDate>Thu, 20 Sep 2012 03:14:46 GMT</pubDate></item><item><title><![CDATA[Reply to Squid service not starting on 1.2.3 on Wed, 19 Sep 2012 14:34:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rexis">@<bdi>rexis</bdi></a>:</p>
<blockquote>
<p dir="auto">I noticed that there have been changes on the squid package from time to time, but at least it still works on 1.2.3 just 4 months back!</p>
</blockquote>
<p dir="auto">The problem is the package update for pfsense 2.1.</p>
<p dir="auto">change on squid.inc file lines 42 to 46 from this:</p>
<pre><code>if (substr(trim(file_get_contents("/etc/version")),0,3) == "2.0") {
	define('SQUID_LOCALBASE','/usr/local');
} else {
	define('SQUID_LOCALBASE', '/usr/pbi/squid-' . php_uname("m"));
}
</code></pre>
<p dir="auto">To this:</p>
<pre><code>$pf_version=substr(trim(file_get_contents("/etc/version")),0,3);
if ($pf_version &gt; 2.0)
	define('SQUID_LOCALBASE', '/usr/pbi/squid-' . php_uname("m"));
else
  define('SQUID_LOCALBASE','/usr/local');

</code></pre>
<p dir="auto">Test if it works on your 1.2.3 and feedback.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rexis">@<bdi>rexis</bdi></a>:</p>
<blockquote>
<p dir="auto">If all else failed, I will have to update all my pfsenses to 2.0!</p>
</blockquote>
<p dir="auto">Good, pfsense 1.2.3 has security issues reported (freebsd ssh IIRC)</p>
]]></description><link>https://forum.netgate.com/post/356672</link><guid isPermaLink="true">https://forum.netgate.com/post/356672</guid><dc:creator><![CDATA[marcelloc]]></dc:creator><pubDate>Wed, 19 Sep 2012 14:34:50 GMT</pubDate></item><item><title><![CDATA[Reply to Squid service not starting on 1.2.3 on Wed, 19 Sep 2012 09:13:27 GMT]]></title><description><![CDATA[<p dir="auto">Duh… I guess the question now is anyway I can get the previous version of squid package? I feel rather happy with 1.2.3 @_@</p>
]]></description><link>https://forum.netgate.com/post/356636</link><guid isPermaLink="true">https://forum.netgate.com/post/356636</guid><dc:creator><![CDATA[rexis]]></dc:creator><pubDate>Wed, 19 Sep 2012 09:13:27 GMT</pubDate></item><item><title><![CDATA[Reply to Squid service not starting on 1.2.3 on Wed, 19 Sep 2012 08:35:32 GMT]]></title><description><![CDATA[<p dir="auto">I noticed that there have been changes on the squid package from time to time, but at least it still works on 1.2.3 just 4 months back!</p>
<p dir="auto">If all else failed, I will have to update all my pfsenses to 2.0!</p>
]]></description><link>https://forum.netgate.com/post/356633</link><guid isPermaLink="true">https://forum.netgate.com/post/356633</guid><dc:creator><![CDATA[rexis]]></dc:creator><pubDate>Wed, 19 Sep 2012 08:35:32 GMT</pubDate></item><item><title><![CDATA[Reply to Squid service not starting on 1.2.3 on Wed, 19 Sep 2012 08:23:35 GMT]]></title><description><![CDATA[<p dir="auto">1.2.3 packages haven't been maintained in quite some time. There have likely been some changes in Squid's files since then that are PHP 5 dependent. You shouldn't be running 1.2.3 anymore regardless.</p>
]]></description><link>https://forum.netgate.com/post/356629</link><guid isPermaLink="true">https://forum.netgate.com/post/356629</guid><dc:creator><![CDATA[cmb]]></dc:creator><pubDate>Wed, 19 Sep 2012 08:23:35 GMT</pubDate></item></channel></rss>