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

    Squid+Squidguard Broken after 2.3 update

    Scheduled Pinned Locked Moved Cache/Proxy
    33 Posts 17 Posters 18.1k 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.
    • V
      Visseroth
      last edited by

      @javcasta:

      Hello.

      https://forum.pfsense.org/index.php?topic=109733.msg610994#msg610994

      Ok after a couple of different methods to try and make it  work, uploading tar file, ungz , untar, create and delete folder, move thing s around,

      Frustrated I went to my original backup before updating to 2.3, restored it, enabled squid.

      And heres the magic, it appears I have to spam the download button (5+ clicks under 2 secs) in squidGuard>Blacklist>Download and tada, it started working.

      Hope this might help anyone with this specific problem,

      Cheers

      Its ok for me the "magic click" :)

      Thanks vagrant00

      Regards.

      Worked for me! Thanks!

      1 Reply Last reply Reply Quote 0
      • D
        dannyb2100
        last edited by

        @Rickinfl:

        I have 5 Pfsense Boxes running just basics with Squid and SquidGuard. I had the same issue with upgrading.  Here is what I did to fix it.

        1. Uninstall both packages.
        2. ssh into console

        Delete these folders. ( I had to do rm -rf )

        rm  /var/squid
        rm  /var/squidGuard
        rm  /logs/squid
        rm  /logs/squidGuard

        3. Reboot
        4. Install Squid
        5. Install SquidGuard
        6. Reboot

        Everything worked after that. All my settings were in tact and blacklist download worked. I tried reinstalling and it didn't work. I'm thinking there is a folder permission issue and by removing it all and deleting the folders it allows squid and squidguard to install fresh and set folder permissions correct. I always reboot anything to make sure it loads fresh and I don't get any surprises if later down the road when it doesn't boot up and by then I forgot what I did.

        BTW. I use Squid and SquidGuard HEAVY. I have whitelist, blacklist, ACL's everywhere Groups, Common, Target Categories. All my settings fell right back in.

        Worked for me. Thanks for this :)

        1 Reply Last reply Reply Quote 0
        • D
          davorin
          last edited by

          Hmm..nothing works for me running on 2.3.1_p5

          Removed the directories after deinstalling squidGuard…rebooted, reinstalled...just stops immediately when enabling:

          07.07.2016 18:15:17	squidGuard stopped (1467908117.824)
          07.07.2016 18:15:17	db update done
          07.07.2016 18:15:17	squidGuard 1.4 started (1467908117.813)
          

          I might try a fresh installation on a spare pcengine gateway…

          1 Reply Last reply Reply Quote 0
          • V
            Visseroth
            last edited by

            I've managed to make it work on all my machines by deleting the /var/squid/cache folder contents (rm -R /var/squid/cache/*) and then re-creating the folders with squid -z
            Sometimes removing everything in the cache and then reinstalling squid and squidguard then running squid -z works. Be sure to check your system logs for errors.

            1 Reply Last reply Reply Quote 0
            • B
              bonzi
              last edited by

              @Rickinfl:

              I have 5 Pfsense Boxes running just basics with Squid and SquidGuard. I had the same issue with upgrading.  Here is what I did to fix it.

              1. Uninstall both packages.
              2. ssh into console

              Delete these folders. ( I had to do rm -rf )

              rm  /var/squid
              rm  /var/squidGuard
              rm  /logs/squid
              rm  /logs/squidGuard

              3. Reboot
              4. Install Squid
              5. Install SquidGuard
              6. Reboot

              Thanks this got it up and going for me as well. Interestingly this also seems to have solved the problems I was also having with the webgui crashing with 502/504 errors.

              1 Reply Last reply Reply Quote 0
              • B
                Bentley
                last edited by

                I'm new to pfsense how do I get in to ssh console

                1 Reply Last reply Reply Quote 0
                • V
                  Visseroth
                  last edited by

                  There is a command option under diagnostics. When you execute a command let it complete before giving it a new command.

                  1 Reply Last reply Reply Quote 0
                  • B
                    Bentley
                    last edited by

                    When I try to delete log for squid or squid guard it says access denied what aim I doing wrong or what can I do to delete the logs for squid and squid guard

                    1 Reply Last reply Reply Quote 0
                    • V
                      Visseroth
                      last edited by

                      First make sure the package is no longer installed and then…

                      chmod -R 777 /var/squid
                      rm -R /var/squid

                      1 Reply Last reply Reply Quote 0
                      • B
                        Bentley
                        last edited by

                        Yo got'er going thanks a lot got squidguard started
                        PS any-recommendation on how to block YouTube.com the  easyway or simpleway it's eating up my banwith Iam giving out 30 ip addresses can I slow them down

                        1 Reply Last reply Reply Quote 0
                        • V
                          Visseroth
                          last edited by

                          I'd look into using pfblocker for that and/or block it via DNS

                          1 Reply Last reply Reply Quote 0
                          • B
                            Bentley
                            last edited by

                            Thanks  :

                            1 Reply Last reply Reply Quote 0
                            • Kalle13K
                              Kalle13
                              last edited by

                              @vagrant00:

                              Ok after a couple of different methods to try and make it  work, uploading tar file, ungz , untar, create and delete folder, move thing s around,

                              Frustrated I went to my original backup before updating to 2.3, restored it, enabled squid.

                              And heres the magic, it appears I have to spam the download button (5+ clicks under 2 secs) in squidGuard>Blacklist>Download and tada, it started working.

                              Hope this might help anyone with this specific problem,

                              Cheers

                              It worked! :D
                              You saved me a lot of time.
                              Thank you!

                              Cheers

                              "Jeder kocht mit Wasser, man kann das Binsenweisheit nenn`. Der unterschied zu dir ist, dass wir zwei kochen könn`"

                              • Kinderzimmer Productions
                              1 Reply Last reply Reply Quote 0
                              • A
                                aleks-nl5
                                last edited by

                                @vagrant00:

                                Ok after a couple of different methods to try and make it  work, uploading tar file, ungz , untar, create and delete folder, move thing s around,

                                Frustrated I went to my original backup before updating to 2.3, restored it, enabled squid.

                                And heres the magic, it appears I have to spam the download button (5+ clicks under 2 secs) in squidGuard>Blacklist>Download and tada, it started working.

                                Hope this might help anyone with this specific problem,

                                Cheers

                                Thx!

                                1 Reply Last reply Reply Quote 0
                                • O
                                  ogpfsense
                                  last edited by

                                  hi

                                  my box stopped the services squid and squidguard
                                  i dont errase just ….

                                  i do the nest script into ssh commands

                                  My problems is gone after this steps:

                                  mv /var/squid/cache /var/squid/cache.old
                                  squid -z
                                  rm -rf /var/squid/cache.old

                                  thanks sir

                                  ver
                                  squid 0 4 37
                                  and
                                  squidguard1 16 2

                                  thanks a lot to all you for your effort.... i have running my fw aggan working

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