[squid-users] keep data after delete swap.state
squid3 at treenet.co.nz
Thu Mar 12 05:37:43 UTC 2015
On 12/03/2015 6:15 p.m., HackXBack wrote:
> if there is error in swap.state file and want to recreate it what is the
> option to do that without losing data on hdd ?
1) stop Squid
2) manually erase the broken swap.state file(s)
3) run squid -z
4) start Squid
NOTE: squid -z is just to ensure the dir format is okay
NOTE 2: when the Squid run at (4) reports done rebuilding all caches its
ready for receiving traffic.
More information about the squid-users