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

    Sarg - Erro Could not find report index file

    Scheduled Pinned Locked Moved Portuguese
    3 Posts 3 Posters 1.1k 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.
    • S Offline
      saulo_muzz
      last edited by

      Pessoal vinha sofrendo com o erro do sarg:

      Error: Could not find report index file.
      Check and save sarg settings and try to force sarg schedule.

      Mas hoje achei uma solução para que ele funcione,

      Fazendo umas analise no onde o SARG estava gerando os arquivos vi que ele estava salvando em
      /usr/pbi/sarg-amd64/local/sarg-reports/….

      Mas o view report busca em  /usr/local/sarg-reports (pra que isso filho.  :o).

      O que eu fiz para resolver foi apagar a pasta onde o view le os arquivo e criei um link para a pasta onde ele salva.

      ln -s /usr/pbi/sarg-amd64/local/sarg-reports/ /usr/local/sarg-reports

      Espero ter ajudado.  ;D

      1 Reply Last reply Reply Quote 0
      • C Offline
        cristianonix
        last edited by

        Na Versão do Pfsense 2.2 i386, somente com esse comando não funciona, tem bug mesmo.

        SARG Version: 2.3.9 Sep-21-2014

        FIX ERROR by Cristiano Bosenbecker Hellwig

        Edit /usr/local/pkg/sarg.inc

        IN -> Function run_sarg

        OF:

        $cmd =  SARG_DIR . "/bin/sarg";

        TO:

        $cmd =  mwexec(" export LC_ALL=C && /usr/local/bin/sarg");

        –---------------------------

        Need create symbolic link
        OF:  /usr/pbi/sarg-i386/local/sarg-reports/
        TO: /usr/local/sarg-reports

        Using the command below:

        ln -s /usr/pbi/sarg-i386/local/sarg-reports/ /usr/local/sarg-reports

        Encontrei esse problema ontem, espero ter ajudado.
        Espero ter ajudado.

        1 Reply Last reply Reply Quote 0
        • J Offline
          juninhoandrade
          last edited by

          Solução :

          https://forum.pfsense.org/index.php?topic=89485.0

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