QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 792|回复: 0

查了好几天资料还是没能解决,squid的问题!!!

[复制链接]
发表于 2006-5-17 16:44:56 | 显示全部楼层 |阅读模式
我的os是rh9.0,采用最小化安装,gcc编译器都装好了.
现在要实现squid的代理服务,用的是squid-2.5.STABLE13-20060428.tar.gz,
./configure选项是
--prefix=/usr/local/squid
--enable-gnuregex
--enable-async-io=60
--enable-icmp
--enable-kill-parent-hack
--enable-cache-digests
--enable-err-language="Traditional_Chinese"
--enable-poll
--enable-linux-netfilter

make跟make install都没问题
squid.conf只改了这些地方:
cache_effective_user squid
cache_effective_group squid #事先已经增加了

然后改变目录的权限chown -R squid:squid /usr/local/squid/var
启动squid:
/usr/local/squid/sbin/squid -z #到这建立swap cache正常
然后我切换用户su squid -c "/usr/local/squid/bin/RunCache &"
问题来了:
# su squid -c "/usr/local/squid/bin/RunCache &"
# Running: squid -sY >;>; /usr/local/squid/var/squid.out 2>;&1
/usr/local/squid/bin/RunCache: line35: 1879 squid -NsY
$conf >>$logdir/squid.out 2>&1
Running: squid -sY >;>; /usr/local/squid/var/squid.out 2>;&1
/usr/local/squid/bin/RunCache: line35: 1886 squid -NsY
$conf >>$logdir/squid.out 2>&1
.....
runcache:exiting due to repeated frequent failures

请教一下,是哪出错了呢????
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 16:39 , Processed in 0.029639 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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