Learning Academy

The Cure of Ignorance is to Question. MUHAMMAD (PBUH)

CentOS

Squid cache error: storeAufsOpenDone: (2) No such file or directory

Problem:

I’ve seen few of this in cache.log
How can we pull out the URL/storeurl of this files that are missing.

2011/03/01 23:49:21| storeAufsOpenDone: (2) No such file or directory
2011/03/01 23:49:21|    /cache03/00/69/000069BB
2011/03/01 23:49:56| storeAufsOpenDone: (2) No such file or directory
2011/03/01 23:49:56|    /cache03/01/38/0001385C
2011/03/01 23:50:00| storeAufsOpenDone: (2) No such file or directory
2011/03/01 23:50:00|    /cache03/01/5A/00015A91
2011/03/01 23:50:00| storeAufsOpenDone: (2) No such file or directory
2011/03/01 23:50:00|    /cache03/01/5B/00015B1B
2011/03/01 23:50:01| storeAufsOpenDone: (2) No such file or directory
2011/03/01 23:50:01|    /cache03/01/68/000168CA
2011/03/02 02:08:16| storeAufsOpenDone: (2) No such file or directory
2011/03/02 02:08:16|    /cache03/04/A5/0004A55B
2011/03/02 02:08:16| storeAufsOpenDone: (2) No such file or directory
2011/03/02 02:08:16|    /cache03/04/A5/0004A558
2011/03/02 02:08:49| storeAufsOpenDone: (2) No such file or directory
2011/03/02 02:08:49|    /cache03/04/A8/0004A8BE
2011/03/02 02:12:24| storeAufsOpenDone: (2) No such file or directory
2011/03/02 02:12:24|    /cache02/04/F0/0004F00F
2011/03/02 02:14:20| storeAufsOpenDone: (2) No such file or directory
2011/03/02 02:14:20|    /cache02/04/FC/0004FC56

 

Solution 1:

It happens if someone manually plays with the disk cache, or if unlinkd
looses a race condition with the main squid process.

Squid is removing the index entries for such files at the point this is
reported to logs. There is nothing you need to do.

 

Solution 2:

Another reason of this problem is you have manually delected squid cache directory or directories and swap.state is still there. To solve this problem either rebuild cache from scratch, stop squid, remove cache directory and then start squid. It will first build fresh cache directories with new index files and the problem will resolved.

 

Muhammad Shaukat

Content Developer at LearnAcad.com

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pin It on Pinterest