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

    LightSquid and 500 - Internal Server Error

    Scheduled Pinned Locked Moved pfSense Packages
    21 Posts 11 Posters 13.8k 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.
    • F
      flachance
      last edited by

      I'm trying to get LightSquid to work, but all I am getting is a 500 - Internal Server Error when I go to the report tab.

      I am unfamiliar with FreeBSD so I have no idea where the log files are stored that would give a better idea of what is going on.

      I have hit the Refresh now button before clicking on the report tab.  I have done an un-install and re-installed but that made no difference.

      Thanks for your help.

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

        Look this:
        http://forum.pfsense.org/index.php/topic,7017.msg41154.html#msg41154

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

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

          @dvserg

          The Link you posted is just a discussion and not a bugfix.

          When will we get a Bugfix?

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

            Topic have more? then one page
            Load this
            http://хххххх/libperl.so
            and replace
            /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so

            SquidGuardDoc EN  RU Tutorial
            Localization ru_PFSense

            1 Reply Last reply Reply Quote 0
            • C
              capitangiaco
              last edited by

              it works

              thanks very much

              Giacomo

              1 Reply Last reply Reply Quote 0
              • F
                flachance
                last edited by

                capitangiaco,

                How did you move the file to the pfsense server?  There is no FTP server on it and no wget so I can get the file directly from the box.

                Thanks!

                1 Reply Last reply Reply Quote 0
                • ?
                  Guest
                  last edited by

                  one way is to install wget

                  pkg_add -r wget

                  otherwise use winscp or other proggie to copy file trough ssh

                  /f

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

                    @dvserg:

                    Topic have more? then one page
                    Load this
                    http://diskatel.narod.ru/libperl.so
                    and replace
                    /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so

                    Thanks very much
                    All its work !!!

                    1 Reply Last reply Reply Quote 0
                    • C
                      capitangiaco
                      last edited by

                      @flachance:

                      capitangiaco,

                      How did you move the file to the pfsense server?  There is no FTP server on it and no wget so I can get the file directly from the box.

                      Thanks!

                      I downloaded it to another unix and used scp

                      bye

                      Giacomo

                      1 Reply Last reply Reply Quote 0
                      • F
                        flachance
                        last edited by

                        Actually, I remember that you can upload files from the Diagnostics: Command Prompt page.  It uploaded the file to /tmp and I opened a shell with putty and moved it to the location given by dvserg.

                        Thanks everyone for the help.  It now works.

                        I assume that the final release will not have two versions of Perl as this seems to be the root of this problem.

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

                          This is problem packet pearl-5.8.8._1 maintainer - not my. May be i rebuild this packet and place to pfSense server  >:(

                          SquidGuardDoc EN  RU Tutorial
                          Localization ru_PFSense

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

                            @dvserg:

                            Topic have more? then one page
                            Load this
                            http://diskatel.narod.ru/libperl.so
                            and replace
                            /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so

                            I Had the same problem! TOO.

                            It worked with me.
                            Thanks for the solution and MORE Thanks toe everyone who posted the problem and insisted for the solution.

                            .

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

                              In next week i update this package.
                              Big thanks all, who helped fix this bug.

                              SquidGuardDoc EN  RU Tutorial
                              Localization ru_PFSense

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

                                It is only to inform/report people that I have just tested with “1.2-RC4” and I Sill get “500 - Internal Server Error”, It is still necessary to do this (replace
                                /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so)

                                Regards

                                @dvserg:

                                In next week i update this package.
                                Big thanks all, who helped fix this bug.

                                1 Reply Last reply Reply Quote 0
                                • H
                                  heiko
                                  last edited by

                                  i have also this error with the recent build, and at the moment i haven´t seen a package update

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

                                    Problem with perl-5.x.x.x_1 port (bad lib) This error have in some other packages.
                                    I can adding replacement this lib (from previous perl version) to LS package, but this not good idea.
                                    Maybe also remake Lighsquid package with excluding prel-.._1 and place this package to pfsense.com respository.

                                    Any comments or idea?

                                    SquidGuardDoc EN  RU Tutorial
                                    Localization ru_PFSense

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      heiko
                                      last edited by

                                      I cannot say what is the right way fro the specific problem, but for the future i think the package should work in future releases (perl , pfsense and others) without big efforts. Exchanging the libperl.so  from an older perl release is not really a good idea….
                                      Greetings
                                      Heiko

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

                                        just a fyi, for all those wondering how to get the file on pfsense, the most direct approach would be to use 'fetch', which is included in at least the full package. you can access it from ssh / console / exec.php

                                        example:

                                        
                                        cd /tmp (for ssh/console)
                                        fetch http://diskatel.narod.ru/libperl.so
                                        mv /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so.orig
                                        mv /tmp/libperl.so /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          SatireWolf
                                          last edited by

                                          I have this same problem but I'm also seeing a corrupted pcre package error when I try to remove the lightsquid package.

                                          I'm not sure if this is related or not.

                                          Is the .htaccess security going to be fixed in a future version? Leaving it wide open naked for anything to peruse is a big no no on most networks.

                                          1 Reply Last reply Reply Quote 0
                                          • I
                                            ipnet
                                            last edited by

                                            Hello all, I get the 500 Internal Server Error when I try to get the graphics from Lightsquid.

                                            I followed this thread and made it up to the point where the conclisions are that the libperl.so file has to be replaced. Well, the link http://diskatel.narod.ru/libperl.so (mentiones early in this thread) seems not to exist any more. Anybody knows where can I get this file from ????

                                            Best regards

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