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

    23.05 Squid ERROR: loading file 9;/usr/local/etc/squid/errors/en/ERR_ZERO_SIZE_OBJECT': (2) No such file or directory

    Cache/Proxy
    squid error
    3
    8
    4.1k
    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.
    • JonathanLeeJ
      JonathanLee
      last edited by JonathanLee

      Hello Fellow Netgate community members,

      Can someone please help? I have noticed errors being generated within the Squid Proxy however they are being pointed to the wrong subfolder. The one that has the error codes is /templates not /en.

      Screenshot 2023-05-22 at 4.33.22 PM.png

      Screenshot 2023-05-22 at 4.35.37 PM.png

      Make sure to upvote

      JonathanLeeJ 1 Reply Last reply Reply Quote 0
      • JonathanLeeJ
        JonathanLee @JonathanLee
        last edited by

        @jonathanlee

        Screenshot 2023-05-22 at 4.38.42 PM.png

        Make sure to upvote

        JonathanLeeJ 1 Reply Last reply Reply Quote 1
        • JonathanLeeJ
          JonathanLee @JonathanLee
          last edited by

          @jonathanlee
          cp -a /usr/local/etc/squid/errors/templates/. /usr/local/etc/squid/errors/en-us

          cp -a /usr/local/etc/squid/errors/templates/. /usr/local/etc/squid/errors/en

          seemed to fix it

          Make sure to upvote

          Dobby_D 1 Reply Last reply Reply Quote 0
          • Dobby_D
            Dobby_ @JonathanLee
            last edited by Dobby_

            @jonathanlee

            If you are now on 23.05 Release you should have a look once more again here? At my upgrade to the Release it installed also new pkg`s for SquidGuard. Perhaps this was fixing then
            this problem here.

            Fingers crossed
            🤞

            EDIT:

            less than a minute ago
            Ah you was much faster!

            #~. @Dobby

            Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
            PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
            PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

            JonathanLeeJ P 2 Replies Last reply Reply Quote 0
            • JonathanLeeJ
              JonathanLee @Dobby_
              last edited by JonathanLee

              @dobby_ This is with the new version.

              https://redmine.pfsense.org/issues/14406

              I opened a redmine for it. I wonder if anyone else is missing the error code subfolder

              Make sure to upvote

              1 Reply Last reply Reply Quote 0
              • P
                Pete-wright @Dobby_
                last edited by

                @Dobby_ Is the pfSense-pkg-squid-0.4.46 pkg working for anyone? i have a system running 23.01 with the older squid pkg and it is working fine, but an identical config on a 23.05 system and squid is pretty much non-functional. it's pretty frustrating to be honest.

                JonathanLeeJ 1 Reply Last reply Reply Quote 0
                • JonathanLeeJ
                  JonathanLee @Pete-wright
                  last edited by JonathanLee

                  @Pete-wright it runs perfectly for me.

                  Fix:

                  Just copy over the English error templates into folders you create, after it's functional I can see the errors it runs fine. I am seeing traction on the Redmine also. But this is how I got my errors to go away,

                  cp -a /usr/local/etc/squid/errors/templates/. /usr/local/etc/squid/errors/en-us

                  cp -a /usr/local/etc/squid/errors/templates/. /usr/local/etc/squid/errors/en

                  Make sure to upvote

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    Pete-wright @JonathanLee
                    last edited by

                    @JonathanLee Thanks Jonathan!

                    1 Reply Last reply Reply Quote 0
                    • E ericreiss referenced this topic on
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.