I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
rudolfhbantim
Posts: 8
Joined: 26. May 2017, 17:11

I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by rudolfhbantim »

I don't know why, my virtual box stop to run. When i try to open, this messenger show:

"
Falha ao carregar o objeto COM do VirtualBox.
A aplicação será finalizada.
A provável razão para este erro são permissões incorretas para o socket do daemon de IPC devido a um problema durante a instalação. Verifique as permissões de '/tmp' e '/tmp/.vbox-*-ipc/'

RC do Chamador: NS_ERROR_SOCKET_FAIL (0xC1F30200)
"
something like that :

"
Failed to load VirtualBox COM object.
The application will be finalized.
The likely reason for this error is incorrect permissions to the IPC daemon socket due to a problem during the installation. Check the permissions of '/ tmp' and '/tmp/.vbox-*-ipc/'

Caller RC: NS_ERROR_SOCKET_FAIL (0xC1F30200)
"

I tried to uninstall and reinstall but it did not work.

Anyone can help me please?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by socratis »

The error did not talk about installing and re-installing. If there is an existing problem in your system, re-installing will not help you. The error clearly stated:
rudolfhbantim wrote:The likely reason for this error is incorrect permissions to the IPC daemon socket due to a problem during the installation. Check the permissions of '/ tmp' and '/tmp/.vbox-*-ipc/'
So, please post the output of the command:
  • ls -alR /tmp /private/tmp /private/var/tmp
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
rudolfhbantim
Posts: 8
Joined: 26. May 2017, 17:11

Re: I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by rudolfhbantim »

Code: Select all

MacBook-Air-de-Rudolfh-2:/ rudolfhbantim$ ls -alR /tmp /private/tmp /private/var/tmp
ls: /private/tmp: No such file or directory
lrwxr-xr-x@ 1 root  wheel  11  6 Out  2016 /tmp -> private/tmp

/private/var/tmp:
total 464
drwxrwxrwt   9 root           wheel     306 26 Mai 08:35 .
drwxr-xr-x  26 root           wheel     884 17 Mai 21:01 ..
srwxrwxrwx   1 root           wheel       0 23 Mai 13:22 com.cleverfiles.cfbackd.chief
-rw-r--r--   1 root           wheel   18854 28 Abr 12:42 configd-pattern.plist
-rw-r--r--   1 root           wheel   19994 28 Abr 12:42 configd-session.plist
-rw-r--r--   1 root           wheel  133887 28 Abr 12:42 configd-state
-rw-r--r--   1 root           wheel   58830 28 Abr 12:42 configd-store.plist
srw-r--r--   1 rudolfhbantim  wheel       0 26 Mai 08:35 filesystemui.socket
drwxr-xr-x   2 root           wheel      68 17 Mai 20:49 kernel_panics

/private/var/tmp/kernel_panics:
total 0
drwxr-xr-x  2 root  wheel   68 17 Mai 20:49 .
drwxrwxrwt  9 root  wheel  306 26 Mai 08:35 ..
MacBook-Air-de-Rudolfh-2:/ rudolfhbantim$
Last edited by socratis on 26. May 2017, 17:45, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
rudolfhbantim
Posts: 8
Joined: 26. May 2017, 17:11

Re: I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by rudolfhbantim »

how can i fix it?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by socratis »

rudolfhbantim wrote:
ls: /private/tmp: No such file or directory
You are in mighty big trouble. How in the seven kingdoms did you manage to delete the system's temporary directory? What did you do? What did you install, what did you uninstall?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by socratis »

rudolfhbantim wrote:how can i fix it?
Did you reboot your host?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
rudolfhbantim
Posts: 8
Joined: 26. May 2017, 17:11

Re: I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by rudolfhbantim »

I tried delete some files to liberate space, a few days ago. Maybe, the private/tmp was deleted. Can i create a new one? I will reboot now.
rudolfhbantim
Posts: 8
Joined: 26. May 2017, 17:11

Re: I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by rudolfhbantim »

