/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'
-
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.
-
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.
-
@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?
-
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.
-
@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.