LinuxTec
(usa Debian)
Enviado em 11/05/2009 - 13:38h
Então amigos alterei o meu access.log para access.log.old como dito alterei tbm dentro do meu sarg.con e dentro do squid e sem exito vou postar o erro e meu sarg.conf ..
Estou tentando e assim que conseguir post aqui a solução ..
SARG: Records in file: 540, reading: 100.00%
SARG: getword loop detected.
SARG: searching for 'x20'
SARG: Maybe you have a broken record or garbage in your access.log file.
# /etc/squid/sarg.conf
#
language Portuguese
access_log /var/log/squid/access.log.old
graphs yes
graph_days_bytes_bar_color orange
title "Squid User Access Reports"
font_face Tahoma,Verdana,Arial
header_color darkblue
header_bgcolor blanchedalmond
font_size 9px
header_font_size 9px
title_font_size 11px
background_color white
text_color #000000
text_bgcolor lavender
title_color green
logo_image none
temporary_dir /tmp
output_dir /var/www/squid-reports
topuser_sort_field TIME reverse
user_sort_field TIME reverse
exclude_users /etc/squid/sarg.users
exclude_hosts /etc/squid/sarg.hosts
date_format e
lastlog 0
remove_temp_files yes
index yes
index_tree file
overwrite_report no
records_without_userid ignore
use_comma no
topsites_num 100
topsites_sort_order CONNECT D
index_sort_order A
exclude_codes /etc/squid/sarg.exclude_codes
report_type topusers topsites sites_users users_sites date_time denied auth_failures site_user_time_date downloads
long_url no
charset Latin1
show_successful_message yes
show_read_statistics yes
topuser_fields NUM DATE_TIME USERID CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE
user_report_fields CONNECT BYTES %BYTES IN-CACHE-OUT USED_TIME MILISEC %TIME TOTAL AVERAGE
show_sarg_info no
show_sarg_logo no
parsed_output_log_compress /bin/gzip
www_document_root /var/www
download_suffix "zip,arj,bzip,gz,ace,doc,iso,adt,bin,cab,com,dot,drv$,lha,lzh,mdb,mso,ppt,rtf,src,shs,sys,exe,dll,mp3,avi,mpg,mpeg"