6

I often see this error message in my logs and it is pretty cryptic. What does it mean when they say "unable to stat?" Why does it happen?

Here is an example error message: script /dir/dir/script_name.php' not found or unable to stat

Thanks, Alex

1
  • Can you edit your question with a few example error log messages? There are a few reasons that you could see that message, so we'd want to know what you're seeing so we can explain it best. Commented Mar 22, 2011 at 23:30

1 Answer 1

8

Most of time unable to stat means the specified file does not exist

Sign up to request clarification or add additional context in comments.

3 Comments

File does not exist is indeed the most common cause. And the second most common cause is probably permission denied.
Can I disable writing this error to my logs somehow?
Disabling a particular log message may be more of a webserver question. I'd ask a new one for that

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.