failing apache on vboxsf

Discussions about using Linux guests in VirtualBox.

failing apache on vboxsf

Postby bcx » 25. Sep 2007, 15:54

If you have a linux guest os, and your apache DocumentRoot is in a shared folder using vboxsf, you will experience zero-length responses to non-zero-sized files.

If you increase the loglevel in httpd.conf to info you'll see:
Invalid argument: core_output_filter: writing data to the network

The fix for your problem is here: http://httpd.apache.org/docs/2.0/faq/error.html#error.sendfile

This is because virtualbox only has a partial filesystem driver implementation.

I'm assuming subversion has the same problem type of problem when it outputs:
Can't write to file 'TRUNK/.svn/tmp/entries': Protocol error

BTW: vboxsf, is that a typo? It's a crappy name for a fs, I hope it's renamed to vboxfs _very_ soon.
bcx
 
Posts: 1
Joined: 25. Sep 2007, 15:38

Re: failing apache on vboxsf

Postby Obs » 5. Jun 2010, 01:53

I'd just like to thank you for this post, I spent hours trying to figure out why this was only happening with apache!
Obs
 
Posts: 3
Joined: 13. Apr 2009, 16:19
Primary OS: Mac OS X Leopard
VBox Version: PUEL
Guest OSses: Linux, Windows

Re: failing apache on vboxsf

Postby Perryg » 5. Jun 2010, 02:09

BTW: vboxsf, is that a typo? It's a crappy name for a fs, I hope it's renamed to vboxfs _very_ soon.


It stands for VBoxSharedFolder. I would not hold my breath waiting for it to change.
Perryg
Site Moderator
 
Posts: 33991
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 12 guests