Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid problems in 2.3

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    17 Posts 4 Posters 7.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      whitexp
      last edited by

      @maverick_slo:

      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

      1 Reply Last reply Reply Quote 0
      • M
        maverick_slo
        last edited by

        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 working

        There is fundamental f**k up in upgrade proccess but nothing that can`t be sorted out.
        HW failure is BS.

        1 Reply Last reply Reply Quote 0
        • M
          maverick_slo
          last edited by

          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?
          1 Reply Last reply Reply Quote 0
          • W
            whitexp
            last edited by

            sorry , my english is very bad , my squid is working normally after i did same comands  a few weeks ago .

            1 Reply Last reply Reply Quote 0
            • M
              maverick_slo
              last edited by

              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?

              1 Reply Last reply Reply Quote 0
              • KOMK
                KOM
                last edited by

                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)

                1 Reply Last reply Reply Quote 0
                • M
                  maverick_slo
                  last edited by

                  Sure I am :)
                  What about squid?

                  1 Reply Last reply Reply Quote 0
                  • KOMK
                    KOM
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • M
                      maverick_slo
                      last edited by

                      I have a site with 10 users at work so… Its not a big thing to upgrade and test off hours :)

                      1 Reply Last reply Reply Quote 0
                      • T
                        thermo
                        last edited by

                        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
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.