Squid service not starting on 1.2.3
-
I have a newly installed 1.2.3 PfSense on an old PC, and squid package is installed.
Status > Services shows squid is stopped. And it won't start if I click start here.
On installed package, version information shows:
Current: Unknown.
Installed: 2.7.9 pkg v.4.3.1When I click on Services > Proxy Server I will get:
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
Any idea what happened? If possible I would like to stick with 1.2.3
-
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.
-
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!
If all else failed, I will have to update all my pfsenses to 2.0!
-
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 @_@
-
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!
The problem is the package update for pfsense 2.1.
change on squid.inc file lines 42 to 46 from this:
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")); }
To this:
$pf_version=substr(trim(file_get_contents("/etc/version")),0,3); if ($pf_version > 2.0) define('SQUID_LOCALBASE', '/usr/pbi/squid-' . php_uname("m")); else define('SQUID_LOCALBASE','/usr/local');
Test if it works on your 1.2.3 and feedback.
If all else failed, I will have to update all my pfsenses to 2.0!
Good, pfsense 1.2.3 has security issues reported (freebsd ssh IIRC)
-
Test if it works on your 1.2.3 and feedback.
Tested and,
Yes it works, Status: Services now shows Squid is running green and I can finally see Proxy server: General settings page now!
Thanks.
May I know more details about the security issues?