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

/usr/local/www/sarg.php: The command 'export LC_ALL=C && /usr/local/bin/sarg ' returned exit code '1', the output was 'SARG: File "" not found'

Scheduled Pinned Locked Moved Cache/Proxy
5 Posts 2 Posters 749 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.
  • M
    mateusscheper
    last edited by Oct 3, 2018, 5:13 PM

    From time to time, Sarg stops working and returns this message in Status > System Logs > System > General: /usr/local/www/sarg.php: The command 'export LC_ALL=C && /usr/local/bin/sarg ' returned exit code '1', the output was 'SARG: File "" not found'.
    How can I find the root of the problem and fix it?

    I'm using pfSense 2.4.3-RELEASE-p1 and E2guardian5.

    1 Reply Last reply Reply Quote 0
    • K
      KOM
      last edited by Oct 3, 2018, 5:29 PM

      That package isn't offered or supported anymore I believe.

      Shell in and manually run:

      export LC_ALL=C && sarg -x

      and see what it says. Sarg was a very finicky package and if you didn't set it options correctly, the whole thing wouldn't work. I've seen this problem related to a missing squid log file.

      M 1 Reply Last reply Oct 3, 2018, 5:33 PM Reply Quote 0
      • M
        mateusscheper @KOM
        last edited by Oct 3, 2018, 5:33 PM

        @kom said in /usr/local/www/sarg.php: The command 'export LC_ALL=C && /usr/local/bin/sarg ' returned exit code '1', the output was 'SARG: File "" not found':

        Shell in and manually run:

        export LC_ALL=C && sarg -x

        and see what it says. Sarg was a very finicky package and if you didn't set it options correctly, the whole thing wouldn't work. I've seen this problem related to a missing squid log file.

        When running export LC_ALL=C && sarg -x or simply sarg -x, it works, but first I have to go to Status > Sarg Reports > Users and hit Save.

        That package isn't offered or supported anymore I believe.

        Which one could I use to replace Sarg when using E2guardian?

        1 Reply Last reply Reply Quote 0
        • K
          KOM
          last edited by Oct 3, 2018, 6:00 PM

          I don't know. E2Guardian isn't a supported package either. You are on your own with those.

          You never touch it, and it usually works but sometimes not? Strange.

          M 1 Reply Last reply Oct 3, 2018, 8:53 PM Reply Quote 0
          • M
            mateusscheper @KOM
            last edited by Oct 3, 2018, 8:53 PM

            @kom said in /usr/local/www/sarg.php: The command 'export LC_ALL=C && /usr/local/bin/sarg ' returned exit code '1', the output was 'SARG: File "" not found':

            I don't know. E2Guardian isn't a supported package either. You are on your own with those.

            You never touch it, and it usually works but sometimes not? Strange.

            I'm using Sarg and Lightsquid for now. Let's see if it happens with Lightsquid too.
            Thank you for your time, Sir. 🤓

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received