VirtualBox

Opened 12 years ago

Last modified 8 years ago

#9952 closed defect

Apache in guest cannot access files though shared folder — at Initial Version

Reported by: Jeff Teeters Owned by:
Component: shared folders Version: VirtualBox 4.1.6
Keywords: Cc:
Guest type: Linux Host type: Mac OS X

Description

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.

Change History (1)

by Jeff Teeters, 12 years ago

Attachment: VBox.log added
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use