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

    Upgrade to pfsense 2.2 ->Installation of squidGuard-squid3 FAILED(for me Solved)

    Scheduled Pinned Locked Moved pfSense Packages
    33 Posts 18 Posters 19.3k 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.
    • X Offline
      xtrgeo
      last edited by

      I know its working on demand,actually it worked this way…

      My question is,after upgrading to 2.2 do we have to reinstall squid 3 and squidguard or they should work right "out of the box"?

      Are these packages suppose to keep their settings?
      Will newely i-cap,clamd should work immediatelly aftrr the upgrade?

      Thnks

      1 Reply Last reply Reply Quote 0
      • marcellocM Offline
        marcelloc
        last edited by

        @xtrgeo:

        My question is,after upgrading to 2.2 do we have to reinstall squid 3 and squidguard or they should work right "out of the box"?

        No, just check config gui tabs just like I've posted before..

        @xtrgeo:

        Will newely i-cap,clamd should work immediatelly aftrr the upgrade?

        You may need to visit antivirus tab to be sure all options are fine for 2.2.

        Check paths on antivirus tab fields, all tests I did on 2.2 were with a clean install.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • X Offline
          xtrgeo
          last edited by

          Οκ,thanks for the informations.

          If anyone has successfully managed to update from 2.1.5 to 2.2 WITH squid3 and squidguard-squid3 installed and packages worked after update,please let us know here because I see many complains on the update procedure foe these packages…

          1 Reply Last reply Reply Quote 0
          • FurryFennecF Offline
            FurryFennec
            last edited by

            @marcelloc:

            Squid3 is working fine on 2.2.

            Check and save each config tab from left to right on squid3 package.

            After setting the option in Advanced to not check SIGs on PBIs, got squidguard installed.

            I can verify that stepping through tabs on squid and squidguard configs and saving each going along, it now works as it did in 2.1.5.

            Thanks marcelloc!

            @xtrgeo:

            If anyone has successfully managed to update from 2.1.5 to 2.2 WITH squid3 and squidguard-squid3 installed and packages worked after update,please let us know here because I see many complains on the update procedure foe these packages…

            No. Settings were still there for squiguard, but had to disable check PBI SIGs to get the package installed. But upgrade did not install squidguard on it's own.

            1 Reply Last reply Reply Quote 0
            • X Offline
              xtrgeo
              last edited by

              @FurryFennec:

              @marcelloc:

              Squid3 is working fine on 2.2.

              Check and save each config tab from left to right on squid3 package.

              After setting the option in Advanced to not check SIGs on PBIs, got squidguard installed.

              I can verify that stepping through tabs on squid and squidguard configs and saving each going along, it now works as it did in 2.1.5.

              Thanks marcelloc!

              @xtrgeo:

              If anyone has successfully managed to update from 2.1.5 to 2.2 WITH squid3 and squidguard-squid3 installed and packages worked after update,please let us know here because I see many complains on the update procedure foe these packages…

              No. Settings were still there for squiguard, but had to disable check PBI SIGs to get the package installed. But upgrade did not install squidguard on it's own.

              Did you have squidguard installed on 2.1.5 and just upgraded? After upgraded you only had to reinstall squidguard or something else also?

              1 Reply Last reply Reply Quote 0
              • M Offline
                Mikegyver42
                last edited by

                @xtrgeo:

                Did you have squidguard installed on 2.1.5 and just upgraded? After upgraded you only had to reinstall squidguard or something else also?

                In my case i had squidguard installed on 2.1.5 and after upgrading to pfsense 2.2 squidguard seems to be not installed and it is impossible to install it.

                1 Reply Last reply Reply Quote 0
                • N Offline
                  n3by
                  last edited by

                  Hello,

                  I have upgraded from 2.1.5 to 2.2 and first I uninstall all the package; after reinstall I have this problems:

                  LightSquid - not working

                  Proxy Squid: Realtime stat (sqstat) help
                  
                  Squid RealTime stat 1.20 for the proxy server (unknown) (192.168.1.1:3128)
                  SqStat error
                  
                  Error (1): Cannot get data. Server answered: HTTP/1.1 403 Forbidden
                  

                  of course log looks like:

                  php-fpm[11421]: /pkg_edit.php: The command 'ln -s /usr/local/bin/perl /usr/bin/perl' returned exit code '1', the output was 'ln: /usr/bin/perl: File exists'
                  

                  probably cause in: /usr/bin perl looks broken at Squid installation - No idea how to fix it, reinstall pkg did not help.
                  Any idea how to manual remote reinstall perl ?

                  and more:

                  I appreciate any help.
                  I have no access to console at this box so I have to do it remote if possible.

                  thank you

                  1 Reply Last reply Reply Quote 0
                  • marcellocM Offline
                    marcelloc
                    last edited by

                    If you need squid itself out of pbi dir, you can install via pkg

                    Please, test it out of production environment.

                    pkg install perl5
                    

                    Treinamentos de Elite: http://sys-squad.com

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      Cino
                      last edited by

                      @marcelloc:

                      If you need squid itself out of pbi dir, you can install via pkg

                      Please, test it out of production environment.

                      pkg install perl5
                      

                      +1 I've open a bug report for this a week or so ago.. but manually installing per5 does the trick.

                      Dont expect sqstat to work if you have ipv6 enabled. The code is very code and doesn't conform to IPv6, only IPv4 addresses. I've noticed this a couple of years ago when I started to used Squid3 (which supports IPv6, just not in the WebGUI).

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        n3by
                        last edited by

                        Thank you for help, my problem was that I tried to do that remote not from pfSense console keyboard and I had no chance because I can't confirm installation when prompt from www.

                        Any way after I bring that pfSense box to my desk and hooked to monitor and keyboard and installed perl I was still unable to use LightSquid because of some other errors.

                        In the end all was messed and squid did not worked any more; I reinstall a clean 2.2 from CD but after full 2.2 config restore I saved before at first boot pfSense 2.2 freeze.  ::)

                        I reinstalled new 2.1.5 with latest 2.1.5 config saved and all it is working now.

                        No more 2.2 upgrading - testing for the moment I already lost 48h of my life with this new version… I have to sleep now. 8)

                        1 Reply Last reply Reply Quote 0
                        • F Offline
                          foresthus
                          last edited by

                          I installed 2.1.5 again because of the problems are not solved

                          :(

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            aityahiaidir
                            last edited by

                            i have solved problem see this topic :

                            https://forum.pfsense.org/index.php?topic=87379.0

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              moh10ly
                              last edited by

                              I solved it too, check out the fix by snapshots.
                              http://www.moh10ly.com/blog/pfsense/package-installation-issue

                              Power is Knowledge.

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                Steve Evans
                                last edited by

                                Hi aityahiaidir and moh10ly,

                                You both did this the hard way.

                                Under System/Advanced under the Miscellaneous tab you'll find the attached. Just hit the checkbox and try the install again.

                                Steve

                                ![Screen Shot 2015-01-25 at 20.41.43.png](/public/imported_attachments/1/Screen Shot 2015-01-25 at 20.41.43.png)
                                ![Screen Shot 2015-01-25 at 20.41.43.png_thumb](/public/imported_attachments/1/Screen Shot 2015-01-25 at 20.41.43.png_thumb)

                                1 Reply Last reply Reply Quote 0
                                • E Offline
                                  edanpedragosa
                                  last edited by

                                  The squid squidguard install problem also happened on my server and here's what I did to resolve the issue:

                                  1. Went to System | Advanced | Miscellaneous and scrolled down to the end of the page and ticked
                                  Do NOT check package signature
                                  Enable this option to allow pfSense to install any package without checking its signature.

                                  2. Reinstall Squid3, then squidguard-squid3

                                  3. Re-downloaded blacklists from my previous source.

                                  4. Saved and applied configuration

                                  5. Squid and Squidguard is back to working condition.

                                  I'm still checking what happened to the Captive Portal as it does not seem to work now…

                                  Just sharing...

                                  1 Reply Last reply Reply Quote 0
                                  • marcellocM Offline
                                    marcelloc
                                    last edited by

                                    You mean captive portal itself or squid  package integration with captive?

                                    Treinamentos de Elite: http://sys-squad.com

                                    Help a community developer! ;D

                                    1 Reply Last reply Reply Quote 0
                                    • E Offline
                                      edanpedragosa
                                      last edited by

                                      No, Captive Portal is a separate issue with the 2.2 upgrade.

                                      It seems that it no longer works on my setup.

                                      1 Reply Last reply Reply Quote 0
                                      • X Offline
                                        xtrgeo
                                        last edited by

                                        I finally managed to make squidguard an squid 3 to work after the upgrade.

                                        So, for those having problem when upgrading from 2.1.5 to 2.2 with squid3 and squidguard3 installed:

                                        1. After the updtae finishes, squid and squidguard does not start.

                                        2. Uninstall both packages (don't worry,settings are not lost)

                                        3. Reinstall squid3 and squidguard

                                        4. If clamd service looks disable, try to run on command promt  freshclam

                                        5 .This should update clam database and enable the service. It might need some minutes for the service to appear as running.

                                        6. If you are behind a proxy you have to manually edit the file /usr/pbi/squid-amd64/local/etc/freshclam.conf and write there your proxy ip and port

                                        7. After all that you have to update the blacklist database of squidguard in case of having one

                                        8. Finally follow the instructions of marcello and go through every tab from left to right in both squid and squidguard, by pressing save to each.

                                        9. Take care of the paths in antivirus tab in squid! In file squidclamav.conf and c-icap.conf

                                        That's how it worked for me!

                                        As for lightsquid, it work with the directions of this post  https://forum.pfsense.org/index.php?topic=86584.msg474777#msg474777

                                        But the problem with sqstat remains…

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          aityahiaidir
                                          last edited by

                                          @Steve:

                                          Hi aityahiaidir and moh10ly,

                                          You both did this the hard way.

                                          Under System/Advanced under the Miscellaneous tab you'll find the attached. Just hit the checkbox and try the install again.

                                          Steve

                                          thanks for the tip, it's good knowledge

                                          1 Reply Last reply Reply Quote 0
                                          • F Offline
                                            foresthus
                                            last edited by

                                            Thnx 4 the instructions. I will try it out this week and will leave my results here.

                                            cu soon

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.