i can create with "mkdir private/tmp"?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by socratis »

You're not supposed to even see the /private. If you do see it, that means that you know what you doing. Really know what you're doing...

I did a test on a VM. Deleting the /private/tmp should bring it back under normal circumstances.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
rudolfhbantim
Posts: 8
Joined: 26. May 2017, 17:11

Re: I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by rudolfhbantim »

I have been using disk inventory x to found big files to delete. I really don't remember to delete it private/tmp. If a create a new one, will works? Because i tried reboot, but que paste did came.

Code: Select all

MacBook-Air-de-Rudolfh-2:/ rudolfhbantim$ ls -alR /tmp /private/tmp /private/var/tmp
ls: /private/tmp: No such file or directory
lrwxr-xr-x@ 1 root  wheel  11  6 Out  2016 /tmp -> private/tmp

/private/var/tmp:
total 464
drwxrwxrwt   9 root           wheel     306 26 Mai 13:35 .
drwxr-xr-x  26 root           wheel     884 17 Mai 21:01 ..
srwxrwxrwx   1 root           wheel       0 23 Mai 13:22 com.cleverfiles.cfbackd.chief
-rw-r--r--   1 root           wheel   18854 28 Abr 12:42 configd-pattern.plist
-rw-r--r--   1 root           wheel   19994 28 Abr 12:42 configd-session.plist
-rw-r--r--   1 root           wheel  133887 28 Abr 12:42 configd-state
-rw-r--r--   1 root           wheel   58830 28 Abr 12:42 configd-store.plist
srw-r--r--   1 rudolfhbantim  wheel       0 26 Mai 13:35 filesystemui.socket
drwxr-xr-x   2 root           wheel      68 17 Mai 20:49 kernel_panics

/private/var/tmp/kernel_panics:
total 0
drwxr-xr-x  2 root  wheel   68 17 Mai 20:49 .
drwxrwxrwt  9 root  wheel  306 26 Mai 13:35 ..
MacBook-Air-de-Rudolfh-2:/ rudolfhbantim$ 
rudolfhbantim
Posts: 8
Joined: 26. May 2017, 17:11

Re: I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by rudolfhbantim »

Code: Select all

MacBook-Air-de-Rudolfh-2:/ rudolfhbantim$ mkdir tmp
mkdir: tmp: File exists
MacBook-Air-de-Rudolfh-2:/ rudolfhbantim$ mkdir private/tmp
mkdir: private/tmp: Permission denied
MacBook-Air-de-Rudolfh-2:/ rudolfhbantim$ 
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by socratis »

COULD YOU PLEASE STOP TRYING THINGS OUT BEFORE I GET A CHANCE TO COMMENT???????
That's what led you here in the first place!!!

Messing with your system is not a VirtualBox problem. Your misunderstanding of basic system functionality has led you to a point where there can be only one true, working, tested solution; reinstall OSX: https://support.apple.com/en-us/HT204904. Even if you created "/private/tmp" by hand I wouldn't know if everything else on your OSX was in order. Even more worrying is the fact that OSX doesn't recreate the folder after a reboot. As I said, I tried it and it worked just fine.

Next time you feel like deleting stuff from your computer so you can fit another MP3 or another movie, stay in the "/Users/" sub-directory. That's it. You might as well delete the "/System" folder, that takes a lot of space... :evil:

Anyway, you messed your host. This is not a VirtualBox problem. I can help you up to a point.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
rudolfhbantim
Posts: 8
Joined: 26. May 2017, 17:11

Re: I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by rudolfhbantim »

thanks
arsee
Posts: 2
Joined: 23. Dec 2017, 13:31

Re: I have this problem: NS_ERROR_SOCKET_FAIL (0xC1F30200)

Post by arsee »

I also met this trouble one hour ago too.

I removed /tmp/.vbox-*-ipc then executed VirtualBox . The result it became normal.

.vbox-*-ipc means your account name. like as .vbox-john-ipc.
Post Reply