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

    Error: 'SARG: Cannot set the locale LC_ALL to the environment variable'

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 3.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.
    • V
      victortassinari
      last edited by

      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
      report_settings.jpg
      report_settings.jpg_thumb
      sarg_realtime.jpg
      sarg_realtime.jpg_thumb
      sarg_reports.jpg
      sarg_reports.jpg_thumb
      schedule_options.jpg
      schedule_options.jpg_thumb
      system_log.jpg
      system_log.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • B
        benderunit9000
        last edited by

        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'
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.