Navigation

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

    Sarg Erro

    Portuguese
    4
    5
    457
    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.
    • B
      Balboa last edited by

      Boa tarde,

      Estou com problema nos Sarg na hora de vizualizar os relatórios

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

      Já fiz o procedimento de excluir e redirecionar o arquivo, mas tbm não deu certo.

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

      Alterei alguma opções na aba General e tbm não adiantou, forcei update e tbm nada.
      As vezes até da opção de ver, só que vc atualiza a página acontece o erro denovo :-\

      Segue o codigo do Sarg -x

      SARG: Init
      SARG: Loading configuration from /usr/local/etc/sarg/sarg.conf
      SARG: Loading exclude host file from: /usr/pbi/sarg-amd64/etc/sarg/exclude_hosts.conf
      SARG: Loading exclude file from: /usr/pbi/sarg-amd64/etc/sarg/exclude_users.conf
      SARG: Reading host alias file "/usr/pbi/sarg-amd64/etc/sarg/hostalias"
      SARG: List of host names to alias:
      SARG: Deleting temporary directory "/tmp/sarg"
      SARG: Parameters:
      SARG:           Hostname or IP address (-a) =
      SARG:                    Useragent log (-b) =
      SARG:                     Exclude file (-c) = /usr/pbi/sarg-amd64/etc/sarg/exclude_hosts.conf
      SARG:                  Date from-until (-d) =
      SARG:    Email address to send reports (-e) =
      SARG:                      Config file (-f) = /usr/local/etc/sarg/sarg.conf
      SARG:                      Date format (-g) = Europe (dd/mm/yyyy)
      SARG:                        IP report (-i) = No
      SARG:             Keep temporary files (-k) = No
      SARG:                        Input log (-l) = /var/squid/log/access.log
      SARG:               Resolve IP Address (-n) = No
      SARG:                       Output dir (-o) = /usr/local/sarg-reports/
      SARG: Use Ip Address instead of userid (-p) = No
      SARG:                    Accessed site (-s) =
      SARG:                             Time (-t) =
      SARG:                             User (-u) =
      SARG:                    Temporary dir (-w) = /tmp/sarg
      SARG:                   Debug messages (-x) = Yes
      SARG:                 Process messages (-z) = No
      SARG:  Previous reports to keep (--lastlog) = 7
      SARG:
      SARG: sarg version: 2.3.9 Sep-21-2014
      SARG: Reading access log file: /var/squid/log/access.log
      SARG: Records in file: 30743, reading: 100.00%
      SARG:    Records read: 30743, written: 25532, excluded: 5208
      SARG: Squid log format
      SARG: Period: 05 Nov 2015
      SARG: File /usr/local/sarg-reports/05Nov2015-05Nov2015 already exists, moved to /usr/local/sarg-reports/05Nov2015-05Nov2015.7
      SARG: Sorting log /tmp/sarg/192_168_1_40.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_40
      SARG: Sorting log /tmp/sarg/192_168_1_193.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_193
      SARG: Sorting log /tmp/sarg/192_168_1_7.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_7
      SARG: Sorting log /tmp/sarg/192_168_1_153.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_153
      SARG: Sorting log /tmp/sarg/192_168_1_152.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_152
      SARG: Sorting log /tmp/sarg/192_168_1_13.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_13
      SARG: Sorting log /tmp/sarg/192_168_1_169.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_169
      SARG: Sorting log /tmp/sarg/192_168_1_112.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_112
      SARG: Sorting log /tmp/sarg/192_168_1_36.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_36
      SARG: Sorting log /tmp/sarg/192_168_1_52.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_52
      SARG: Sorting log /tmp/sarg/192_168_1_130.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_130
      SARG: Sorting log /tmp/sarg/192_168_1_61.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_61
      SARG: Sorting log /tmp/sarg/192_168_1_126.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_126
      SARG: Sorting log /tmp/sarg/192_168_1_32.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_32
      SARG: Sorting log /tmp/sarg/192_168_1_12.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_12
      SARG: Sorting log /tmp/sarg/192_168_1_16.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_16
      SARG: Sorting log /tmp/sarg/192_168_1_154.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_154
      SARG: Sorting log /tmp/sarg/192_168_1_1.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_1
      SARG: Sorting log /tmp/sarg/192_168_1_27.user_unsort
      SARG: Making file: /tmp/sarg/192_168_1_27
      SARG: Sorting log /tmp/sarg/127_0_0_1.user_unsort
      SARG: Making file: /tmp/sarg/127_0_0_1
      SARG: Sorting file: /tmp/sarg/192_168_1_40.utmp
      SARG: Making report: 192.168.1.40
      SARG: Sorting file: /tmp/sarg/192_168_1_193.utmp
      SARG: Making report: 192.168.1.193
      SARG: Sorting file: /tmp/sarg/192_168_1_7.utmp
      SARG: Making report: 192.168.1.7
      SARG: Sorting file: /tmp/sarg/192_168_1_153.utmp
      SARG: Making report: 192.168.1.153
      SARG: Sorting file: /tmp/sarg/192_168_1_152.utmp
      SARG: Making report: 192.168.1.152
      SARG: Sorting file: /tmp/sarg/192_168_1_13.utmp
      SARG: Making report: 192.168.1.13
      SARG: Sorting file: /tmp/sarg/192_168_1_169.utmp
      SARG: Making report: 192.168.1.169
      SARG: Sorting file: /tmp/sarg/192_168_1_112.utmp
      SARG: Making report: 192.168.1.112
      SARG: Sorting file: /tmp/sarg/192_168_1_36.utmp
      SARG: Making report: 192.168.1.36
      SARG: Sorting file: /tmp/sarg/192_168_1_52.utmp
      SARG: Making report: 192.168.1.52
      SARG: Sorting file: /tmp/sarg/192_168_1_130.utmp
      SARG: Making report: 192.168.1.130
      SARG: Sorting file: /tmp/sarg/192_168_1_61.utmp
      SARG: Making report: 192.168.1.61
      SARG: Sorting file: /tmp/sarg/192_168_1_126.utmp
      SARG: Making report: 192.168.1.126
      SARG: Sorting file: /tmp/sarg/192_168_1_32.utmp
      SARG: Making report: 192.168.1.32
      SARG: Sorting file: /tmp/sarg/192_168_1_12.utmp
      SARG: Making report: 192.168.1.12
      SARG: Sorting file: /tmp/sarg/192_168_1_16.utmp
      SARG: Making report: 192.168.1.16
      SARG: Sorting file: /tmp/sarg/192_168_1_154.utmp
      SARG: Making report: 192.168.1.154
      SARG: Sorting file: /tmp/sarg/192_168_1_1.utmp
      SARG: Making report: 192.168.1.1
      SARG: Sorting file: /tmp/sarg/192_168_1_27.utmp
      SARG: Making report: 192.168.1.27
      SARG: Sorting file: /tmp/sarg/127_0_0_1.utmp
      SARG: Making report: 127.0.0.1
      SARG: 9 report directories found
      SARG: 2 old reports to delete
      SARG: Removing old report file 05Nov2015-05Nov2015.1
      SARG: Removing old report file 05Nov2015-05Nov2015.2
      SARG: Making index.html
      SARG: Successful report generated on /usr/local/sarg-reports/05Nov2015-05Nov2015
      SARG: Purging temporary file sarg-general
      SARG: End
      
      

      Alguém sabe uma solução ?

      1 Reply Last reply Reply Quote 0
      • S
        santello last edited by

        Tem um index.html dentro dessa pasta? /usr/local/sarg-reports/

        1 Reply Last reply Reply Quote 0
        • L
          LFCavalcanti last edited by

          Você precisa gerar pelo menos um relatório para o Index ser gerado.

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

            Bom dia,

            No caminho /usr/local/sarg-reports
            tem o index.html e images e os relatórios do dia.

            Observação:
            Fui ver se o relatório de ontem, engraçado que ele não armazenou nada e o de hj tem coisa armazenado, porém se vai na aba do view report e clica para visualizar da  o mesmo erro

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

              Estou com mesmo erro!

              Onde de hoje se eu analisar tem, porem amanha o de hoje nao mostra. :(

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Products

              • Platform Overview
              • TNSR
              • pfSense
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy