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

    Squid install gone wrong?

    pfSense Packages
    3
    11
    2.5k
    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.
    • ?
      A Former User
      last edited by

      i attempted to install the squid proxy package and something didnt seem to go right, the package never really finished installing, but appeared that it was installed.  i couldnt find it under any menus (services, diagnostics, etc…) and i noticed a strange message at the bottom of the pfsense page when i refreshed the page.

      i cant say if it was this exact message, but i remember seeing something like this at the bottom of the page

      fatal error require once failed opening required squid.inc

      include_path=.:etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg ub

      /usr/local/pkg/squidguard_configurator.inc on line 54

      i tried to uninstall the package, no luck so i attempted a reboot of the box and saw this just above the numbered prompts when the pfsense box came online.

      fatal error require once failed opening required squid.inc

      include_path=.:etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg ub

      /usr/local/pkg/squidguard_configurator.inc on line 54

      Bootup complete

      none of the LAN computers can hit the internet and i cant ping 192.168.1.1 or browse to it via my browser (the ip of the pfsense box).

      i am online with an old router i have on the shelf as a backup.

      from the pfsense box (before connecting internet to my backup router) i can ping 8.8.8.8 and a random PC on my network, but i cant do the same from a network PC.

      1. does anyone know what went wrong with the squid install?
      2. how come i can ping from the pfsense box (internet and LAN device)?

      is the proxy somehow enabled and could that be what is causing my LAN PCs to not be able to connect to the internet?

      thanks.

      edit

      2.0.1-RELEASE (i386)
      built on Mon Dec 12 18:24:17 EST 2011
      FreeBSD 8.1-RELEASE-p6

      You are on the latest version.

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        on the bright side…i have backups of my latest router config, which means option 4 (default the box) and uploading my latest config is a quick fix, but i want to know why the squid package didnt take (to avoid the same issue next time i try to install squid).

        edit-  i tried resetting to facotry defaults, that error still pops up, not sure how that is possible since it should be resetting to factory defaults....

        hmmm

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

          remove squid guard package to stop this error during boot before trying to reinstall squid package.

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

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            @marcelloc:

            remove squid guard package to stop this error during boot before trying to reinstall squid package.

            thank you for the reply.

            how do i do i remove it?

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

              @tomdlgns:

              how do i do i remove it?

              If you do not have access to web gui, remove squidguard files from /usr/local/pkg and /usr/local/www and try a reboot.

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

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                @marcelloc:

                @tomdlgns:

                how do i do i remove it?

                If you do not have access to web gui, remove squidguard files from /usr/local/pkg and /usr/local/www and try a reboot.

                not sure how to do that

                shell command?

                not sure what the commands are, i have never done it.

                thanks.

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

                  @tomdlgns:

                  not sure how to do that

                  Do you have access to pfsense gui? If so, try to uninstall squidguard from system->packages

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

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by

                    @marcelloc:

                    @tomdlgns:

                    not sure how to do that

                    Do you have access to pfsense gui? If so, try to uninstall squidguard from system->packages

                    nope

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

                      @tomdlgns:

                      nope

                      So you need to learn how to remove files on a unix file system.

                      access pfsense console (menu 8)

                      use chdir to access /usr/local/pkg and /usr/local/www

                      use "rm -f " to remove files. Be careful to do not remove all your pfsense install.

                      squidguard package files are in this link
                      https://github.com/bsdperimeter/pfsense-packages/tree/master/config/squidGuard

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

                      Help a community developer! ;D

                      1 Reply Last reply Reply Quote 0
                      • E
                        extide
                        last edited by

                        honestly you are probably best off doing a fresh install and re-loading your config. I got my box into a state once where the filesystem got messed up and even a factory reset did not fix it. In that situation the best move is probably just to do a clean install from ISO, and then apply your config.

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User
                          last edited by

                          @extide:

                          honestly you are probably best off doing a fresh install and re-loading your config. I got my box into a state once where the filesystem got messed up and even a factory reset did not fix it. In that situation the best move is probably just to do a clean install from ISO, and then apply your config.

                          i actually ended up doing a fresh install before a reply was made.  i had the .iso i used inside the case of the computer and pfsense installed in 10 minutes (maybe less, i stepped away after the prompts).  i wanted to do a restore to see how well the backup config files worked and they worked well….worked as designed.

                          i was a little disappointed that i didn't uncheck the box to save rrd graph info, but that wasnt a huge deal.

                          however, i am still glad i got the info from marcelloc incase a package install doesnt go as planned, in the future.

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