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

    Sarg doesn't work

    Scheduled Pinned Locked Moved pfSense Packages
    20 Posts 3 Posters 8.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.
    • E
      EOC2611P
      last edited by

      Followed the new instructions, but the problem it's still there

      SargPutty2.jpg
      SargPutty2.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • E
        EOC2611P
        last edited by

        There is no way to delete the file on PFSense ??

        _usr_local_sarg-reports.jpg
        _usr_local_sarg-reports.jpg_thumb

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

          try to remove sarg-reports dir and then save sarg config again

          rm -rf /usr/local/sarg-reports

          before saving sarg config again, check if it was deleted

          ls /usr/local/sarg-repors

          are you using nanobsd or full install?

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

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • E
            EOC2611P
            last edited by

            I am using a "Full Install", a whole pc totally dedicated at PFSense and nothing else running on it.
            After i insert the new code in Putty, there is no aknowledgement at all that something was deleted, nothing, however i can see that the folder is no longer there.
            The problem it's still there.
            I forced a new update, saved, re-forced, swapped a few things to see if it trigger something but nothing to do, it just recreated a new Sarg-Reports folder but it doesn't connect to the reports.
            The Real Time option it works fine.

            PuttySarg3.jpg
            PuttySarg3.jpg_thumb
            SargDiagnostics.jpg
            SargDiagnostics.jpg_thumb
            SargRealTime.jpg
            SargRealTime.jpg_thumb

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

              After removing folder, you need to apply settings(not force update now) to sarg recreate the folder.

              After creating the folder, run sarg on console and check if it returns erros.

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

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • E
                EOC2611P
                last edited by

                Ok, just to make sure i am doing everything right, when you write "apply" the new settings, you just mean to click on "save", right?

                Here is the result, it seems that Sarg it's still looking for something which is not there, also, everytime the new reports's folder is created, it also bring back to life the old reports's folder which starts from the 12 of April…

                PuttySarg4.jpg
                PuttySarg4.jpg_thumb
                SargReports.jpg
                SargReports.jpg_thumb

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

                  Maybe your report file is too large and sarg could not finish it's job.

                  Include the -d date +%d/%m/%Y-date +%d/%m/%Y arg to sarg schedule to force a one day report.

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

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • E
                    EOC2611P
                    last edited by

                    Well, i don't know, that string is exactly a copy of what is there now.
                    What i did try in between, is to re-install Sarg = didn't work.
                    Remove and re-install Sarg = didn't work.
                    Install all the other 2 packages (DansGuardian & SquidGuard) to see if it was just a compatibility problem with the one that is currently using(Squid) = didn't work.
                    So, in light of this, i think it is actually taking too much time and efforts from both of us, thank you so much anyway for trying to solve my problem, i am giving up  :-[

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

                      EOC2611P,

                      It maybe a missing detail, I have some sargs running on pfsense without issues.

                      att,
                      Marcello Coutinho

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

                      Help a community developer! ;D

                      1 Reply Last reply Reply Quote 0
                      • B
                        bctmo
                        last edited by

                        I just wanted to jump in and let people know if what my experience was;

                        I installed Sarg and had the same issue.

                        I tried all that was suggested in this thread and didn't find resolution.

                        What seemed to work for me (and quite possibly is not the best solution) was to remove the Sarg package, connect to pfSense with WinSCP, navigate to usr/local and delete the sarg-reports directory.

                        When I re installed the Sarg package, the reports worked fine.

                        Just my 2c.

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