Enviado em 01/11/2012 - 00:35h
Boa noite família do VOL.
Estou precisando de uma ajuda de vocês, estou usando o ubuntu 12.10 e instalei o squid3 para poder usa-lo, so que quando vou restarta-lo: service squid3 restart,aparece o seguinte erro:
stop: Unknown instance:
start: Job failed to start
Abaixo ta a configuração do squid.conf
Desde ja agradeço quem poder me ajudar.
####Configuração padrao ####
http_port 3128
visible_hostname servlinux
cache_mem 128 MB
maximum_object_size_in_memory 100 KB
maximum_object_size 6144 KB
minimum_object_size 0 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
cache_replacement_policy lru
memory_replacement_policy lru
logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt
maximum_object_size_in_memory 4 MB
cache_dir ufs /var/spool/squid3 3000 16 256
cache_swap_low 90
cache_swap_high 95
access_log /var/log/squid3/access.log squid
cache_mgr eu@gmail.com
error_directory /usr/share/squid3/errors/pt-br
coredump_dir /var/spool/squid3
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
###################################################3
## Autenticaçao##
auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/senhas
auth_param basic children 10
auth_param basic renalm PARA OBTER LOG E SENHA FALE COM O ADM DA REDE
auth_param basic credentialsttl 1 hour
auth_param basic casesensitive off
###################################################################
#### ACLS ##########
acl SSL_ports port 443 563 # snews
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 407 1863 5190 # msn
acl Safe_ports port 25 # smtp
acl Safe_ports port 110 # pop
acl CONNECT method CONNECT
acl autenticados proxy_auth REQUIRED
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl all src all
##### acl onde ficarão os bloqueios####
acl negados1 url_regex -i “/etc/squid3/bloqueios/negados1”
acl negados2 url_regex -i “/etc/squid3/bloqueios/negados2”
acl negados3 url_regex -i “/etc/squid3/bloqueios/negados3”
acl downloads url_regex -i “/etc/squid3/bloqueios/downloads”
acl downloadsliberados url_regex -i “/etc/squid3/bloqueios/downloadsliberados”
#####acl das hierarquias ####
acl diretores Proxy_auth “/etc/squid3/grupos/diretores”
acl funcionarios Proxy_auth “/etc/squid3/grupos/funcionarios”
acl estagiarios Proxy_auth “/etc/squid3/grupos/estagiarios”
###http_access permissões e negações ###
http_access allow manager localhost
http_access deny manager
http_access deny negados1
http_access deny downloads !downloadsliberados
http_access allow diretores
http_access deny negados2
http_access allow funcionarios
http_access deny negados3
http_access allow estagiarios
http_access deny all
Estou precisando de uma ajuda de vocês, estou usando o ubuntu 12.10 e instalei o squid3 para poder usa-lo, so que quando vou restarta-lo: service squid3 restart,aparece o seguinte erro:
stop: Unknown instance:
start: Job failed to start
Abaixo ta a configuração do squid.conf
Desde ja agradeço quem poder me ajudar.
####Configuração padrao ####
http_port 3128
visible_hostname servlinux
cache_mem 128 MB
maximum_object_size_in_memory 100 KB
maximum_object_size 6144 KB
minimum_object_size 0 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
cache_replacement_policy lru
memory_replacement_policy lru
logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt
maximum_object_size_in_memory 4 MB
cache_dir ufs /var/spool/squid3 3000 16 256
cache_swap_low 90
cache_swap_high 95
access_log /var/log/squid3/access.log squid
cache_mgr eu@gmail.com
error_directory /usr/share/squid3/errors/pt-br
coredump_dir /var/spool/squid3
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
###################################################3
## Autenticaçao##
auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/senhas
auth_param basic children 10
auth_param basic renalm PARA OBTER LOG E SENHA FALE COM O ADM DA REDE
auth_param basic credentialsttl 1 hour
auth_param basic casesensitive off
###################################################################
#### ACLS ##########
acl SSL_ports port 443 563 # snews
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 407 1863 5190 # msn
acl Safe_ports port 25 # smtp
acl Safe_ports port 110 # pop
acl CONNECT method CONNECT
acl autenticados proxy_auth REQUIRED
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl all src all
##### acl onde ficarão os bloqueios####
acl negados1 url_regex -i “/etc/squid3/bloqueios/negados1”
acl negados2 url_regex -i “/etc/squid3/bloqueios/negados2”
acl negados3 url_regex -i “/etc/squid3/bloqueios/negados3”
acl downloads url_regex -i “/etc/squid3/bloqueios/downloads”
acl downloadsliberados url_regex -i “/etc/squid3/bloqueios/downloadsliberados”
#####acl das hierarquias ####
acl diretores Proxy_auth “/etc/squid3/grupos/diretores”
acl funcionarios Proxy_auth “/etc/squid3/grupos/funcionarios”
acl estagiarios Proxy_auth “/etc/squid3/grupos/estagiarios”
###http_access permissões e negações ###
http_access allow manager localhost
http_access deny manager
http_access deny negados1
http_access deny downloads !downloadsliberados
http_access allow diretores
http_access deny negados2
http_access allow funcionarios
http_access deny negados3
http_access allow estagiarios
http_access deny all