- 论坛徽章:
- 0
|
squid 3.1.1 helper external acl session安装使用问题
安装squid后无法使用external acl ,报错
squid -v- Squid Cache: Version 3.1.1
- configure options: '--with-filedescriptors=8192' '--enable-arp-acl' '--enable-pthreads' '--enable-linux-netfilter' '--enable-err-language=Simplify_Chinese' '--enable-default-err-language=Simplify_Chinese' '--enable-auth=basic' '--enable-baisc-auth-helpers=NCSA' '--enable-snmp' '--enable-delay-pools' '--enable-gnuregex' '--enable-icmp' '--disable-ident-lookups' '--enable-kill-parent-hack' '--enable-poll' '--enable-storeio=aufs,diskd,ufs' '--enable-underscore' '--enable-async-io=80' '--enable-useragent-log--enable-referer-log' '--enable-ssl' '--enable-carp' '--enable-dlmalloc' '--enable-removal-policies=heap,lru' '--enable-cachemgr' '--enable-htcp' '--enable-cache-digests' '--enable-stacktrace' '--enable-x-accelerator-vary' '--enable-ltdl-convenience'
复制代码 squid 安装过程- configure
- make
- make install
- cd helpers/external_acl/session
- make
- make install
复制代码 至此squid安装完成,squid_session也在libexec里生成了。
squid.conf 中external acl部分- external_acl_type session ttl=300 negative_ttl=0 children=1 concurrency=200 %LOGIN /usr/local/squid/libexec/squid_session
- acl session external session
- http_access deny !session
- deny_info http://192.168.0.10/page?url=%s session
复制代码 squid可以正常工作,但是external acl无法使用,会报错
- 2010/05/01 12:06:28| helperOpenServers: Starting 1/1 'squid_session' processes
- 2010/05/01 12:06:49| WARNING: Cannot run '/usr/local/squid/libexec/squid_session' process.
- 2010/05/01 12:06:49| Unlinkd pipe opened on FD 11
复制代码 cache.log里external acl报错巨多- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
- 2010/05/01 12:11:09| externalAclLookup: 'session' queue overload (ch=0x866af10)
复制代码 而且单独执行squid_session也报错- ./squid_session
- Segmentation fault
复制代码 请高人指教! |
|