Gracias Alejandro, <br><br>Pues si, según la documentación hace exactamente lo que quiero, pero lo he instalado y no me va, <br>Al ejecutar los scripts del cron obtengo esto:<br><br>/usr/bin/sarg -o /var/www/sarg/daily/ -d 05/04/2009<br>
SARG: (language) Cannot open language file: /usr/local/sarg/languages/English<br><br>efectivamente no existe ese fichero, Existe en /etc/sarg/languages<br>Si hago un link simbólico para que lo encuentre me da un buffer overflow:<br>
<br>/usr/bin/sarg -o /var/www/sarg/daily/ -d 05/04/2009<br>*** buffer overflow detected ***: /usr/bin/sarg terminated<br>======= Backtrace: =========<br>/lib64/libc.so.6(__chk_fail+0x2f)[0x31a1ce6c2f]<br>/lib64/libc.so.6[0x31a1ce6099]<br>
/lib64/libc.so.6(_IO_default_xsputn+0x94)[0x31a1c6e244]<br>/lib64/libc.so.6(_IO_vfprintf+0x3e13)[0x31a1c464b3]<br>/lib64/libc.so.6(__vsprintf_chk+0x9d)[0x31a1ce613d]<br>/lib64/libc.so.6(__sprintf_chk+0x80)[0x31a1ce6080]<br>
/usr/bin/sarg[0x402e71]<br>/usr/bin/sarg[0x4083fc]<br>/lib64/libc.so.6(__libc_start_main+0xf4)[0x31a1c1d974]<br>/usr/bin/sarg[0x4015a9]<br>======= Memory map: ========<br>00400000-00427000 r-xp 00000000 09:01 8378167                            /usr/bi                                                                                                 n/sarg<br>
00626000-00627000 rw-p 00026000 09:01 8378167                            /usr/bi                                                                                                 n/sarg<br>00627000-00698000 rw-p 00627000 00:00 0<br>
14f07000-14f28000 rw-p 14f07000 00:00 0                                  [heap]<br>31a1800000-31a181c000 r-xp 00000000 09:01 18626859                       /lib64/                                                                                                 <a href="http://ld-2.5.so">ld-2.5.so</a><br>
31a1a1b000-31a1a1c000 r--p 0001b000 09:01 18626859                       /lib64/                                                                                                 <a href="http://ld-2.5.so">ld-2.5.so</a><br>
31a1a1c000-31a1a1d000 rw-p 0001c000 09:01 18626859                       /lib64/                                                                                                 <a href="http://ld-2.5.so">ld-2.5.so</a><br>
31a1c00000-31a1d4c000 r-xp 00000000 09:01 18626982                       /lib64/                                                                                                 <a href="http://libc-2.5.so">libc-2.5.so</a><br>
31a1d4c000-31a1f4c000 ---p 0014c000 09:01 18626982                       /lib64/                                                                                                 <a href="http://libc-2.5.so">libc-2.5.so</a><br>
31a1f4c000-31a1f50000 r--p 0014c000 09:01 18626982                       /lib64/                                                                                                 <a href="http://libc-2.5.so">libc-2.5.so</a><br>
31a1f50000-31a1f51000 rw-p 00150000 09:01 18626982                       /lib64/                                                                                                 <a href="http://libc-2.5.so">libc-2.5.so</a><br>
31a1f51000-31a1f56000 rw-p 31a1f51000 00:00 0<br>31b0600000-31b060d000 r-xp 00000000 09:01 18626985                       /lib64/                                                                                                 libgcc_s-4.1.2-20080825.so.1<br>
31b060d000-31b080d000 ---p 0000d000 09:01 18626985                       /lib64/                                                                                                 libgcc_s-4.1.2-20080825.so.1<br>31b080d000-31b080e000 rw-p 0000d000 09:01 18626985                       /lib64/                                                                                                 libgcc_s-4.1.2-20080825.so.1<br>
2af319844000-2af319846000 rw-p 2af319844000 00:00 0<br>2af31985d000-2af31985f000 rw-p 2af31985d000 00:00 0<br>7fff91225000-7fff91266000 rw-p 7ffffffbe000 00:00 0                      [stack]<br>ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0                  [vdso]<br>
<br><br>Vamos que no va, <br><br>He instalado 2 versiones distintas con el mismo resultado:<br>64 bits<br>sarg-1.4.1-5.dag.el5.rf.x86_64.rpm<br>sarg-1.4.1-6.el5.rf.x86_64.rpm<br><br>32 bits<br>sarg-1.4.1-5.dag.el5.rf.i386.rpm<br>
<br>¿Estoy haciendo algo mal?<br><br>Un saludo<br>ESG<br><br><br><br><div class="gmail_quote">El 4 de abril de 2009 6:24, Alejandro Escalante <span dir="ltr"><<a href="mailto:alejandro_escalante@yahoo.com">alejandro_escalante@yahoo.com</a>></span> escribió:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Estimado ESG, <br>
<br><span>Te recomiendo emplear SARG <a href="http://sarg.sourceforge.net/" target="_blank">http://sarg.sourceforge.net/</a></span><br>hace exactamente lo que requieres :D<br><br>Saludos<br><br>Alejandro Escalante<br></div>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> ESGLinux <<a href="mailto:esggrupos@gmail.com" target="_blank">esggrupos@gmail.com</a>><br>
<b><span style="font-weight: bold;">To:</span></b> Fedora discussions in Spanish <<a href="mailto:fedora-es-list@redhat.com" target="_blank">fedora-es-list@redhat.com</a>><br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, April 2, 2009 11:52:27 AM<br>
<b><span style="font-weight: bold;">Subject:</span></b> squid + webalizer o awstats o cualquier otro<br></font><div><div></div><div class="h5"><br>
Buenas tardes a todos, <br><br>Tengo montado squid como web-proxy y funciona a las mil maravillas. <br><br>Ahora estoy mirando para implementar un analizador de los logs del squid para llevar un control de los sitios más accedidos por los equipos de mi red. <br>

<br>he probado con webalizer y awstas pero hay un detalle que echo en falta en los reportes que generan los dos.<br><br>A mi me gustaría tener una opción que sacara los sitios visitados por un host en concreto. <br>Tanto el webalizer como el awstats me sacan los hosts y las urls por separado. <br>

<br>Puede que sea alguna opción de configuración que desconozco. <br><br>el formato de los logs configurado en el squid es este:<br><br>logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh<br>

access_log /var/log/squid/access.log combined<br><br>y las configuraciones en el awstats respecto a los logs son las siguientes:<br><br>Webalizer<br>LogType combined<br><br>awstats:<br>LogFormat=1<br><br>Alguna sugerencia ? también me vale usar cualquier otro tipo de sotware para analizar las estadísticas. (en este aspecto no me caso con ningún sistema ;-) )<br>

<br>Un saludo y gracias por adelantado<br><br>ESG<br><br>
</div></div></div></div></div><br>

      </div><br>--<br>
Fedora-es-list mailing list<br>
<a href="mailto:Fedora-es-list@redhat.com">Fedora-es-list@redhat.com</a><br>
To unsubscribe:<br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-es-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-es-list</a><br></blockquote></div><br>