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

    Lightsquid show me "500 - Internal Server Error" in graphics tab

    Scheduled Pinned Locked Moved pfSense Packages
    27 Posts 17 Posters 25.4k 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.
    • P
      Pistolero
      last edited by

      @jimp:

      If you reinstall the lightsquid package now, does it behave any differently?

      I made some fixes yesterday, though I haven't tested it out on a fresh 1.2.3 vm.

      I am having the very same issue, where the whole report page has been replaced by a "500 - Internal Server Error" in 2.0 RC1 version from yesterday. reinstalling makes no difference, sadly.

      Is there a way we could fix this?

      Thanks!

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

        I know for a fact it's fine on 2.0. Update to RC3 (it's out officially) and if it doesn't work after the packages reinstall there (should happen automatically with the firmware update), try what I mention earlier in the thread (quoted below).

        @jimp:

        uninstall lightsquid, squidguard, and squid

        Then go to Diagnostics > Command or the shell, and type:

        pkg_delete -f \*squid\* perl\*
        

        And then reinstall squid, squidguard, and lightsquid.

        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
        • H
          Hugovsky
          last edited by

          2.0-RC3 (amd64)
          built on Fri Jun 24 09:54:09 EDT 2011

          squid + Lightquid + squidguard it's working perfectly. No special install order.

          1 Reply Last reply Reply Quote 0
          • J
            jikjik101
            last edited by

            I still have this 500 ERROR.

            Already tried:
            @jimp:

            I know for a fact it's fine on 2.0. Update to RC3 (it's out officially) and if it doesn't work after the packages reinstall there (should happen automatically with the firmware update), try what I mention earlier in the thread (quoted below).

            @jimp:

            uninstall lightsquid, squidguard, and squid

            Then go to Diagnostics > Command or the shell, and type:

            pkg_delete -f \*squid\* perl\*
            

            And then reinstall squid, squidguard, and lightsquid.

            Also tried install order but to no avail.

            1 Reply Last reply Reply Quote 0
            • V
              vladick0732
              last edited by

              In the directory "/usr/bin" file appeared "perl  0 B 1970.01.01 03:00:00 (0) ? –- --- ---",
              selected on the picture and you can not delete it, because it says that the file is not correct. What can I do?

              perl321.jpg
              perl321.jpg_thumb

              1 Reply Last reply Reply Quote 0
              • V
                vladick0732
                last edited by

                Hi all!

                After several re-installation of packages Squid and Lighsquid, it worked.
                File has the normal value. What's the problem I still do not understand.

                perl234.jpg
                perl234.jpg_thumb

                1 Reply Last reply Reply Quote 0
                • cyber7C
                  cyber7
                  last edited by

                  What I did to get this working was:
                  ln -s /usr/local/bin/perl5.12.4 /usr/bin/perl
                  (after deleting the link: /usr/bin/perl)

                  Kind regards
                  Aubrey Kloppers
                  Cape Town

                  When you pause to think, do you start again?

                  2.2.4-RELEASE (amd64)
                  built on Sat Jul 25 19:57:37 CDT 2015
                  FreeBSD 10.1-RELEASE-p15
                  and
                  pfSense 2.3.2-RELEASE-p1 (amd64 full-install) on pfSense

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

                    @cyber7:

                    What I did to get this working was:
                    ln -s /usr/local/bin/perl5.12.4 /usr/bin/perl
                    (after deleting the link: /usr/bin/perl)

                    Kind regards
                    Aubrey Kloppers
                    Cape Town

                    You are grate man. This solve my problem.

                    1 Reply Last reply Reply Quote 0
                    • D
                      dmenezes
                      last edited by

                      the problem is about the perl version or symlink to the perl subversion if u have more the one version installed on your system.
                      something like that

                      [2.0.1-RELEASE][root@pfsense.backbone]/usr/bin(41): pkg_info |grep perl
                      p5-GD-2.46          A perl5 interface to Gd Graphics Library version2
                      perl-5.10.1_3      Practical Extraction and Report Language
                      perl-5.12.3        Practical Extraction and Report Language
                      perl-5.12.4_3      Practical Extraction and Report Language

                      [2.0.1-RELEASE][root@pfsense.backbone]/usr/bin(17): ls -al /usr/local/bin/perl5*
                      lrwxr-xr-x  1 root  wheel    25 Feb  1 15:47 /usr/local/bin/perl5 -> /usr/local/bin/perl5.12.3
                      -rwxr-xr-x  1 root  wheel  7248 Feb 11  2011 /usr/local/bin/perl5.10.1
                      -rwxr-xr-x  2 root  wheel  7304 Jun 29  2011 /usr/local/bin/perl5.12.3
                      -rwxr-xr-x  1 root  wheel  7304 Jan 27 09:19 /usr/local/bin/perl5.12.4

                      change it:
                      from /usr/local/bin/perl5.12.3
                      to /usr/local/bin/perl5.12.4

                      [2.0.1-RELEASE][root@pfsense.backbone]/usr/bin(40): ls -al /usr/bin/perl*
                      lrwxr-xr-x  1 root  wheel  25 Apr  2 13:10 /usr/bin/perl -> /usr/local/bin/perl5.12.4
                      lrwxr-xr-x  1 root  wheel  25 Apr  2 13:23 /usr/bin/perl5 -> /usr/local/bin/perl5.12.4

                      1 Reply Last reply Reply Quote 0
                      • A
                        arenasa
                        last edited by

                        @cyber7:

                        What I did to get this working was:
                        ln -s /usr/local/bin/perl5.12.4 /usr/bin/perl
                        (after deleting the link: /usr/bin/perl)

                        Kind regards
                        Aubrey Kloppers
                        Cape Town

                        This works on 2.1 also.  Shouldn't this placed as a bug somewhere so they fixed on the package?.

                        Regards,

                        Andrés.

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

                          It works fine on 2.1, at least it did every time I tested it. It also works fine for most people on 2.0.x. This isn't a general issue with the lightsquid package, so there isn't really anything to "fix". It's some odd combination of installed packages/files and ordering and who knows what, but most people have no problems with it.

                          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
                          • M
                            mrmaveric
                            last edited by

                            I fixed it by uninstalling all packages that require pearl (the last one you uninstall will also uninstall pearl), then when I reinstalled squid and lightsquid which reinstalled pearl. All the cache and logs created by squid were still there, no data loss.

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