当前位置: 技术问答>linux和unix
运行squid出现的奇怪问题,请大家帮忙看一下
来源: 互联网 发布时间:2015-07-31
本文导语: 我的squid.conf一共这么几行: visible_hostname localhost http_port 80 cache_mem 32 MB cache_dir ufs /usr/local/squid/var 1024 16 256 http_access allow all cache_effective_user nobody cache_effective_group nobody 结果运行squid,提示一堆错...
我的squid.conf一共这么几行:
visible_hostname localhost
http_port 80
cache_mem 32 MB
cache_dir ufs /usr/local/squid/var 1024 16 256
http_access allow all
cache_effective_user nobody
cache_effective_group nobody
结果运行squid,提示一堆错误:
line 9:http_access allow all
'ACL' name all not found
.....................
line 11:icp_access deny all
'ACL' name all not found
..................................
明明没有这么多行啊,真是莫名其妙啊?!
用squid -k check 检查,提示 no copy run
visible_hostname localhost
http_port 80
cache_mem 32 MB
cache_dir ufs /usr/local/squid/var 1024 16 256
http_access allow all
cache_effective_user nobody
cache_effective_group nobody
结果运行squid,提示一堆错误:
line 9:http_access allow all
'ACL' name all not found
.....................
line 11:icp_access deny all
'ACL' name all not found
..................................
明明没有这么多行啊,真是莫名其妙啊?!
用squid -k check 检查,提示 no copy run
|
up