Enviado em 01/09/2010 - 09:53h
e awe... galerinha do mau... to com um b.o to com problema no squid e não sei o que é
abaixo:
Quando eu vou dar o restart
sudo /etc/init.d/squid restart
da essa mensagem
since the script you are attempting to invoke has been converted to an upsstart job,you may also use the restart (8) utility, e.g restart squid
start: Job Failed to start
#_________________tradução______________#
uma vez que o script que você está tentando invocar foi convertido para um trabalho upsstart, você também pode usar o reinício (8) de utilidade, por exemplo, reiniciar o squid
start: Falha ao iniciar o trabalho
eu não sei o que é
abaixo a configuração do squid.conf
#/etc/squid/squid.conf______________Arquivo de Diretorio_
#_____________________Configuração Squid_________________
#_____________________Por Jonathan Rodrigues______________
#_____________________john_master12@hotmail.com___________
http_port 192.168.0.253:3140 transparent
visible_hostname proxycoesa
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache_mem 100 MB
#_______Otimização do sistema________
maximum_object_size 1024 MB
minimum_object_size 0 KB
cache_swap_low 50
cache_swap_high 90
cache_access_log /var/log/squid/access.log
#____________________ACLS Normais_________
acl all src 192.168.1.0/255.255.255.0
delay_pools 1
delay_class 1 2
delay_parameters 1 114688/114688 32768/32768
delay_access 1 allow all
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl SSL_ports port 873
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 631
acl Safe_ports port 873
acl Safe_ports port 901
acl purge method PURGE
acl CONNECT method CONNECT
no_cache deny QUERY
#_______________Aplicação da ACL____________
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow purge localhost
http_access deny purge
http_access allow localhost
http_access deny administracao PornoURLs
http_access deny producao PornoURLs
http_access deny castigo PornoURLs
http_access deny Diretoria PornoURLs
http_access deny administracao AdministracaoURLs !almoco
http_access deny producao ProducaoURLs !almoco
http_access deny castigo AdministracaoURLs
http_access deny administracao executaveis
http_access deny producao executaveis
http_access allow Diretoria
http_access allow producao
http_access allow administracao
http_access allow castigo
http_access deny all
http_reply_access allow all
#_____________fim____________________
abaixo:
Quando eu vou dar o restart
sudo /etc/init.d/squid restart
da essa mensagem
since the script you are attempting to invoke has been converted to an upsstart job,you may also use the restart (8) utility, e.g restart squid
start: Job Failed to start
#_________________tradução______________#
uma vez que o script que você está tentando invocar foi convertido para um trabalho upsstart, você também pode usar o reinício (8) de utilidade, por exemplo, reiniciar o squid
start: Falha ao iniciar o trabalho
eu não sei o que é
abaixo a configuração do squid.conf
#/etc/squid/squid.conf______________Arquivo de Diretorio_
#_____________________Configuração Squid_________________
#_____________________Por Jonathan Rodrigues______________
#_____________________john_master12@hotmail.com___________
http_port 192.168.0.253:3140 transparent
visible_hostname proxycoesa
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache_mem 100 MB
#_______Otimização do sistema________
maximum_object_size 1024 MB
minimum_object_size 0 KB
cache_swap_low 50
cache_swap_high 90
cache_access_log /var/log/squid/access.log
#____________________ACLS Normais_________
acl all src 192.168.1.0/255.255.255.0
delay_pools 1
delay_class 1 2
delay_parameters 1 114688/114688 32768/32768
delay_access 1 allow all
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl SSL_ports port 873
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 631
acl Safe_ports port 873
acl Safe_ports port 901
acl purge method PURGE
acl CONNECT method CONNECT
no_cache deny QUERY
#_______________Aplicação da ACL____________
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow purge localhost
http_access deny purge
http_access allow localhost
http_access deny administracao PornoURLs
http_access deny producao PornoURLs
http_access deny castigo PornoURLs
http_access deny Diretoria PornoURLs
http_access deny administracao AdministracaoURLs !almoco
http_access deny producao ProducaoURLs !almoco
http_access deny castigo AdministracaoURLs
http_access deny administracao executaveis
http_access deny producao executaveis
http_access allow Diretoria
http_access allow producao
http_access allow administracao
http_access allow castigo
http_access deny all
http_reply_access allow all
#_____________fim____________________