免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2165 | 回复: 2
打印 上一主题 下一主题

CentOS-3.8做NAT+SQUID透明代理服务,squid无法启动. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-10-05 19:55 |只看该作者 |倒序浏览
初始化缓存目录时出现:
[root@myweb root]# squid -z
2006/10/05 19:48:51| ACL name 'all' not defined!
FATAL: Bungled squid.conf line 26: http_reply_access allow all
Squid Cache (Version 2.5.STABLE3): Terminated abnormally.
已经将/var/spool/squid目录设置为777了.

启动squid时出现:
[root@myweb root]# /etc/init.d/squid start
init_cache_dir /var/spool/squid... Starting squid:         [FAILED]
我的squid.conf是这样的:
http_port 3128
cache_mgr shinyrose@126.com
cache_mem 128 MB
dns_nameservers 61.144.56.101 202.96.128.68
cache_dir ufs /var/spool/squid 10240 12 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
error_directory /usr/share/squid/errors/Simplify_Chinese
visible_hostname proxy
cache_effective_user squid
cache_effective_group squid
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 443 563
cache_swap_low 85
cache_swap_high 90
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
acl our_clients src 192.168.0.0/255.255.255.0
acl other_clients src 0.0.0.0/0.0.0.0
http_access allow our_clients
http_access deny other_clients

请问是哪里出问题呀?请大家帮帮忙.谢谢!

[ 本帖最后由 shinyrose 于 2006-10-5 19:56 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-10-05 22:58 |只看该作者
你的 acl all src 0.0.0.0/0 设定跑去哪边了呢 ?

==

论坛徽章:
0
3 [报告]
发表于 2006-10-06 02:52 |只看该作者
谢谢提醒了我!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP