Diferencia entre revisiones de «Squid»

De gacq wiki
Saltar a: navegación, buscar
(basicauthenticator)
(Estadisticas)
 
Línea 1: Línea 1:
 
=Estadisticas=
 
=Estadisticas=
 +
;/etc/logrotate.d/squid
 +
<pre>
 +
/var/log/squid/*.log {
 +
        daily
 +
        compress
 +
        delaycompress
 +
        rotate 2
 +
        missingok
 +
        nocreate
 +
        sharedscripts
 +
        prerotate
 +
                test ! -x /usr/sbin/sarg-maint || /usr/sbin/sarg-maint
 +
        endscript
 +
        postrotate
 +
                test ! -e /var/run/squid.pid || /usr/sbin/squid -k rotate
 +
        endscript
 +
}
 +
</pre>
 +
 
==Sarg==
 
==Sarg==
 
==webalizer==
 
==webalizer==
Línea 5: Línea 24:
 
==calamaris==
 
==calamaris==
 
==srg==
 
==srg==
 
  
 
=Errores=
 
=Errores=

Revisión actual del 17:44 27 nov 2009

Estadisticas

/etc/logrotate.d/squid
/var/log/squid/*.log {
        daily
        compress
        delaycompress
        rotate 2
        missingok
        nocreate
        sharedscripts
        prerotate
                test ! -x /usr/sbin/sarg-maint || /usr/sbin/sarg-maint
        endscript
        postrotate
                test ! -e /var/run/squid.pid || /usr/sbin/squid -k rotate
        endscript
}

Sarg

webalizer

cachemgr

calamaris

srg

Errores

basicauthenticator

Mar 20 08:57:06 debian01 squid[4981]: WARNING: basicauthenticator #4 (FD 10) exited
Mar 20 08:57:10 debian01 squid[4981]: WARNING: basicauthenticator #5 (FD 11) exited
Mar 20 08:57:10 debian01 squid[4981]: WARNING: basicauthenticator #1 (FD 17) exited
Mar 20 08:57:10 debian01 squid[4981]: WARNING: basicauthenticator #2 (FD 21) exited
Mar 20 08:57:16 debian01 squid[4981]: WARNING: basicauthenticator #3 (FD 22) exited
Mar 20 08:57:16 debian01 squid[4981]: Too few basicauthenticator processes are running
Mar 20 08:57:16 debian01 squid[4981]: The basicauthenticator helpers are crashing too rapidly, need help!
Mar 20 08:57:16 debian01 squid[4979]: Squid Parent: child process 4981 exited due to signal 6
Solution

Check password file permisions

chown proxy:www-data /etc/squid/passwd
chmod 660 /etc/squid/passwd