Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial results are valid but processing is incomplete: xsendfile: unable to stat file #8

Open
jcalazan opened this issue Jul 27, 2011 · 6 comments

Comments

@jcalazan
Copy link

Apache version: 2.2
OS: Windows XP Pro 64-bit

Getting the following error:
(70008) Partial results are valid but processing is incomplete: xsendfile: unable to stat file: //server_name/folder/file

The module works fine on Windows XP Pro 32-bit. Possibly related to this: http://dev.ariel-networks.com/apr/apr-tutorial/html/apr-tutorial-5.html and this: https://issues.apache.org/bugzilla/show_bug.cgi?id=51020

I put a quick fix/hack on my side to make it work in our environment:

Changed this line:
if ((rv = apr_file_info_get(&finfo, APR_FINFO_NORM, fd)) != APR_SUCCESS)

To this line:
if ((rv = apr_file_info_get(&finfo, APR_FINFO_NORM, fd)) != APR_SUCCESS && (rv = apr_file_info_get(&finfo, APR_FINFO_NORM, fd)) != APR_INCOMPLETE)

More details here: http://www.calazan.com/apache-2-2-partial-results-are-valid-but-processing-is-incomplete-unable-to-stat-file-x-sendfile/

Thanks!

@misterdai
Copy link

Just wanted to note that the ideal solution to this problem would be Apache APR fixing the methods used to query permissions (GetEffectiveRightsFromAcl http://support.microsoft.com/kb/2018746). I've logged a bug with them but I'd still love to see a fix in mod_xsendfile, as I don't even know if they can or will fix the issue or when they'll get around to it.

https://issues.apache.org/bugzilla/show_bug.cgi?id=51560

Cheers

@jschnitzer
Copy link

This has been open for a while. Will this issue be officially resolved and made part of a release?

@misterdai
Copy link

I don't know if the developer has decided how to handle this fix as it's a tricky problem. The real error is with Apache's own "Apache Portable Runtime". If the developer fixes it in his module, it'll not check if it has access to the file properly (won't allow for permissions) which might cause people unexpected issues. Or he can wait for Apache to fix APR on Windows, which would in turn fix his module without any changes.

If you're still being affected by this issue, use the link I mentioned above and vote up the bug to get it more attention :)

@nmaier
Copy link
Owner

nmaier commented May 1, 2012

mod_fcgid seems to have fixed this in their module (no apr fix). I'll look into that...

In the mean time, my official recommendation is to use the work-around patch from comment 0, but I'm hesitant to merge that one directly into my tree.

@justindossey
Copy link

Just wanted to add that I ran into this same issue (with the same workaround), but for me the backend was a FUSE-mounted GlusterFS volume. Took forever to track it down.

@programmerjake
Copy link

I ran into the same issue, hopefully a fix can be merged soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants