[Solved] NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
M. Betten
Posts: 5
Joined: 23. Mar 2018, 14:55

[Solved] NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP

Post 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
Last edited by socratis on 9. Apr 2018, 12:10, edited 2 times in total.
Reason: Marked as [Solved].
M. Betten
Posts: 5
Joined: 23. Mar 2018, 14:55

Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP

Post 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.
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP

Post 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.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
M. Betten
Posts: 5
Joined: 23. Mar 2018, 14:55

Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP

Post 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$
Last edited by socratis on 9. Apr 2018, 12:08, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
M. Betten
Posts: 5
Joined: 23. Mar 2018, 14:55

Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP

Post 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/'
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP

Post 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.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
M. Betten
Posts: 5
Joined: 23. Mar 2018, 14:55

Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP

Post by M. Betten »

It worked! Thank you so much Andy!
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: NS_ERROR_SOCKET_FAIL (0xC1F30200) PLEASE HELP

Post by andyp73 »

No problem. Glad you got it going.

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Post Reply