02-26-2017 06:06 PM - edited 02-26-2017 06:08 PM
Hi there, I am brand new to SAS, and am using the University edition on a newer Macbook with OS Sierra 10.12.3. I keep getting the same error message: "A shared folder named "myfolders" was not found on the virtual machine. See the FAQ for details." when I open SAS in my browser, despite having created and added the file 'myfolders', as directed. Any help would be appreciated.
02-26-2017 06:19 PM
Make sure that you have the folder's definition as Auto-mount and Make Permanent. That's what works for me.
02-26-2017 06:21 PM
Hmm. Puzzling. Have you tried dropping the session and restarting? I'm sure you have - just having to check everything.
02-26-2017 06:26 PM - edited 02-26-2017 06:27 PM
In the VirtualBox log (Machine*Show Log), can you find something like this:
Host path '/Users/username/Documents/SAS/SASUniversityEdition/myfolders', map name 'myfolders', writable, automount=true, create_symlinks=false, missing=false
00:00:37.194416 VMMDev: Guest Log: 00:00:00.008954 automount VBoxServiceAutoMountWorker: Shared folder "myfolders" was mounted to "/mnt/hgfs/myfolders"
02-26-2017 06:37 PM
I've just dropped my session and restarted SAS. The first reference to SharedFolders host service was at 00:00:01.41 seconds in - so pretty early on. It's just after the CPUID dump, if that helps.
02-26-2017 06:50 PM
Hm, I have found this:
00:00:01.778272 File system of '/Users/chrisanna_m_d/VirtualBox VMs/SAS University Edition/Snapshots' (snapshots) is hfs
00:00:01.778294 File system of '/Users/chrisanna_m_d/VirtualBox VMs/SAS University Edition/SAS_University_Edition.vmdk' is hfs
00:00:01.868260 Shared clipboard service loaded
00:00:01.868284 Shared clipboard mode: Bidirectional
00:00:01.873443 Drag and drop service loaded
00:00:01.873475 Drag and drop mode: Bidirectional
00:00:01.877924 Guest Control service loade
02-26-2017 06:56 PM
First point: go down another few seconds worth (maybe a hundred lines or so. The VBox.log has Find and Filter to help you find stuff faster.
Second point: Yup - that's right. SAS doesn't run natively in MacOS - that's why you need the virtual machine, which runs Linux but interacts with MacOS and plays nicely.
02-26-2017 07:00 PM
aha, found it:
00:00:33.342597 VMMDev: Guest Log: 00:00:00.018177 automount VBoxServiceAutoMountWorker: Shared folder "myfolder" was mounted to "/mnt/hgfs/sf_myfolder"
and that makes sense RE Linux. Thanks.
02-26-2017 07:06 PM
OK - sounds as though we're getting close. On my log, I have five lines referring to myfolders. The first one is the Host Path one,
followed by VMMDEV (bear in mind that I don't know exactly what this means, this is just what is working for me):
00:00:20.058051 VMMDev: Guest Log: 00:00:00.011867 automount VBoxServiceAutoMountWorker: Shared folder "myfolders" was mounted to "/mnt/hgfs/sf_myfolders" 00:00:21.298587 VMMDev: Guest Log: 00:00:00.008689 automount VBoxServiceAutoMountWorker: Shared folder "myfolders" was mounted to "/mnt/hgfs/myfolders" 00:00:45.415977 VMMDev: Guest Log: 00:00:15.019832 automount Error: VBoxServiceAutoMountWorker: Failed to unmount "/mnt/hgfs/sf_myfolders", Invalid argument (22)! 00:03:41.033484 VMMDev: Guest Log: 00:00:15.010897 automount Error: VBoxServiceAutoMountWorker: Failed to unmount "/mnt/hgfs/sf_myfolders", Invalid argument (22)!
Note that the first one referring to sf_myfolders appeared to work, as did the myfolders, then there are two references to automounting/unmounting. Can you see the same thing?
02-26-2017 07:14 PM
I don't know how au fait you are with Unix terminal, but if you are, what are the permissions on your myfolders directory?
ls -l ~/Documents/SAS/SASUniversityEdition/
drwxr-xr-x 24 xxxxxx staff 816 27 Feb 11:31 myfolders
02-26-2017 07:42 PM
OK, if you use Finder to navigate to the directory where your SASUniversityEdition folder is, select it and get info (command-I); you should see down the bottom (yourname (MS) and Privilege of Read & Write. You should see the same for myfolder. If not, that may be your problem.
After that, as the young things say, I've got nothing.