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

    I can't get SARG Report working

    Scheduled Pinned Locked Moved pfSense Packages
    31 Posts 11 Posters 13.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.
    • KOMK Offline
      KOM
      last edited by

      Oh, I had no idea.  I thought you were an employee of ESF.  My mistake.

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

        hello guys,

        By removing the /usr/local/sarg-reports folder and creating a symlink to /usr/pbi/amd-64/local/sarg-reports, it worked for me…

        Report options:
        graphics where possible
        remove temp files
        generate  main index
        generate index tree
        overwrite report
        show downloaded volume

        Reports to generate
        all selected

        versions
        Sarg : 2.3.9 v 0.6.4
        Squid : 3.4.10_2 0.2.6
        squidguard-suid3 : 1.4_7 v 1.9.6

        1 Reply Last reply Reply Quote 0
        • KOMK Offline
          KOM
          last edited by

          This works for 2.2:

          rm -r /usr/local/sarg-reports
          ln -s /usr/pbi/sarg-amd64/local/sarg-reports /usr/local/sarg-reports
          
          
          1 Reply Last reply Reply Quote 0
          • W Offline
            wcrowder
            last edited by

            Simple solution, it really is. Run pfSense in one Virtural Machine and run Squid 3.5.1 (Squid is developed on FreeBSD) on another VM in a different subnet. Use wpad.dat/proxy.pac to seamlessly integrate the two.  Sarg works really well this way installed from packages. AND you will learn a lot doing it.

            And it just works better this way.

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

              On freebsd ports, squid is still on 3.4

              When it gets updated to 3.5 I'll update pfsense package.

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

              Help a community developer! ;D

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

                I never understood why Squid lags behind on FreeBSD ports. The official repository states that Squid is developed on FreeBSD and the generic compile instructions are for FreeBSD.

                http://wiki.squid-cache.org/SquidFaq/CompilingSquid

                Since I run pfSense on ESXi, it makes it very easy to just fire up a minimal VM and build Squid from source. It seems to me to be a cleaner setup this way and I have far less problems with adding utility to Squid when I need it. Sarg works great and has full functionality. As it is, I have less the $200.00us in my ESXi pfSense/Squid setup.

                I'm only stating this as an option. I am not taking away from the fine pfSense Squid package.

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

                  Seems a loop process. If Amos release a version and update it on ports, would be easier.

                  Thanks for the suggestion.

                  @wcrowder:

                  I'm only stating this as an option. I am not taking away from the fine pfSense Squid package.

                  :) I know.

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

                  Help a community developer! ;D

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

                    Had same problem here. I try this and it working…

                    1. Reinstall Sarg Pkg

                    2. rm -rf /usr/local/sarg-reports

                    3. ln -s /usr/pbi/sarg-i386/local/sarg-reports /usr/local/sarg-reports

                    2.2-RELEASE (i386)
                    built on Thu Jan 22 14:04:25 CST 2015
                    FreeBSD 10.1-RELEASE-p4

                    Thank You Guys

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

                      confirming this worked for me too… i'm also on 64bit 2.2... THANKS!!!!

                      @KOM:

                      This works for 2.2:

                      rm -r /usr/local/sarg-reports
                      ln -s /usr/pbi/sarg-amd64/local/sarg-reports /usr/local/sarg-reports
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        killmasta93
                        last edited by

                        Thank you KOM and sujyo1  :)

                        Tutorials:

                        https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

                        1 Reply Last reply Reply Quote 0
                        • F Offline
                          firefox
                          last edited by

                          i have the same problem

                          Error: Could not find report index file.
                          Check and save sarg settings and try to force sarg schedule.
                          

                          i try the Repair instructions in this Thread
                          no luck dont work

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            polymathp
                            last edited by

                            First of Kudos, respect and props to 'marcelloc' for the amazing package

                            For those who still cannot get it working please remember follow the instructions for your version 32 bit or 64 bit

                            32 bit

                            1. Reinstall Sarg Pkg

                            2. rm -rf /usr/local/sarg-reports

                            3. ln -s /usr/pbi/sarg-i386/local/sarg-reports /usr/local/sarg-reports

                            64 bit

                            1. Reinstall Sarg Pkg

                            2. rm -rf /usr/local/sarg-reports

                            3. ln -s /usr/pbi/sarg-amd64/local/sarg-reports /usr/local/sarg-reports

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