Boa Tarde Galera,
Estou cnfigurando meu squid com o squid.conf da seguinte maneira:
#############################
### Administracao ###
#############################
coredump_dir /var/cache/squid
http_port 3128
cache_mgr [email protected]
request_body_max_size 45 MB
request_header_max_size 10000 KB
ie_refresh on
cache_mem 100 MB
cache_dir ufs /var/log/squid/squid 300 32 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
##############################
###### ACL ######
##############################
acl all src 0.0.0.0/0.0.0.0
acl lan src 192.168.1.0/255.255.255.0
acl abre_porta port 80 8080 21 22 443 53 25 110
acl bloq_conteudo urlpath_regex \.torrent$
acl sites_bloquados dstdomain -i "/etc/squid/acl/sites_bloqueados"
###############################
### Aplica as ACLs ###
###############################
http_access deny all
http_acess allow abre_porta
http_access allow lan
http_access deny bloq_conteudo
http_access deny sites_bloqueados
Quando tento inicar o serviço, recebo a seguinte mensagem:
~# /etc/init.d/squid start
Starting Squid HTTP proxy: squidFATAL: cache_dir /var/log/squid/squid: (2) No such file or directory
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.000 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
/etc/init.d/squid: line 73: 3505 Abortado start-stop-daemon --quiet --start --pidfile $PIDFILE --chuid $CHUID --exec $DAEMON -- $SQUID_ARGS < /dev/null
failed!
Onde está o erro?