Squid

De gacq wiki
Saltar a: navegación, buscar

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