Ticket #9952 (new defect)
Apache in guest cannot access files though shared folder
|Reported by:||jefft||Owned by:|
|Host type:||Mac OS X|
Symptom is that Apache running in the guest (Ubuntu LTS server) is unable to serve files stored in the host in a shared folder. Strange thing is that the files on the guest are accessible though the shared folder using a shell (user can copy or view files) and also Apache is able to display a directory listing of the files, but when a user clicks on a file in the listing, then the file appears to be served (downloaded to the user), but there is no content (zero bytes). Also, when this happens errors like the following appear in /var/log/messages:
Nov 22 23:08:25 crcns kernel: [ 8082.266785] VbglR0HGCMInternalCall: vbglR0HGCMInternalPreprocessCall failed. rc=-2 Nov 22 23:08:25 crcns kernel: [ 8082.266902] VBoxGuestCommonIOCtl: HGCM_CALL: 64 Failed. rc=-2.
And errors like the following appear in VBox.log:
02:04:21.031 Guest Log: VbglR0HGCMInternalCall: vbglR0HGCMInternalPreprocessCall failed. rc=-2 02:04:21.031 Guest Log: VBoxGuestCommonIOCtl: HGCM_CALL: 64 Failed. rc=-2.
This problem came up after I upgraded to VirtualBox 4.1.6 (and the guest additions in the guest OS) and also upgraded my host OS (Snow Leopard Server) to 10.6.8. Guest is running Linux kernel 2.6.24-29-virtual, same problem with 2.6.24-30-virtual kernel. This was not a problem before I did the upgrades. Previously, I was using a VB that was a bit out of date, so I'm not sure when this problem was introduced, or if it is being caused by the newer version of OS X server. It does not seem to be a problem on the regular (not a server) OS X version 10.6.7.