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

    LightSquid and 500 - Internal Server Error

    Scheduled Pinned Locked Moved pfSense Packages
    40 Posts 12 Posters 33.2k 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.
    • D Offline
      dvserg
      last edited by

      @AudiAddict:

      I just posted this in the 1.2.1 thread section regarding the same problem.

      Can somebody update the package to fix this issue? I don't know how to create a symlink :(

      Execute from shell
      ln -s /usr/local/bin/perl /usr/bin/perl

      SquidGuardDoc EN  RU Tutorial
      Localization ru_PFSense

      1 Reply Last reply Reply Quote 0
      • A Offline
        AudiAddict
        last edited by

        For some reason, I can't reinstall it.

        The directory is missing in /usr/local/www

        Reinstalled package a bunch of times, no directory shows up even after refresh.

        The xml and options do work in the gui, services does not display lightsquid though.

        Is there anyway I could get this installed manualy, it seems the install through the gui isnt' working anymore.

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

          Package not fixed
          Can you execute from pfSense GUI
          'Diagnostics: Execute command > Execute Shell command' next cmd (?) :

          ln -s /usr/local/bin/perl /usr/bin/perl

          SquidGuardDoc EN  RU Tutorial
          Localization ru_PFSense

          1 Reply Last reply Reply Quote 0
          • A Offline
            AudiAddict
            last edited by

            Thanks for the quick reply, I tried that, still no difference.

            Even after reinstall of the package in GUI. It's not even making the directories/config files anymore.

            1 Reply Last reply Reply Quote 0
            • S Offline
              sonick
              last edited by

              This recept helped to me:
              ln -s /usr/local/bin/perl /usr/bin/perl

              Thank you, dvserg.

              1 Reply Last reply Reply Quote 0
              • W Offline
                wilagobler
                last edited by

                I am having the same problem as AudiAddict now.  It seems unrelated to the perl path issue.  I think the package is broken, it does not install anything into /usr/loca/www/  so the lightsquid directory does not exist.

                1 Reply Last reply Reply Quote 0
                • A Offline
                  AudiAddict
                  last edited by

                  Jep I'm also still having this same problem.

                  Even when I create the directories myself and give them chhmod 777, nothing happends.. no files get created

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    AudiAddict
                    last edited by

                    Problem fixed with the help of dvserg!! (THANKS!!)

                    He asked me to post the instructions

                    • Remove package from GUI
                    • Go to the firewall shell and type pkg_info
                    • If lightsquid is listed, use PKG_delete to remove it (pkg_delete lightsquid-1.7.1_1)
                    • Reinstall from GUI now and it should be fixed!
                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wilagobler
                      last edited by

                      That fixed the problem, thanks dvserg and Audi!

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        tester_02
                        last edited by

                        YAYYYYYYY.

                        That fixed my final issue with pfsense.
                        Finally pfsense 1.2.1 with squid/squidguard/bandwidthd/lightsquid ALL WORK!!!!!!

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          ric2233
                          last edited by

                          Geat!Thanks wilagobler,Thanks dvserg! ;D ;D ;D ;D

                          1 Reply Last reply Reply Quote 0
                          • L Offline
                            lordarcane
                            last edited by

                            I´ve done this but cant get Lightsquid to work. Same error message still after the manual uninstall. =/ Any other tips?

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              AudiAddict
                              last edited by

                              Uninstall like explained above and then reinstall the package in the gui

                              then type in the shell :

                              ln -s /usr/local/bin/perl /usr/bin/perl

                              Make sure the log setting is switched on for squid and set to the standard dir and then go to lightsquid and refresh/update settings and it should work.

                              1 Reply Last reply Reply Quote 0
                              • L Offline
                                lordarcane
                                last edited by

                                That totally fixed it! Thank you! =) A great addon to squid! Now I dont really now how I managed without it. =)

                                1 Reply Last reply Reply Quote 0
                                • H Offline
                                  helwoe
                                  last edited by

                                  Hi all,

                                  I've tried all the suggestions but still cant get lightsquid report to display anything other than the following:

                                  "LigthSquid diagnostic.
                                  Error : report folder '/var/lightsquid/report' not contain any valid data! Please run lightparser.pl (and check 'report' folder content)
                                  Please check config file !

                                  Variable                                                   value
                                  $tplpatph                                             /usr/local/www/lightsquid/tpl
                                  $templatename                                     base
                                  $langpatph                                             /usr/local/share/lightsquid/lang
                                  $langname                                             eng
                                  $reportpath                                             /var/lightsquid/report
                                  Access to '/var/lightsquid/report' folder     yes

                                  folder content:

                                  /var/lightsquid/report folder has no data (files/folders) in it so there is a definate problem. Does anyone have any other suggestions?

                                  Thanks,

                                  helwoe

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

                                    1. You must check squid logging for enable, use some time squid, and after refresh LS from GUI
                                    2. And check perl for exists - type 'pkg_info' from console (post here pls).

                                    SquidGuardDoc EN  RU Tutorial
                                    Localization ru_PFSense

                                    1 Reply Last reply Reply Quote 0
                                    • H Offline
                                      helwoe
                                      last edited by

                                      Thanks for the reply.

                                      I took a break (college professor insists we do this) after a few hours and took another look, lightsquid report was working!

                                      Nice tool to play with!

                                      Cheers

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

                                        Hi all! Still having problems with lightsquid. :-\

                                        I reinstalled the package as directed in this thread, made the symlink (ln -s /usr/local/bin/perl /usr/bin/perl), checked permissions on index.cgi, graph.cgi and restarted the box several times. Still getting the 500 error when I ask for the graphics reports. Text reports work OK. Any tips or leads that could help me?

                                        BR

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

                                          Anyone has some leads on this issue? It seems to be resolved but it is not working for me!.  :'( Please any help will be appreciated.

                                          Best regards.

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

                                            @ipnet:

                                            Anyone has some leads on this issue? It seems to be resolved but it is not working for me!.  :'( Please any help will be appreciated.

                                            Best regards.

                                            Possible look you 'pkg_info' from shell?

                                            SquidGuardDoc EN  RU Tutorial
                                            Localization ru_PFSense

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