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

    Sarg wrong path to log files?

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 2 Posters 2.5k 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.
    • J
      jasonsfirewall
      last edited by

      Hi I upgraded from pfsense 2 to 2.1 and experienced problems with bandwidthd it stopped graphing and Sarg it stopped running reports.

      I followed some other posts and had to upgrade png and some other files and then reinstalled bandwidthd to get it working.

      I can't seem to get Sarg running though. Its pointing at the wrong location for squid log files. It should be /var/squid/logs/access.log

      Any ideas? thanks

      php: /pkg_edit.php: The command 'export LC_ALL=C && /usr/pbi/sarg-i386/bin/sarg ' returned exit code '1', the output was 'SARG: File not found: /var/log/squid/access.log'

      1 Reply Last reply Reply Quote 0
      • J
        jasonsfirewall
        last edited by

        Heres the answer http://forum.pfsense.org/index.php/topic,47765.0.html

        for whatever reason you have to modify the sarg conf file and modify the path to the log files /usr/local/etc/sarg/sar.conf.default

        Will that be fixed in another release? thanks

        1 Reply Last reply Reply Quote 0
        • J
          jasonsfirewall
          last edited by

          Can it be compiled to use graphs?

          php: /pkg_edit.php: The command 'export LC_ALL=C && /usr/pbi/sarg-i386/bin/sarg ' returned exit code '1', the output was 'SARG: (info) No graphs available as sarg was not compiled with libgd. Set "graphs" to "no" in /usr/pbi/sarg-i386/etc/sarg/sarg.conf to disable this warning SARG: Unknown value "hide" for parameter "realtime_unauthenticated_records"

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

            I've changed build options and asked a compile run last week, I'll do it again today.

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

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • J
              jasonsfirewall
              last edited by

              ok that would be great. thanks

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