first login as root first.if in linux make sure there is a # in your shell.
1. Turn off the service road squd if he again
server-shell # killall squid
2. Delete all the contents of the cache. (Here it is assumed if there is squid cache_dir in / cache)
server-shell # rm-rf / cache / *
2.a. if i do not know where his location cache_dir can search with the following command (it is assumed squid.conf location is in / etc / squid / squid.conf):
server-shell # cat / etc / squid / squid.conf | grep cache_dir
3. Squid cache for re-dir
server-shell # squid-z
4. restart squid.
server-shell # squid-DFY
5. check whether the squid already road,
server-shell # ps-A | grep squid
if there are results like this means that Squid already
@ server ~] $ ps-A | grep squid430? I <s 00:00:00 / usr / local / sbin / squid-DFY433? S <2:26:56 (squid)-DFY (squid)2647 p0 S + 00:00:00 grep squid6.
if not no results like that, try typing the following command, then read the results ..(Happy debugging)server-shell # squid-d 1-DFY
0 komentar: on "Clear cache Squid on centos"
Posting Komentar