免费注册 查看新帖 |

Chinaunix

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

[proxy] squid3.0stable18错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-27 21:12 |只看该作者 |倒序浏览
cache.log
2009/08/27 20:49:55| HTCP Disabled.
2009/08/27 20:49:55| sendto FD 17: (1) Operation not permitted
2009/08/27 20:49:55| ipcCreate: CHILD: hello write test failed
????

论坛徽章:
0
2 [报告]
发表于 2009-08-27 21:53 |只看该作者
Starting Squid Cache version 3.0.STABLE18 for i686-pc-linux-gnu...
2009/08/27 21:50:40| Process ID 20742
2009/08/27 21:50:40| With 65535 file descriptors available
2009/08/27 21:50:40| Performing DNS Tests...
2009/08/27 21:50:40| Successful DNS name lookup tests...
2009/08/27 21:50:40| helperOpenServers: Starting 5/5 'dnsserver' processes
2009/08/27 21:50:40| User-Agent logging is disabled.
2009/08/27 21:50:40| Referer logging is disabled.
2009/08/27 21:50:40| Unlinkd pipe opened on FD 16
2009/08/27 21:50:40| Swap maxSize 16384000 + 737280 KB, estimated 1317021 objects
2009/08/27 21:50:40| Target number of buckets: 65851
2009/08/27 21:50:40| Using 131072 Store buckets
2009/08/27 21:50:40| Max Mem  size: 737280 KB
2009/08/27 21:50:40| Max Swap size: 16384000 KB
2009/08/27 21:50:40| Rebuilding storage in /mnt/tt/squid (DIRTY)
2009/08/27 21:50:40| Using Least Load store dir selection
2009/08/27 21:50:40| Current Directory is /usr/local/squid3/sbin
2009/08/27 21:50:40| Loaded Icons.
2009/08/27 21:50:40| Accepting transparently proxied HTTP connections at 192.168.9.2, port 3128, FD 17.
2009/08/27 21:50:40| HTCP Disabled.
2009/08/27 21:50:40| sendto FD 18: (1) Operation not permitted
2009/08/27 21:50:40| ipcCreate: CHILD: hello write test failed


squid.conf
ttp_port 192.168.9.2:3128 transparent
cache_mem 720 MB
maximum_object_size_in_memory 4096 KB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 20000 KB
cache_dir aufs /mnt/tt/squid 16000 16 256
#cache_dir null /tmp
access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
log_fqdn on
visible_hostname virtual
#emulate_httpd_log on
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex -i cgi-bin \? \.asp \.php \.jsp \.cgi \.flv \.f4v \.asf \.m4v \.wmv \.ogg \.3gp \.ape \.wma \.mp2 \.rm \.avi \.rmvb \.mov \.torrent \.mpeg
no_cache deny QUERY
acl safe_ports port 80 81 21 443 563 70 210 1025-65535 280 488 591 777
http_access deny !safe_ports
acl our src 192.168.9.4 192.168.9.248 192.168.9.81
http_reply_access allow our
acl webdio dst 203.130.37.180
http_reply_access allow webdio
acl Media_MIME rep_mime_type  video audio
acl Media_URL urlpath_regex -i \.(flv|mp4|asf|m4v|wmv|f4v|ogg|3gp|ape|wma|mp2|rm|avi|rmvb|mov|torrent).*

http_reply_access deny Media_MIME
http_reply_access deny Media_URL
#acl me src 192.168.9.4 192.168.9.91
#http_access allow me
acl youxi dstdomain www.4399.com  www.go2play.net w2.bafang.cc www.5qg.com www.kaixin.com www.kaixin001.com
http_access deny youxi
#acl badhttp url_regex -i tudou.* youku.* video.sina.* ku6.* taobao.com
#http_access deny badhttp
acl alll  src  192.168.9.0/24
#reply_body_max_size 204800000 deny  all
http_access allow alll
http_access deny !alll
#error_directory /usr/share/squid/errors/Simplify_Chinese

论坛徽章:
0
3 [报告]
发表于 2009-08-27 21:55 |只看该作者
2.6的时候好好的,今天重新编译了一下,
好郁闷啊,google了一下,无果。
squid不是很熟!
请大家帮忙!
xieaotian 该用户已被删除
4 [报告]
发表于 2009-08-27 22:36 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
5 [报告]
发表于 2009-08-28 08:45 |只看该作者

回复 #4 xieaotian 的帖子

权限都正常啊,重新编译了也不行!
xieaotian 该用户已被删除
6 [报告]
发表于 2009-08-28 09:07 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
7 [报告]
发表于 2009-08-28 10:17 |只看该作者

回复 #6 xieaotian 的帖子

nobody

论坛徽章:
0
8 [报告]
发表于 2009-08-28 11:12 |只看该作者
http://www.unixresources.net/lin ... 00/06/43/64322.html 看看这个,可能是DNS的问题。
你试着把 log_fqdn on注释掉试试

论坛徽章:
0
9 [报告]
发表于 2009-08-28 14:09 |只看该作者
我的.configure
./configure --prefix=/usr/local/squid3 --enable-debug-cbdata --enable-async-io=180 --with-pthreads --enable-storeio="aufs,diskd,ufs,null" --enable-removal-policies="heap,lru" --enable-icmp --enable-delay-pools --enable-useragent-log --enable-referer-log --enable-kill-parent-hack --enable-arp-acl --enable-default-err-language=Simplify_Chinese --enable-err-languages="Simplify_Chinese English" --disable-poll --disable-wccp --disable-wccpv2 --disable-ident-lookups --disable-internal-dns --enable-basic-auth-helpers="NCSA" --enable-stacktrace --with-large-files --disable-mempools --with-filedescriptors=65535  --enable-x-accelerator-var
可能是有的选项出了问题,当我用./configure --prefix=/usr/local/squid3 就没问题。

论坛徽章:
0
10 [报告]
发表于 2009-08-28 14:12 |只看该作者
原帖由 haoyu323 于 2009-8-28 11:12 发表
http://www.unixresources.net/lin ... 00/06/43/64322.html 看看这个,可能是DNS的问题。
你试着把 log_fqdn on注释掉试试

注释掉了也不行。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP