Page 1 of 1
[Solved] NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP
Posted: 23. Mar 2018, 14:58
by M. Betten
Hello everyone I am having this error trying to launch Virtual Box. I have a lot of homework on there and really need access! I am going to include some permission information I saw other people post on the same issue.
MY TMP DIRECTORY!
Code: Select all
:tmp michellebettencourt$ ls -al
total 24
drwxrwxrwt 7 root wheel 238 Mar 23 08:45 .
drwxr-xr-x@ 6 root wheel 204 Nov 17 2014 ..
-rw-r--r--@ 1 michellebettencourt wheel 8196 Mar 22 23:41 .DS_Store
-rw-rw-rw-@ 1 michellebettencourt wheel 0 Mar 20 09:14 .keystone_install_lock
drwxrwxrwx 4 michellebettencourt wheel 136 Mar 22 23:41 .vbox-michellebettencourt-ipc
drwx------ 3 michellebettencourt wheel 102 Mar 20 09:14 com.apple.launchd.R7j141ys47
drwx------ 3 michellebettencourt wheel 102 Mar 20 09:14 com.apple.launchd.yU1WoUtN5C
Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP
Posted: 23. Mar 2018, 15:02
by M. Betten
One person suggested removing /tmp/.vbox-*-ipc but would I loose everything in it?
Another person said when they opened up the /tmp folder in the finder they allowed permission there. However, when I open /tmp in the finder window only the .apple folders are in there.
Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP
Posted: 23. Mar 2018, 15:20
by andyp73
If it is creating files in the /tmp (temporary) directory you can be fairly sure that they are transient and don't contain any important data.
The user documentation
Section 10.1 lists where the important VirtualBox files exist. For macOS, the global settings are stored in $HOME/Library/VirtualBox and the individual guests settings and virtual disk images (.vdi files) are found underd $HOME/VirtualBox VMs
-Andy.
Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP
Posted: 23. Mar 2018, 15:30
by M. Betten
Okay thanks, however where do I go from here. Here are the files and permissions in those files
Code: Select all
Michelles-MacBook-Air:~ michellebettencourt$ cd Library/VirtualBox/
Michelles-MacBook-Air:VirtualBox michellebettencourt$ ls
compreg.dat xpti.dat
Michelles-MacBook-Air:VirtualBox michellebettencourt$ ls -al
total 64
drwx------ 4 michellebettencourt staff 136 Mar 23 08:46 .
drwx------@ 54 michellebettencourt staff 1836 Mar 23 08:46 ..
-rw------- 1 michellebettencourt staff 1214 Mar 23 08:46 compreg.dat
-rw------- 1 michellebettencourt staff 26789 Mar 23 08:46 xpti.dat
Michelles-MacBook-Air:VirtualBox michellebettencourt$ cd
Michelles-MacBook-Air:~ michellebettencourt$ cd VirtualBox\ VMs/
Michelles-MacBook-Air:VirtualBox VMs michellebettencourt$ ;s
-bash: syntax error near unexpected token `;'
Michelles-MacBook-Air:VirtualBox VMs michellebettencourt$ ls
Ubuntu Ubuntu 2
Michelles-MacBook-Air:VirtualBox VMs michellebettencourt$ ls -l
total 0
drwxr-xr-x 7 michellebettencourt staff 238 Mar 23 08:37 Ubuntu
drwxr-xr-x 6 michellebettencourt staff 204 Mar 20 13:19 Ubuntu 2
Michelles-MacBook-Air:VirtualBox VMs michellebettencourt$
Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP
Posted: 23. Mar 2018, 15:35
by M. Betten
The reason I am in the /tmp folder is because the rest of the error message said:
Failed to acquire the VirtualBox COM object.
The application will now terminate.
The reason for this error are most likely wrong permissions of the IPC daemon socket due to an installation problem. Please check the permissions of '/tmp' and '/tmp/.vbox-*-ipc/'
Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP
Posted: 23. Mar 2018, 15:46
by andyp73
The contents of your ~/Library/VirtualBox directory doesn't look correct. I would expect there to be several VBoxSVC.log files, a VirtualBox.xml plus a few others. On the face of it, there looks to be an issue with the VirtualBox installation.
If it were me, I think I would download the latest macOS installer from
VirtualBox 5.2.8 macOS installer. Open the disk image (dmg) file and double-click on the uninstall icon. Don't panic that will only uninstall VirtualBox, your guests and your homework will be safe. Once that is complete, reboot and re-install VirtualBox.
If that makes VirtualBox work again then you should be able to import your existing guests and away you go.
-Andy.
Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP
Posted: 23. Mar 2018, 16:04
by M. Betten
It worked! Thank you so much Andy!
Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP
Posted: 23. Mar 2018, 16:10
by andyp73
No problem. Glad you got it going.
-Andy.