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

    LightSquid Report has blank page after upgrading to version 2.2

    Scheduled Pinned Locked Moved Cache/Proxy
    23 Posts 8 Posters 12.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.
    • M
      mococanet
      last edited by

      Dear,

      Unfortunatly does not work, i've tryed the command:

      /usr/bin/perl /usr/pbi/lightsquid-amd64/www/lightsquid/lightparser.pl today

      Look the return:

      Can't locate /usr/local/etc/lightsquid/lightsquid.cfg in @INC (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.18 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.18/mach /usr/local/lib/perl5/5.18 /usr/local/lib/perl5/site_perl/5.18 /usr/local/lib/perl5/site_perl/5.18/mach . /usr/pbi/lightsquid-amd64/www/lightsquid/) at /usr/pbi/lightsquid-amd64/www/lightsquid/lightparser.pl line 35.

      Thanks,

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

        the issue is the link for /usr/local/etc/lightsquid/lightsquid.cfg

        did you run this?

        
        amd64
        ln -s /usr/pbi/lightsquid-amd64/local/www/lightsquid /usr/local/www/lightsquid
        ln -s /usr/pbi/lightsquid-amd64/local/etc/lightsquid /usr/local/etc/lightsquid
        
        i386
        ln -s /usr/pbi/lightsquid-i386/local/www/lightsquid /usr/local/www/lightsquid
        ln -s /usr/pbi/lightsquid-i386/local/etc/lightsquid /usr/local/etc/lightsquid
        
        
        1 Reply Last reply Reply Quote 0
        • M
          mococanet
          last edited by

          Dear,

          yes, look:

          [2.2-RELEASE][root@firewall]/usr/local/etc/lightsquid: ln -s /usr/pbi/lightsquid-amd64/local/www/lightsquid /usr/local/www/lightsquid
          ln: /usr/local/www/lightsquid/lightsquid: File exists
          [2.2-RELEASE][root@firewall]/usr/local/etc/lightsquid: ln -s /usr/pbi/lightsquid-amd64/local/etc/lightsquid /usr/local/etc/lightsquid
          ln: /usr/local/etc/lightsquid/lightsquid: File exists
          [2.2-RELEASE][root@firewall]/usr/local/etc/lightsquid:

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

            i see your in /usr/local/etc/lightsquid

            try this

            
            cd ..
            rm -f /usr/local/etc/lightsquid
            ln -s /usr/pbi/lightsquid-amd64/local/etc/lightsquid /usr/local/etc/lightsquid
            
            

            then run

            
            /usr/bin/perl /usr/pbi/lightsquid-amd64/www/lightsquid/lightparser.pl today
            
            
            1 Reply Last reply Reply Quote 0
            • M
              mococanet
              last edited by

              Dear,

              Nice one!!! Sounds perfect!

              Thank you!

              Cheers

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

                great!! Hopefully the package will be updated so we wont have to use this workaround anymore.

                1 Reply Last reply Reply Quote 0
                • M
                  mococanet
                  last edited by

                  Dear,

                  Yes !! your tip was wonderfull, thank you !!

                  cheers

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

                    =D glad you got it working!

                    1 Reply Last reply Reply Quote 0
                    • T
                      Thilroy
                      last edited by

                      Thanks too ! I had the same problem since upgrade and your solution worked perfectly.
                      Just had indeed to remove first the imbedded dir /lightsquid/lightsquid via rm -d.

                      For me, the command that worked was

                      ln -s /usr/pbi/lightsquid-i386/local/etc/lightsquid /usr/local/etc/  …and first like I said, to remove the /usr/local/etc/lightsquid directory

                      Thanks again

                      Thierry

                      1 Reply Last reply Reply Quote 0
                      • R
                        rafamaximo2014
                        last edited by

                        Caro Thylroi,

                        Aonde dou esse comando! Pode me ajudar?

                        1 Reply Last reply Reply Quote 0
                        • K
                          koko richart
                          last edited by

                          $ /usr/bin/perl /usr/pbi/lightsquid-amd64/www/lightsquid/lightparser.pl today
                          /usr/bin/perl: lrwxr-xr-x:: not found

                          How can I do ? Please help

                          1 Reply Last reply Reply Quote 0
                          • K
                            koko richart
                            last edited by

                            $ /usr/bin/perl /usr/pbi/lightsquid-amd64/www/lightsquid/lightparser.pl today
                            perl: warning: Setting locale failed.
                            perl: warning: Please check that your locale settings:
                            LC_ALL = (unset),
                            LANG = "en_US.UTF-8"
                                are supported and installed on your system.
                            perl: warning: Falling back to the standard locale ("C").

                            How can I do ? Please help

                            1 Reply Last reply Reply Quote 0
                            • D
                              doktornotor Banned
                              last edited by

                              There is no need to do any similar nonsense, the reports work perfectly fine from the GUI in the current package. No idea what are you trying to do.

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

                                "lightsquid.cfg "change at line 17:

                                wrong path "/usr/pbi/lightsquid-amd64/www/lightsquid/tpl""
                                right path: "/usr/local/www/lightsquid/tpl"

                                now everything is working.

                                Ing. Alfredo Peña Ramos
                                Viva el Software Libre!

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