(squid): failed to find or read error text file.

Posted by adam on Server Fault See other posts from Server Fault or by adam
Published on 2009-07-20T17:47:10Z Indexed on 2010/03/15 20:10 UTC
Read the original article Hit count: 174

Filed under:

There is something in our ERR_NO_RELAY that is causing this error to be logged and for the squid process to fail on start up. I can't show you the exact content of the file but I can tell you

  1. It has several lines of JavaScript

  2. When we remove the JavaScript, the problem goes away.

  3. This same file does not cause any issues other 3 instances of squid that we have running internally.

  4. All instances of squid came from the same VM images so they should be the same.

We are unable to reproduce this issue except on the one box and we are unable to debug more on this box right now because it is running in production. I know these files are interpreted so squid can replace certain values available in the session so it may be that a syntax error caused this issue. That does not explain why we cannot reproduce it on other (virtually the same) images. One difference is that the instance of squid that has the issue was under load when the issue occurred. Any suggestions/insight would be appreciated. thanks!

© Server Fault or respective owner

Related posts about squid