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

    Problema con SARG

    Scheduled Pinned Locked Moved Español
    2 Posts 1 Posters 1.0k 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.
    • R
      rolg
      last edited by

      hola a todos; tengo un pequeño problema con SARG, al generar los reportes me falla y este es el log:

      | Nov 3 13:00:18 | php: sarg.php: The command 'export LC_ALL=C && /usr/pbi/sarg-amd64/bin/sarg -d date +%d/%m/%Y' returned exit code '1', the output was 'SARG: Records in file: 18716, reading: 0.00%^MSARG: Records in file: 5000, reading: 26.72%^MSARG: Records in file: 10000, reading: 53.43%^MSARG: Records in file: 15000, reading: 80.15%^MSARG: Period covered by log files: 03/11/2014-03/11/2014 SARG: cannot stat /usr/local/sarg-reports/03Nov2014-03Nov2014/rolg/ttrolg-www.aki.es_themes_aki2013_styles_print.css.html SARG: Records in file: 18716, reading: 100.00%' |
      | Nov 3 13:00:1 3 | php: /pkg_edit.php: The command 'export LC_ALL=C && /usr/pbi/sarg-amd64/bin/sarg -d date +%d/%m/%Y' returned exit code '1', the output was 'SARG: Records in file: 18710, reading: 0.00%^MSARG: Records in file: 5000, reading: 26.72%^MSARG: Records in file: 10000, reading: 53.45%^MSARG: Records in file: 15000, reading: 80.17%^MSARG: Period covered by log files: 03/11/2014-03/11/2014 SARG: Cannot delete "/tmp/sarg/rcr.user_log": No such file or directory SARG: Records in file: 18710, reading: 100.00%'
      no entiendo muy bien como funciona SARG pero el error de del export LC_ALL no sale aqui y es el unico que he podido leer en los post.
      si alguien pudiera decirme de que se trata este…
      gracias de antemano

      utilizo pfsense 2.1.5-RELEASE (amd64)

      | Sarg | Network Report | 2.3.6_2 pkg v.0.6.3 |
      | squid3 | Network | 3.1.20 pkg 2.1.1 |
      | squidGuard-squid3 | Network Management | 1.4_4 pkg v.1.9.5    |

      y esta es mi configuracion de SARG:

      proxy server:
        squid
      report options:   
        use graphics
        convert ip addr…
        remove temporary files....
        generate the main index
        generate the index tree...
        overwrite report
        use comma instead....
        show full url...
        show bytes in sites users reports
        show values in reports using abbrev...
        show the download volume...
        show the download elapsed time .....

      |

      1 Reply Last reply Reply Quote 0
      • R
        rolg
        last edited by

        he resuelto quitando la opcion de remove temporary files….
        ;)

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