Squid 错误解决一则:squid: ERROR: No running copy

发表于:2007-07-04来源:作者:点击数: 标签:
Problem: #/usr/local/squid/sbin/squid -k reconfigure squid: ERROR: No running copy Resolve: #ps -aux|grep squid nobody 2480 0.0 0.7 4088 996 ? S 10:41 0:00 /bin/sh /usr/local/squid/bin/RunCache nobody 2487 0.1 5.5 8980 6968 ? S 10:41 0:02 s
Problem:
#/usr/local/squid/sbin/squid -k reconfigure
squid: ERROR: No running copy
Resolve:
#ps -aux|grep squid
nobody    2480  0.0  0.7  4088  996 ?        S    10:41   0:00 /bin/sh /usr/local/squid/bin/RunCache
nobody    2487  0.1  5.5  8980 6968 ?        S    10:41   0:02 squid -NsY
root      3104  0.0  0.5  4448  648 pts/2    S    11:10   0:00 grep squid
#cat /etc/squid/squid.conf |grep "squid.pid"
pid_filename /var/run/squid.pid
#echo /var/run/squid.pid
5049
????????
#vi /etc/squid/squid.conf
修改/var/run/squid.pid为
pid_filename /usr/local/squid/var/logs/squid.pid
此为默认的
#echo "2487" > /usr/local/squid/var/logs/squid.pid
#/usr/local/squid/sbin/squid -k reconfigure
OK!!!

原文转自:http://www.ltesting.net