win下無法啟動Squid 2.6.STABLE6-NT
Squid 2.6.STABLE6-NT Squid
提示 在本地計算機無法啟動 Squid服務
錯誤 1067 進程意外終止
系統日誌
Squid 服務意外地終止,這種情況已經出現了 87 次。以下的修正操作將在 60000 毫秒內運行: 重新啟動服務。
《解決方案》
看看squid 自己的cache.log 有什麼返回信息么
《解決方案》
squid -k parse
《解決方案》
我的squid.conf 配置
httpd_accel_port 81
httpd_accel_host virtual
httpd_accel_single_host off
httpd_accel_with_proxy off
httpd_accel_uses_host_header on
acl myip src 61.139.2.69
acl PURGE method PURGE
http_access allow PURGE myip
http_access deny PURGE all
acl manager proto cache_object
http_access allow manager myip
http_access deny manager
client_persistent_connections off
server_persistent_connections off
cache_dir ufs cache_dir ufs c:/squid/var/cache 51200 16 256
cache_mem 512 MB
emulate_httpd_log on
acl mana src 127.0.0.1/255.255.255.255
half_closed_clients off
cache_swap_low 80
cache_swap_high 90
client_lifetime 8 hours
logfile_rotate 3
half_closed_clients off
maximum_object_size 20480 KB
----------------------------------------------
啟動時候提示 1067錯誤
LOG 提示
2007/01/31 19:16:07| ACL name 'all' not defined!
FATAL: Bungled squid.conf line 6: http_access deny PURGE all
Squid Cache (Version 2.5.STABLE12-NT): Terminated abnormally.
《解決方案》
ACL中的all沒有定義,手工加上一個吧。