1、问题:
# /usr/local/squid/sbin/squid -k /etc/squid.conf
squid: ERROR: No running copy
squid: ERROR: No running copy
2、解决:
查看squid主进程的pid值:
# ps aux | grep squid
nobody 2376 0.0 0.0 4168 572 ? Ss 00:56 0:00 /usr/local/squid/sbin/squid -D -s -f /etc/squid.conf
nobody 2378 0.0 0.4 6296 4232 ? S 00:56 0:00 (squid) -D -s -f /etc/squid.conf
nobody 2496 0.0 0.0 4016 692 pts/0 R+ 00:59 0:00 grep squid
nobody 2376 0.0 0.0 4168 572 ? Ss 00:56 0:00 /usr/local/squid/sbin/squid -D -s -f /etc/squid.conf
nobody 2378 0.0 0.4 6296 4232 ? S 00:56 0:00 (squid) -D -s -f /etc/squid.conf
nobody 2496 0.0 0.0 4016 692 pts/0 R+ 00:59 0:00 grep squid
# echo "2378" > /usr/local/squid/var/logs/squid.pid
搞定。
Tags – squid: , error: , no , running , copy
转载请注明:爱开源 » squid: ERROR: No running copy