Squid problems in 2.3
-
Post your install log here
-
https://forum.pfsense.org/index.php?topic=104037.msg580107#msg580107
https://forum.pfsense.org/index.php?topic=104037.msg580419#msg580419
>>> Installing pfSense-pkg-squid... Checking integrity... done (0 conflicting) The following 14 package(s) will be affected (of 0 checked): New packages to be INSTALLED: pfSense-pkg-squid: 0.4.7 [pfSense] squid_radius_auth: 1.10 [pfSense] squid: 3.5.9_1 [pfSense] krb5: 1.13.2_3 [pfSense] cyrus-sasl: 2.1.26_12 [pfSense] perl5: 5.20.3_8 [pfSense] squidclamav: 6.13 [pfSense] c-icap: 0.3.5_2,2 [pfSense] c-icap-modules: 0.3.2_4 [pfSense] clamav: 0.98.7 [pfSense] unzoo: 4.4_2 [pfSense] arc: 5.21p [pfSense] lha: 1.14i_6 [pfSense] arj: 3.10.22_4 [pfSense] The process will require 75 MiB more space. [1/14] Installing unzoo-4.4_2... [1/14] Extracting unzoo-4.4_2: .. done [2/14] Installing arc-5.21p... [2/14] Extracting arc-5.21p: ...... done [3/14] Installing lha-1.14i_6... [3/14] Extracting lha-1.14i_6: .. done [4/14] Installing arj-3.10.22_4... [4/14] Extracting arj-3.10.22_4: .......... done [5/14] Installing krb5-1.13.2_3... [5/14] Extracting krb5-1.13.2_3: .......... done [6/14] Installing cyrus-sasl-2.1.26_12... *** Updated user `cyrus'. [6/14] Extracting cyrus-sasl-2.1.26_12: .......... done [7/14] Installing perl5-5.20.3_8... [7/14] Extracting perl5-5.20.3_8: pkg: archive_read_extract(): Can't create '/usr/local/lib/perl5/5.20/AnyDBM_File.pm' [7/14] Extracting perl5-5.20.3_8... done [7/14] Deleting files for perl5-5.20.3_8: .......... done >>> Cleaning up cache... done. Success
>>> Installing pfSense-pkg-squid... Checking integrity... done (0 conflicting) The following 12 package(s) will be affected (of 0 checked): New packages to be INSTALLED: pfSense-pkg-squid: 0.4.7 [pfSense] squid_radius_auth: 1.10 [pfSense] squid: 3.5.9_1 [pfSense] krb5: 1.13.2_3 [pfSense] cyrus-sasl: 2.1.26_12 [pfSense] squidclamav: 6.13 [pfSense] c-icap: 0.3.5_2,2 [pfSense] c-icap-modules: 0.3.2_4 [pfSense] clamav: 0.98.7 [pfSense] unzoo: 4.4_2 [pfSense] arc: 5.21p [pfSense] lha: 1.14i_6 [pfSense] The process will require 26 MiB more space. [1/12] Installing unzoo-4.4_2... [1/12] Extracting unzoo-4.4_2: .. done [2/12] Installing arc-5.21p... [2/12] Extracting arc-5.21p: ...... done [3/12] Installing lha-1.14i_6... [3/12] Extracting lha-1.14i_6: .. done [4/12] Installing krb5-1.13.2_3... [4/12] Extracting krb5-1.13.2_3: .......... done [5/12] Installing cyrus-sasl-2.1.26_12... *** Updated user `cyrus'. [5/12] Extracting cyrus-sasl-2.1.26_12: .......... done [6/12] Installing c-icap-0.3.5_2,2... ===> Creating users and/or groups. Using existing group 'c_icap'. Using existing user 'c_icap'. [6/12] Extracting c-icap-0.3.5_2,2: . pkg: archive_read_extract(): Can't create '/usr/local/etc/c-icap/c-icap.conf.sample' [6/12] Extracting c-icap-0.3.5_2,2... done [6/12] Deleting files for c-icap-0.3.5_2,2: .......... done >>> Cleaning up cache... done. Success
-
OK.
1. Go to console and
pkg remove perl5 pkg install perl5
rm -rf /usr/local/etc/c-icap rm -rf /usr/local/include/c_icap rm -rf /usr/local/share/c_icap rm -rf /usr/local/lib/c_icap rm -rf /usr/local/etc/c-icap rm -rf /var/log/squid rm -rf /var/squid/
Install Squid again and post log here.
-
OK.
1. Go to console and
pkg remove perl5 pkg install perl5
rm -rf /usr/local/etc/c-icap rm -rf /usr/local/include/c_icap rm -rf /usr/local/share/c_icap rm -rf /usr/local/lib/c_icap rm -rf /usr/local/etc/c-icap rm -rf /var/log/squid rm -rf /var/squid/
Install Squid again and post log here.
yes man, I did the same things you did, I posted on the forum, so that developers can solve this problem that happens in the update process pfsense 2.2 to 2.3, however no one heard me.
but thanks
-
And yet you say that your squid is not working?
Mine IS working just fine.
1. I don`t have "AnyDBM_File.pm" problem so your issue is not identical to mine
2. perl5 uninstall in console goes OK, but install gives me "makewhatis: not found" error
3. Step to uninstall and reinstall perl from console is CRUCIAL so squid install can move on.
4. It will fil again on icap folders, deleted those and install proceeded
5. Install finished, gave me a bunch of permission related errors on access.log and var/squid folders
6. Uninstalled squid, deleted all folders that were problematic and reinstalled squid.
7. Configure it and run it
8. Squid is workingThere is fundamental f**k up in upgrade proccess but nothing that can`t be sorted out.
HW failure is BS. -
And BTW:
pkg: archive_read_extract(): Can't create '/usr/local/lib/perl5/5.20/AnyDBM_File.pm'this is a permission issue if you ask me.
What is output of
ls -al /usr/local/ | grep lib ```on your machine?
-
sorry , my english is very bad , my squid is working normally after i did same comands a few weeks ago .
-
Ahhh ok then :)
So now we`re 2 people who resolved it on our own :)
Maybe my disk is failing too lol
Good doctor a comment please?
-
I finally upgraded to 2.3 in my production enviroment.
It just went beta a few days ago. You must like to live dangerously 8)
-
Sure I am :)
What about squid? -
What about squid?
No idea. I haven't even installed squid under 2.3. I'm only playing with base functionality at this point. I wouldn't even think of replacing my existing production install until about a month (at least) after 2.3 release.
-
I have a site with 10 users at work so… Its not a big thing to upgrade and test off hours :)
-
Just to help anyone else if they have the same problem, in addition to deleting the list of directories above and re-installing perl, there is an additional directory which I needed to delete to get squid to install
/usr/local/etc/squid
else you might see this in the installation log.
Make sure you have a backup of the configuration before deleting!
>>> Installing pfSense-pkg-squid... ... ===> Pre-installation configuration for squid-3.5.12 [12/15] Extracting squid-3.5.12: ......... pkg: cannot rename //usr/local/etc/squid/errors/zh-cn.Y0q7UeHPChFy to //usr/local/etc/squid/errors/zh-cn: Is a directory [12/15] Extracting squid-3.5.12... done [12/15] Deleting files for squid-3.5.12: .......... done >>> Cleaning up cache... done. Success