+ Responder ao Tópico



  1. #1
    guardian_metal
    Visitante

    Padrão sarg não gera relatórios

    qd rodo /usr/bin/sarg -f /etc/sarg/sarg.conf

    me aparece o seguinte:

    Now generating Sarg report from Squid log file /usr/local/squid/logs/access.log and all rotated versions ..

    /usr/bin/sarg -l /usr/local/squid/logs/access.log.1.gz
    SARG: Decompressing log file: /usr/local/squid/logs/access.log.1.gz > /tmp/sarg-file.in (zcat)
    SARG: Records in file: 64088, reading: 0.00%
    SARG: Records in file: 64088, reading: 7.80%
    SARG: Records in file: 64088, reading: 15.60%
    SARG: Records in file: 64088, reading: 23.41%
    SARG: Records in file: 64088, reading: 31.21%
    SARG: Records in file: 64088, reading: 39.01%
    SARG: Records in file: 64088, reading: 46.81%
    SARG: Records in file: 64088, reading: 54.61%
    SARG: Records in file: 64088, reading: 62.41%
    SARG: Records in file: 64088, reading: 70.22%
    SARG: Records in file: 64088, reading: 78.02%
    SARG: Records in file: 64088, reading: 85.82%
    SARG: Records in file: 64088, reading: 93.62%
    SARG: (removetmp) Cannot open file: /tmp/sarg_tmp/2005Jan23-2005Jan30/geral
    SARG: Records in file: 64088, reading: 100.00%

    .. Sarg failed! See the output above for details.

  2. #2
    guardian_metal
    Visitante

    Padrão sarg não gera relatórios

    Agora o erro que me deu foi esse:

    Now generating Sarg report from Squid log file /usr/local/squid/logs/access.log and all rotated versions ..

    /usr/bin/sarg -l /usr/local/squid/logs/access.log.1.gz
    SARG: Decompressing log file: /usr/local/squid/logs/access.log.1.gz > /tmp/sarg-file.in (zcat)
    SARG: Records in file: 64088, reading: 0.00%
    SARG: Records in file: 64088, reading: 7.80%
    SARG: Records in file: 64088, reading: 15.60%
    SARG: Records in file: 64088, reading: 23.41%
    SARG: Records in file: 64088, reading: 31.21%
    SARG: Records in file: 64088, reading: 39.01%
    SARG: Records in file: 64088, reading: 46.81%
    SARG: Records in file: 64088, reading: 54.61%
    SARG: Records in file: 64088, reading: 62.41%
    SARG: Records in file: 64088, reading: 70.22%
    SARG: Records in file: 64088, reading: 78.02%
    SARG: Records in file: 64088, reading: 85.82%
    SARG: Records in file: 64088, reading: 93.62%
    SARG: Successful report generated and sent to root
    SARG: Records in file: 64088, reading: 100.00%
    /usr/bin/sarg -l /usr/local/squid/logs/access.log.2.gz
    SARG: Decompressing log file: /usr/local/squid/logs/access.log.2.gz > /tmp/sarg-file.in (zcat)
    SARG: Records in file: 44442, reading: 0.00%
    SARG: Records in file: 44442, reading: 11.25%
    SARG: Records in file: 44442, reading: 22.50%
    SARG: Records in file: 44442, reading: 33.75%
    SARG: Records in file: 44442, reading: 45.00%
    SARG: Records in file: 44442, reading: 56.25%
    SARG: Records in file: 44442, reading: 67.50%
    SARG: Records in file: 44442, reading: 78.75%
    SARG: Records in file: 44442, reading: 90.00%
    SARG: Successful report generated and sent to root
    SARG: Records in file: 44442, reading: 100.00%
    /usr/bin/sarg -l /usr/local/squid/logs/access.log
    SARG: Records in file: 11880, reading: 0.00%
    SARG: Records in file: 11880, reading: 42.09%
    SARG: Records in file: 11880, reading: 84.18%
    SARG: Successful report generated and sent to root
    SARG: Records in file: 11880, reading: 100.00%

    .. Sarg finished, but no report was generated. See the output above for details.

  3. #3
    guardian_metal
    Visitante

    Padrão sarg não gera relatórios

    Problema Resolvido. Apenas tirei a opções de mandar e-mail para o root.