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

    [Solved] Issue installing squid and squid guard

    Scheduled Pinned Locked Moved pfSense Packages
    12 Posts 5 Posters 3.4k 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.
    • D
      dolomite792
      last edited by

      Good Afternoon

      I'm running PFsense 2.2 and I just tried installing squid 2 and squid guard for squid 2 and sadly there are no new service entries such as "Proxy Server" after installing squid.  I checked the installed packages entries and it shows both packages are installed.

      What should I do to be able to use these packages?

      Assistance greatly appreciated.

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

        Here's an update

        I just rebooted the machine and it showed both packages were installed.  Now that I checked the packages again a few minutes later squid was now missing from the list of installed packages.

        What the hell?  That is very very strange.

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

          Here's what the system log says:

          Jan 27 12:57:44 php-fpm[50456]: /rc.start_packages: Beginning package installation for squid .
          Jan 27 12:58:10 check_reload_status: Syncing firewall
          Jan 27 12:59:32 kernel: nse.org/packages/10/All/squid-2.7.9_4-i386.pbi … 60%";
          Jan 27 13:00:22 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\n";
          Jan 27 13:00:24 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.";
          Jan 27 13:00:24 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\n";
          Jan 27 13:00:26 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...";
          Jan 27 13:00:28 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\n";
          Jan 27 13:00:31 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\n";
          Jan 27 13:00:31 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... ";
          Jan 27 13:00:32 check_reload_status: Syncing firewall
          Jan 27 13:00:33 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\n";
          Jan 27 13:00:35 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... ";
          Jan 27 13:00:37 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... done.\n";
          Jan 27 13:00:37 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... done.\nServices... ";
          Jan 27 13:00:39 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... done.\nServices... done.\n";
          Jan 27 13:00:41 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... done.\nServices... done.\nLoading package instructions...\n";
          Jan 27 13:00:43 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... done.\nServices... done.\nLoading package instructions...\n";
          Jan 27 13:00:45 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... done.\nServices... done.\nLoading package instructions...\nInclude file squid.inc could not be found for inclusion.\nDeinstall commands... ";
          Jan 27 13:00:45 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... done.\nServices... done.\nLoading package instructions...\nInclude file squid.inc could not be found for inclusion.\nDeinstall commands... \nNot executing custom deinstall hook because an include is missing.\n";
          Jan 27 13:00:48 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... done.\nServices... done.\nLoading package instructions...\nInclude file squid.inc could not be found for inclusion.\nDeinstall commands... \nNot executing custom deinstall hook because an include is missing.\nRemoving package instructions...";
          Jan 27 13:00:50 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... done.\nServices... done.\nLoading package instructions...\nInclude file squid.inc could not be found for inclusion.\nDeinstall commands... \nNot executing custom deinstall hook because an include is missing.\nRemoving package instructions...done.\n";
          Jan 27 13:00:52 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... done.\nServices... done.\nLoading package instructions...\nInclude file squid.inc could not be found for inclusion.\nDeinstall commands... \nNot executing custom deinstall hook because an include is missing.\nRemoving package instructions...done.\nAuxiliary files... ";
          Jan 27 13:00:54 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... done.\nServices... done.\nLoading package instructions...\nInclude file squid.inc could not be found for inclusion.\nDeinstall commands... \nNot executing custom deinstall hook because an include is missing.\nRemoving package instructions...done.\nAuxiliary files... done.\n";
          Jan 27 13:00:56 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... done.\nServices... done.\nLoading package instructions...\nInclude file squid.inc could not be found for inclusion.\nDeinstall commands... \nNot executing custom deinstall hook because an include is missing.\nRemoving package instructions...done.\nAuxiliary files... done.\nPackage XML... ";
          Jan 27 13:00:56 check_reload_status: Syncing firewall
          Jan 27 13:00:58 kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e\n ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.\nof squid-2.7.9_4-i386 failed!\n\nInstallation aborted.Removing package...\nStarting package deletion for squid-2.7.9_4-i386...done.\nRemoving squid components...\nTabs items... done.\nMenu items... done.\nServices... done.\nLoading package instructions...\nInclude file squid.inc could not be found for inclusion.\nDeinstall commands... \nNot executing custom deinstall hook because an include is missing.\nRemoving package instructions...done.\nAuxiliary files... done.\nPackage XML... done.\n";
          Jan 27 13:00:59 php-fpm[50456]: /rc.start_packages: Failed to install package: squid.
          Jan 27 13:00:59 php-fpm[50456]: /rc.start_packages: Reinstalling package squid failed. Take appropriate measures!!!

          1 Reply Last reply Reply Quote 0
          • L
            LinuxTracker
            last edited by

            Are you running 32 bit pfSense?

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

              Yes this is the version of pfsense that I'm running

              2.2-RELEASE (i386)
              built on Thu Jan 22 14:04:25 CST 2015
              FreeBSD 10.1-RELEASE-p4

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

                Jan 27 12:59:32   kernel: nse.org/packages/10/All/squid-2.7.9_4-i386.pbi ... 60%";
                Jan 27 13:00:22   kernel: hecksum: aff7df4bde6c42bdc062f8a74980ef5e699f8465fe645b057a7c02a525c1903e
                 ERROR: /root/tmp/apkg_squid-2.7.9_4-i386.pbi failed checksum, the archive may be corrupt.
                ";
                

                Seems  a download failure…

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

                Help a community developer! ;D

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

                  Now it is stuck at extracting the package on the package install screen.  I am using an Alix2d2 router setup so should I just wait a few hours and see what happens?  The system log isn't showing any new updates.

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

                    @dolomite792:

                    Now it is stuck at extracting the package on the package install screen.  I am using an Alix2d2 router setup so should I just wait a few hours and see what happens?  The system log isn't showing any new updates.

                    Check available space during fetch and extract.

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

                    Help a community developer! ;D

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

                      Well it looks like I have enough space:

                      / (ufs): 15% of 1.8G

                      Also it keeps freezing when I install/uninstall squid it usually takes 15 minutes or more

                      Removing package…
                      Starting package deletion for squid-2.7.9_4-i386...done.
                      Removing squid components...
                      Tabs items... done.
                      Menu items... done.
                      Services... done.
                      Loading package instructions...
                      Include file squid.inc could not be found for inclusion.
                      Deinstall commands...
                      Not executing custom deinstall hook because an include is missing.
                      Removing package instructions...done.
                      Auxiliary files... done.
                      Package XML... done.
                      Configuration... done.
                      done.

                      Package deleted.

                      Is there another menu entry that would let me see more detailed information regarding hard drive usage?

                      Is there another way I could see more detailed information on what is happening without having to hook up the serial cable?

                      1 Reply Last reply Reply Quote 0
                      • A
                        Antonio_Grande
                        last edited by

                        I want to tell about the modest experience and the (perhaps curve) solution, subj 2.2, 64bit,  Squid3 - 3.4.10_2 pkg 0.2.6, SquidGuard3 - 1.4_4 pkg v.1.9.6. 
                        Bugs: 100% CPU loading, SquidGuard don't running, error in /var/squid/logs/cache.log
                        Shared object "libldap-2.4.so.8" not found, required by "squidGuard"
                        Solution: create sim-link

                        
                        ln -s /usr/pbi/squidguard-squid3-amd64/local/lib/libldap-2.4.so.8 /usr/local/lib/libldap-2.4.so.8
                        ln -s /usr/pbi/squidguard-squid3-amd64/local/lib/libldap-2.4.so.8 /usr/pbi/squid-amd64/local/lib/libldap-2.4.so.8
                        ln -s /usr/pbi/squidguard-squid3-amd64/local/lib/libldap-2.4.so.8 /lib/libldap-2.4.so.8
                        ln -s /usr/pbi/squidguard-squid3-amd64/local/lib/libdb-4.6.so.0 /usr/local/lib/libdb-4.6.so.0
                        
                        

                        But SquidGuard don't running till the moment, you won't make updating of a blacklist yet.
                        Please, help with a solution

                        Or not to suffer and be rolled away on version Squid 2.7? I remember I too had problems with it anf SquidGuard.

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

                          Good Afternoon

                          I resolved the issue by reinstalling the packages via the package reinstall button.  That way the system didn't have to download all of the packages again.  That is pretty strange but ohwell.

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

                            I've seen this behaviour before as well.  It's almost as if there are some operations in the package being done out of order, such as copying a library file to a dir that doesn't exist and then later creating that dir.  Fails on first install because the dir wasn't there, but succeeds on second try because the dir got created at the end of the first failed install.

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