LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 936|回复: 2

squid问题!弄我好几天了,所以上来请教兄弟门

[复制链接]
发表于 2009-3-5 10:50:38 | 显示全部楼层 |阅读模式
朋友们,我在配置SQUID的时候遇到一些问题,请指点一二。我的配置文件如下:
#vi /etc/squid/squid.conf
http_port 172.16.126.4:3128
cache_mem 256 MB
cache_dir ufs /var/spool/squid 4096 16 256
cache_effective_user squid
cache_effective_group squid
dns_nameservers 172.16.2.1
cache_access_log /var/log/squid/access.log
cache_store_log /var/log/squid/store.log
visible_hostname 172.16.126.4
cache_mgr wluck@sohu.com
acl all src 0.0.0.0/0.0.0.0
http_access allow all

#NCSA Authentication
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic credentialsttl 2 hours
auth_param basic realm input ncsa auth infor
acl auth_user proxy_auth REQUIRED
http_access allow auth_user proxy_auth

#vi /etc/squid/passwd
pcboy:/qCJl22VPARX2


#service squid reload
2009/03/05 10:15:27| WARNING: '0.0.0.0/0.0.0.0' is a subnetwork of '0.0.0.0/0.0.0.0'
2009/03/05 10:15:27| WARNING: because of this '0.0.0.0/0.0.0.0' is ignored to keep splay tree searching predictable
2009/03/05 10:15:27| WARNING: You should probably remove '0.0.0.0/0.0.0.0' from the ACL named 'all'
2009/03/05 10:15:27| aclParseAccessLine: ACL name 'proxy_auth' not found.
FATAL: Bungled squid.conf line 20: http_access allow auth_user proxy_auth
Squid Cache (Version 3.0.STABLE2): Terminated abnormally.
CPU Usage: 0.007 seconds = 0.005 user + 0.002 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0

在windows机器里尝试使用**服务器,但连接不了,找不到服务器。 请问如何解决?
发表于 2009-3-6 10:05:53 | 显示全部楼层
WARNING: '0.0.0.0/0.0.0.0' is a subnetwork of '0.0.0.0/0.0.0.0'
2009/03/05 10:15:27| WARNING: because of this '0.0.0.0/0.0.0.0' is ignored to keep splay tree searching predictable
2009/03/05 10:15:27| WARNING: You should probably remove '0.0.0.0/0.0.0.0' from the ACL named 'all'
2009/03/05 10:15:27| aclParseAccessLine: ACL name 'proxy_auth' not found.
FATAL: Bungled squid.conf line 20: http_access allow auth_user proxy_auth
这里不是已经说得很清楚吗
回复 支持 反对

使用道具 举报

发表于 2009-3-8 14:00:13 | 显示全部楼层
You should probably remove '0.0.0.0/0.0.0.0' from the ACL named 'all'
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表