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

    Problems with Sarg and Lightsquid both.

    Scheduled Pinned Locked Moved pfSense Packages
    7 Posts 3 Posters 3.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.
    • R
      revweasel
      last edited by

      lightsquid will not generate reports on its own. if i run lightparser.pl from the shell it will generate connect reports. but with its own schedule it does not generate reports. in fact it has been erasing the reports for today that were generated from the command line. leaving me with the reports for yesterday but not today.

      sarg, builds reports but will not display them. the reports exist as shown here, but it seems the sanity check does not detect them.
      [2.0.1-RELEASE][admin@cityhall-firewall.boonville-mo.local]/usr/local/www/sarg-reports/2012/05(8): ls -al
      total 82
      drwxr-xr-x  41 root  wheel  1024 May 22 08:20 .
      drwxr-xr-x  3 root  wheel  512 May 16 08:38 ..
      drwxr-xr-x  35 root  wheel  1536 May 21 19:44 16-21
      drwxr-xr-x  36 root  wheel  1536 May 22 02:01 16-22
      drwxr-xr-x  3 root  wheel  512 May 16 08:38 16.1
      drwxr-xr-x  3 root  wheel  512 May 16 13:40 16.10
      drwxr-xr-x  3 root  wheel  512 May 16 14:20 16.11
      drwxr-xr-x  3 root  wheel  512 May 16 15:00 16.12
      drwxr-xr-x  3 root  wheel  512 May 16 15:40 16.13
      drwxr-xr-x  3 root  wheel  512 May 16 16:20 16.14
      drwxr-xr-x  3 root  wheel  512 May 16 17:00 16.15
      drwxr-xr-x  3 root  wheel  512 May 16 17:40 16.16
      drwxr-xr-x  3 root  wheel  512 May 16 18:20 16.17
      drwxr-xr-x  3 root  wheel  512 May 16 08:38 16.2
      …. and so on.

      but sarg_frame.php displays this error

      else{
      print "```
      Error: Could not find report index file.
      Check sarg settings and try to force sarg schedule.";
      }

      so why is it not finding its reports?  both work fine on other installations i have.

      thanks

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        did you selected on sarg config these two options?

        generate the main index.html
        generate the index tree by file

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

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

          @marcelloc:

          did you selected on sarg config these two options?

          generate the main index.html
          generate the index tree by file

          that fixed sarg, THANK YOU.  now i just need to figure out how to fix lightsquid. might deleting the reports help? could there be some kind of permissions issue from the root generated reports?

          1 Reply Last reply Reply Quote 0
          • K
            konradwalsh
            last edited by

            i am struggling with this..
            I got sarg working without problems.. the access.log is filling up

            but cannot get lightsquid to run..

            1 Reply Last reply Reply Quote 0
            • K
              konradwalsh
              last edited by

              i might add that lightsquid works fine when I change the log location to /var/squid/logs/

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

                @konradwalsh:

                i might add that lightsquid works fine when I change the log location to /var/squid/logs/

                logs are at /var/squid/logs otherwise no reports would generate.  it looks like it might only be generating lightsquid reports for the previous day unless i run it manually.

                1 Reply Last reply Reply Quote 0
                • marcellocM
                  marcelloc
                  last edited by

                  Are you rotating logs after sarg run?

                  If so, lightsquid will not find any log to report.

                  Treinamentos de Elite: http://sys-squad.com

                  Help a community developer! ;D

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