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

    Squid & SquidGuard won't start on pfSense 2.0.3

    Scheduled Pinned Locked Moved pfSense Packages
    11 Posts 5 Posters 11.5k 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.
    • marcellocM
      marcelloc
      last edited by

      What version of squid are you using?

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

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • T
        ternarybit
        last edited by

        @marcelloc:

        What version of squid are you using?

        Squid: 2.7.9 pkg v.4.3.3
        squidGuard: 1.4_4 pkg v.1.9.4

        1 Reply Last reply Reply Quote 0
        • T
          ternarybit
          last edited by

          The only questionable line I see in the logs is:

          squid: Bungled squid.conf line 70: reply_body_max_size 0 deny all
          

          But I did not manually input this directive, and it doesn't say that it's a fatal error. Further, squid used to work just fine!

          Any ideas?

          Thanks in advance!

          1 Reply Last reply Reply Quote 0
          • P
            pftdm007
            last edited by

            I also have problems with Squid (same version as yours) and SG.  My problems are a bit different (about 8 or 9 instances of squidguard running at the same time hence killing the machine) but I believe there is something with 2.0.3 and squid 2.7.9 pkg v.4.3.3 / squidGuard 1.4_4 pkg v.1.9.4

            I am not used to FreeBSD at all…. therefore I am not sure what to do to troubleshoot this..

            1 Reply Last reply Reply Quote 0
            • S
              srk3461
              last edited by

              Guys, even i'm having the same issue, been using a squid and squidguard for over a month with no problem, now all of a sudden both stopped working outta nowhere. using squid 2.7.9 pkg v.4.3.3 and squidguard 1.4_4 pkg v.1.9.4 on 2.0.3 i386.

              The only thing I see on system logs related to squid is "php: : The command '/usr/local/etc/rc.d/squid.sh stop' returned exit code '2', the output was 'squid: ERROR: No running copy /usr/local/etc/rc.d/squid.sh: cannot create /dev/null: Operation not supported /usr/local/etc/rc.d/squid.sh: cannot create /dev/null: Operation not supported'"

              I tried to manually create that null folder through the shell by 8, but it gives me a error saying "operation not supported"

              Any ideas!?

              1 Reply Last reply Reply Quote 0
              • T
                ternarybit
                last edited by

                The most recent system-wide change I made before the problems was upgrading from 2.0.2 to 2.0.3. Maybe a regression?

                1 Reply Last reply Reply Quote 0
                • S
                  srk3461
                  last edited by

                  @srk3461:

                  Guys, even i'm having the same issue, been using a squid and squidguard for over a month with no problem, now all of a sudden both stopped working outta nowhere. using squid 2.7.9 pkg v.4.3.3 and squidguard 1.4_4 pkg v.1.9.4 on 2.0.3 i386.

                  The only thing I see on system logs related to squid is "php: : The command '/usr/local/etc/rc.d/squid.sh stop' returned exit code '2', the output was 'squid: ERROR: No running copy /usr/local/etc/rc.d/squid.sh: cannot create /dev/null: Operation not supported /usr/local/etc/rc.d/squid.sh: cannot create /dev/null: Operation not supported'"

                  I tried to manually create that null folder through the shell by 8, but it gives me a error saying "operation not supported"

                  Any ideas!?

                  Weird but it's fixed.. i had to manually reboot my system pfsense :-) b'cos it just wouldn't reboot when i click it!

                  1 Reply Last reply Reply Quote 0
                  • T
                    ternarybit
                    last edited by

                    I tried to start over by removing the squid package and trying both squid3 and squid3-dev (not at the same time). Both of these services would start, but transparent proxying didn't.

                    I re-installed 2.7.9, which completes without error, but I get this in the logs when I try to start the service:

                    php: /status_services.php: The command '/usr/local/etc/rc.d/squid.sh stop' returned exit code '1', the output was '/usr/local/etc/rc.d/squid.sh: /usr/local/sbin/squid: not found'

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      It's apparently still missing files.

                      Remove all traces of squid and squidGuard from System > Packages.

                      From the shell:
                      pkg_delete *squid*

                      Then reinstall what you want.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • T
                        ternarybit
                        last edited by

                        @jimp:

                        It's apparently still missing files.

                        Remove all traces of squid and squidGuard from System > Packages.

                        From the shell:
                        pkg_delete *squid*

                        Then reinstall what you want.

                        It worked :) thank you!

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