免费注册 查看新帖 |

Chinaunix

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

运行squid,会在几分钟出现frequent failures [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-04-22 11:34 |只看该作者 |倒序浏览
我在solaris8下面安装了一个squid-2.3.STABLE3,然后参照精华里的帖子配置好squid.conf,但是每次运行squid,都会出现
# Apr 22 11:11:05 hostname squid[1331]: [ID 567784 local4.alert] Exiting due to repeated, frequent failures

cache.log里面的纪录:
2004/04/22 11:06:49| Starting Squid Cache version 2.3.STABLE3 for sparc-sun-solaris2.8...
2004/04/22 11:06:49| Process ID 1284
2004/04/22 11:06:49| With 1024 file descriptors available
2004/04/22 11:06:49| Performing DNS Tests...
2004/04/22 11:06:49| Successful DNS name lookup tests...
2004/04/22 11:06:49| DNS Socket created on FD 4
2004/04/22 11:06:49| Adding nameserver 211.144.161.25 from squid.conf
2004/04/22 11:06:49| Unlinkd pipe opened on FD 9
2004/04/22 11:06:49| Swap maxSize 1228800 KB, estimated 94523 objects
2004/04/22 11:06:49| Target number of buckets: 1890
2004/04/22 11:06:49| Using 8192 Store buckets
2004/04/22 11:06:49| Max Mem size: 65536 KB
2004/04/22 11:06:49| Max Swap size: 1228800 KB
2004/04/22 11:06:49| Rebuilding storage in /usr/local/squid/cache (DIRTY)
2004/04/22 11:06:49| Set Current Directory to /usr/local/squid/cache
2004/04/22 11:06:49| urlParse: Illegal character in hostname 'cq_cfc_cacheserver'
2004/04/22 11:06:49| assertion failed: HttpRequest.c:72: "request"
不知道大家在linux下有没有遇到这个问题?

论坛徽章:
0
2 [报告]
发表于 2004-04-22 16:03 |只看该作者

运行squid,会在几分钟出现frequent failures

up

论坛徽章:
0
3 [报告]
发表于 2004-04-22 20:19 |只看该作者

运行squid,会在几分钟出现frequent failures

your hostname got problem : 'cq_cfc_cacheserver'

vi your /etc/hosts
try use '-' instead : 'cq-cfc-cacheserver'

论坛徽章:
0
4 [报告]
发表于 2004-04-22 20:22 |只看该作者

运行squid,会在几分钟出现frequent failures

try use '-' instead : 'cq-cfc-cacheserver'

为什么?而且为什么是“-”?

论坛徽章:
0
5 [报告]
发表于 2004-04-23 09:51 |只看该作者

运行squid,会在几分钟出现frequent failures

对了,我注释掉visible_hostname就正常了
谢了

论坛徽章:
0
6 [报告]
发表于 2004-04-23 21:52 |只看该作者

运行squid,会在几分钟出现frequent failures

"_" defind as illegal character in DNS RFC, so normally u can't see any "_" internet domain and hostname, just like you can't see anybody use " in their email addresss. in fact some people do use "_" in their domain / hostname, their might not notis the problem in short term.  

RFC is the standard for every internet developer to follow so will not cause "stardard" overflow.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP