Error: 'SARG: Cannot set the locale LC_ALL to the environment variable'
-
I have problems to run a scheduled task sarg. When I run the terminal command: 'sarg-x' or '/ usr/pbi/sarg-i386/bin/sarg' operates normally and generates the report successfully. But when I configure Sarg Schedules the report is not generated, even cliando in 'Force Update Now'. The system logs: "php: / pkg_edit.php: The command '/ usr/pbi/sarg-i386/bin/sarg' returned exit code '1 ', the output was' SARG: Can not Set the locale LC_ALL to the environment variable "
*Sarg RealTime Working
** tested on versions of squid 2.x and 3.x
-
I'm having the same issue.
here is my syslog:
Jul 31 21:30:51 **.***.***.*** php: /pkg_edit.php: Sarg: force refresh now with args, compress() and both action after sarg finish. Jul 31 21:30:51 **.***.***.*** php: /pkg_edit.php: The command '/usr/pbi/sarg-amd64/bin/sarg ' returned exit code '1', the output was 'SARG: Cannot set the locale LC_ALL to the environment variable'