При создании кэша в squid появляется сообщение "/usr/sbin/squid -z
2015/10/26 17:28:06| aclParseAclLine: ACL 'manager' already exists with different type.
FATAL: Bungled squid.conf line 1: acl manager proto cache_object
Squid Cache (Version 3.2.13-BZR): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.003 user + 0.002 sys
Maximum Resident Size: 22704 KB"
Раньше был юниор4 всё нормально. Сейчас поставил юниор7 и вот такая ошибка.
Файл конфига сквида ниже. Если есть в файле есть ошибки, строго не судите, ибо я не профи. Но с таким файлом локальная сеть работает.
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 192.168.0.75-192.168.0.254
acl localnet src 192.168.1.0/24
acl SSL_ports port 443 # https
acl SSL_ports port 80 # https torrent
#acl SSL_ports port 1025-65535 #torrent icq
acl SSL_ports port 563 # snews
acl Rsync_ports port 873
acl Jabber_ports port 5222 5223
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 9000-9100 # turbobit
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 563 # snews
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl Safe_ports port 40000 # medkabinet
acl CONNECT method CONNECT
http_access allow CONNECT SSL_ports
http_access allow CONNECT Safe_ports
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports !Jabber_ports !Rsync_ports
http_access allow localnet
http_access allow localhost
http_access deny all
icp_access allow localnet
icp_access deny all
htcp_access allow localnet
htcp_access deny all
http_port 192.168.0.ххх:хххх
hierarchy_stoplist cgi-bin ?
cache_mem 50 MB
access_log /var/log/squid/access.log squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern (cgi-bin|\?) 0 0% 0
refresh_pattern . 0 20% 4320
negative_ttl 0
delay_pools 2 # 4 delay pools
delay_class 2 2 # pool 2 is a class 3 pool
delay_access 2 allow localnet
delay_access 2 deny all
delay_parameters 2 -1/-1 3000000/3000000
icp_port 3130
icap_enable off
icap_connect_timeout 1 second
icap_io_timeout 1 second
icap_preview_enable off
icap_send_client_ip on
icap_send_client_username on
icap_client_username_header X-Authenticated-User
icap_client_username_encode on
icap_service service_url_filter reqmod_precache 0 icap://127.0.0.1:1344/url_filter
icap_class class_url_filter service_url_filter
icap_access class_url_filter allow all
coredump_dir /var/spool/squid