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

    [SOLVED] Cannot get Squid + SquidGuard to start

    Scheduled Pinned Locked Moved pfSense Packages
    17 Posts 4 Posters 14.9k 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
      dvserg
      last edited by

      What is you version of the pfsense system?

      SquidGuardDoc EN  RU Tutorial
      Localization ru_PFSense

      1 Reply Last reply Reply Quote 0
      • K
        konradwalsh
        last edited by

        Honestly.. I wasted days on this..

        but I came up with this…

        Uninstall them all..

        run pkg-info to make sure they are gone..

        go to /usr/local/pkg/ and delete all references to squid

        then install squidguard first - it will fail to complete...
        then install squid3
        then reinstall squidguard pkg and xml

        it should work.. i can repeat this everytime now

        1 Reply Last reply Reply Quote 0
        • N
          nutt318
          last edited by

          @dvserg:

          What is you version of the pfsense system?

          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
          • N
            nutt318
            last edited by

            @konradwalsh

            Not sure what pkg-info is, I didnt find anything built into pfsense already or its not a valid command.

            I need a hint on where to run this

            Thanks!

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

              @nutt318:

              Not sure what pkg-info is, I didnt find anything built into pfsense already or its not a valid command.

              it's pkg**_**info  ;)

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

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • N
                nutt318
                last edited by

                @konradwalsh:

                Honestly.. I wasted days on this..

                but I came up with this…

                Uninstall them all..

                run pkg-info to make sure they are gone..

                go to /usr/local/pkg/ and delete all references to squid

                then install squidguard first - it will fail to complete...
                then install squid3
                then reinstall squidguard pkg and xml

                it should work.. i can repeat this everytime now

                That worked perfect!

                Thanks!

                1 Reply Last reply Reply Quote 0
                • K
                  konradwalsh
                  last edited by

                  glad I could help someone around here… hate always asking and not being able to give back

                  1 Reply Last reply Reply Quote 0
                  • N
                    nutt318
                    last edited by

                    So I updated to the latest version of Squid and well, Squid and SquidGuard do not want to start.

                    So I tried the following which working in the past for me:
                    Uninstall all Squid related packages
                    run pkg_info to make sure they are gone..
                    go to /usr/local/pkg/ and delete all references to squid
                    then install squidguard first - it will fail to complete…
                    then install squid3
                    then reinstall squidguard pkg and xml

                    However when I run pkg_info it continues to show 'squid-3.1.19'

                    Anyways how do I remove that so I can try the reinstall process to get everything working again

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

                      @nutt318:

                      However when I run pkg_info it continues to show 'squid-3.1.19'

                      Squid3 current version is 3.1.20, did you updated this package recently?

                      uninstall squid3, go on console and check if there is a squid package there.

                      pkg_delete squid-3.1.19 should remove previous version if not done by package uninstall

                      do not reinstall squidguard after squid3 install to avoid package overwrite.

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

                      Help a community developer! ;D

                      1 Reply Last reply Reply Quote 0
                      • N
                        nutt318
                        last edited by

                        So the package was'nt listed in the console so I deleted with that command. Now no squid packages are listed in the console or the pkg_info.

                        So I installed Squid3 - 3.1.20 and I cannot get it to start. I havent installed SquidGuard yet.

                        Any ideas?

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

                          Try to start squid on console or check the system logs to see what is not working/starting.

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

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • N
                            nutt318
                            last edited by

                            Dumb questions but how do i start squid in console mode and what log file should I be looking at  ???

                            /var/squid/logs access.log and cache.log dont seem to have anything relevant to it starting.

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

                              @nutt318:

                              Dumb questions but how do i start squid in console mode and what log file should I be looking at  ???

                              /var/squid/logs access.log and cache.log dont seem to have anything relevant to it starting.

                              status -> system logs

                              on console:

                              /usr/local/etc/rc.d/squid.sh start

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

                              Help a community developer! ;D

                              1 Reply Last reply Reply Quote 0
                              • N
                                nutt318
                                last edited by

                                Cleared out system log, tried starting squid three times. nothing shows in the system log.

                                I tried starting on console, got this error

                                /libexec/ld-elf.so.1: Shared object "libmd5.so.1" not found, required by "squid"

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

                                  take a look on this thread

                                  http://forum.pfsense.org/index.php/topic,50647.msg270137.html#msg270137

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

                                  Help a community developer! ;D

                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    nutt318
                                    last edited by

                                    Thanks Marcelloc

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