• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.
  • J
    JonathanLee
    last edited by JonathanLee Jun 7, 2023, 3:52 PM May 22, 2023, 11:37 PM

    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.

    login-to-view

    login-to-view

    Make sure to upvote

    J 1 Reply Last reply May 22, 2023, 11:39 PM Reply Quote 0
    • J
      JonathanLee @JonathanLee
      last edited by May 22, 2023, 11:39 PM

      @jonathanlee

      login-to-view

      Make sure to upvote

      J 1 Reply Last reply May 22, 2023, 11:55 PM Reply Quote 1
      • J
        JonathanLee @JonathanLee
        last edited by May 22, 2023, 11:55 PM

        @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

        D 1 Reply Last reply May 22, 2023, 11:57 PM Reply Quote 0
        • D
          Dobby_ @JonathanLee
          last edited by Dobby_ May 22, 2023, 11:58 PM May 22, 2023, 11:57 PM

          @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)

          J P 2 Replies Last reply May 23, 2023, 12:33 AM Reply Quote 0
          • J
            JonathanLee @Dobby_
            last edited by JonathanLee May 23, 2023, 12:44 AM May 23, 2023, 12:33 AM

            @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 Jun 7, 2023, 4:32 AM

              @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.

              J 1 Reply Last reply Jun 7, 2023, 5:31 AM Reply Quote 0
              • J
                JonathanLee @Pete-wright
                last edited by JonathanLee Jun 7, 2023, 5:36 AM Jun 7, 2023, 5:31 AM

                @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 Jun 7, 2023, 2:51 PM Reply Quote 0
                • P
                  Pete-wright @JonathanLee
                  last edited by Jun 7, 2023, 2:51 PM

                  @JonathanLee Thanks Jonathan!

                  1 Reply Last reply Reply Quote 0
                  • E ericreiss referenced this topic on Jul 11, 2023, 7:11 PM
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.