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

    Lightsquid package Test

    Scheduled Pinned Locked Moved pfSense Packages
    70 Posts 19 Posters 70.6k 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.
    • H
      heiko
      last edited by

      for me it works, thanks a lot dvserg

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

        That did the trick

        Thanks for your help  ;)

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

          I am having a problem with this version of lightsquid on the 1.2 release versions (final not the RC's).

          I updated from 1.2RC2 to RC3 and then to 1.2 final and lightsquid quit working. I tried reinstalling the package to no avail.

          I get a 500 internal server error when attempting to access the index.cgi. I tried the command prompt pkg_delete but I get this:

          pkg_delete lightsquid-1.7.1_1

          pkg_delete: the package info for package 'pcre-6.6_1' is corrupt
          pkg_delete: the package info for package 'pcre-6.6_1' is corrupt
          pkg_delete: the package info for package 'pcre-6.6_1' is corrupt
          pkg_delete: the package info for package 'pcre-6.6_1' is corrupt
          pkg_delete: the package info for package 'pcre-6.6_1' is corrupt
          pkg_delete: the package info for package 'pcre-6.6_1' is corrupt
          pkg_delete: the package info for package 'pcre-6.6_1' is corrupt

          if I install it again, I have my old configuration still and all the processed logs are still there, but it still doesn't work right.

          I noticed there is some issue with one of the cgi files being compiled for the older version of perl or something? Is there a fix for 1.2 final for this?

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

            I hate to dig this thread up, but I figured it would be better than starting a new one.

            I'm seeing the same behavior as the original poster.  When clicking “LightSquid" under "Proxy Report” The following is displayed:

            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:

            I've enabled logging in the proxy server, as well as "Allow users on interface" check box checked.  I've also tried it with the "Transparent proxy" check box checked as well as unchecked.

            Any help would be appreciated.

            Thanks

            -Marty

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

              squid:
              – Enable log option
              -- Set log path as /var/squid/log
              -- use squid 5-10 min (web browsing trough squid)
              lightsquid
              -- click Refresh_now
              -- goto Lightsquid tab

              SquidGuardDoc EN  RU Tutorial
              Localization ru_PFSense

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

                Everything's done as you suggested, yet it still gives the exact same message as I posted.  What am I missing?

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

                  This message man only, what LS not have information in his DB.  For update information to LS db need have enabling squid log and squid must create log file in '/var/squid/log'.
                  Can you checking /var/squid/log/access.log file for exists?

                  SquidGuardDoc EN  RU Tutorial
                  Localization ru_PFSense

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

                    Access.log exists in /var/squid/log/, however it's empty…shocker right!

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

                      I don;t know how or why, but it seems to be working perfectly now.  Thanks for the help!

                      -Marty

                      1 Reply Last reply Reply Quote 0
                      • J
                        jan.gestre
                        last edited by

                        @dvserg:

                        This message man only, what LS not have information in his DB.  For update information to LS db need have enabling squid log and squid must create log file in '/var/squid/log'.
                        Can you checking /var/squid/log/access.log file for exists?

                        I'm experiencing the same issue, I've already reinstalled squid and lightsquid and repeat the same process thrice with futile results, /var/squid/log/access.log exists but empty, cache log though is not. I have 2 new pfsense deployment having this same issue but in my previous installations everything is working fine, I have no idea why this is happening, any ideas how to resolve this?

                        TIA

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

                          @jan:

                          @dvserg:

                          This message man only, what LS not have information in his DB.  For update information to LS db need have enabling squid log and squid must create log file in '/var/squid/log'.
                          Can you checking /var/squid/log/access.log file for exists?

                          I'm experiencing the same issue, I've already reinstalled squid and lightsquid and repeat the same process thrice with futile results, /var/squid/log/access.log exists but empty, cache log though is not. I have 2 new pfsense deployment having this same issue but in my previous installations everything is working fine, I have no idea why this is happening, any ideas how to resolve this?

                          Squid must work some time for not-empty /var/squid/log/access.log
                          Also check permissions.

                          SquidGuardDoc EN  RU Tutorial
                          Localization ru_PFSense

                          1 Reply Last reply Reply Quote 0
                          • J
                            jan.gestre
                            last edited by

                            Squid has been running for quite sometime now, more than 2 days already. What should be the correct file permission?

                            I know it's quite odd, I have a previous install way back and it's working alright but I can't seem to figure out this one.

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

                              @jan:

                              Squid has been running for quite sometime now, more than 2 days already. What should be the correct file permission?

                              I know it's quite odd, I have a previous install way back and it's working alright but I can't seem to figure out this one.

                              Access.log must have 'proxy' owner
                              Also check squid config gui for enable LOG option.

                              SquidGuardDoc EN  RU Tutorial
                              Localization ru_PFSense

                              1 Reply Last reply Reply Quote 0
                              • J
                                jan.gestre
                                last edited by

                                @dvserg:

                                @jan:

                                Squid has been running for quite sometime now, more than 2 days already. What should be the correct file permission?

                                I know it's quite odd, I have a previous install way back and it's working alright but I can't seem to figure out this one.

                                Access.log must have 'proxy' owner
                                Also check squid config gui for enable LOG option.

                                As you can see from the output of ls -l below, access.log is owned by proxy and was already rotated however it's an empty file. Log enabled option in squid is also enabled as I've mentioned awhile back.

                                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

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

                                  Do yuo click 'full refresh' button on LS gui?

                                  SquidGuardDoc EN  RU Tutorial
                                  Localization ru_PFSense

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jan.gestre
                                    last edited by

                                    @dvserg:

                                    Do yuo click 'full refresh' button on LS gui?

                                    Yes I did, I click both Refresh Now and Refresh full to no avail. I have another pfsense deployment yesterday and squid/lightsquid package works just fine, I can't seem to figure out this one though, perhaps a hard drive failure?

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