解决: Callee RC: NS_ERROR_FACTORY_N

最近因为要下一批数据需要用到vpn,所以想到做一个虚拟机,然后跑一个windows。选择了oracle的virtualBox。

安装后打开出现错误,报错信息是:

Failed to create the VirtualBox COM object.

The application will now terminate.

Details

Callee RC: NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)

查了一下,几乎所有解决方案都是国外的,而且都说的不清不楚,大部分都是在猜测,经过筛选后大概这个说的最靠谱了:

http://caribe1999.altervista.org/developer/2012/02/ns_error_factory_not_registered-with-virtualbox-4/

Solve NS_ERROR_FACTORY_NOT_REGISTERED on VirtualBox4

If you setting up VirtualBox on a server you will probably tryto set users and groups by you preferences. Changing UIDs and GUIsby your preference after VirtualBox is installed could bring you ina inconsistent situation and you get this message:

VBoxManage: error: Failed to create the VirtualBoxobject!VBoxManage: error: Code NS_ERROR_FACTORY_NOT_REGISTERED(0x80040154) - Class not registered (extended info notavailable)VBoxManage: error: Most likely, the VirtualBox COM server is notrunning or failed to start.

This cryptic message is in fact saying you that something iswrong with users or groups. But what? Not the libraries, not anyfile created during the VirtualBox installation but… the filescreated in the /tmp folder. Simply delete all relatedthing, even the hidden ones, and you will be fine again!

这里说的很清楚,这个问题出现的原因就是因为在/tmp文件夹下有临时文件锁住了,要删除,即使是隐藏的。看了下我的/tmp下的文件,隐藏下面有一个叫做.vbox-conda-ipc的文件夹,因为以前之前有安装过一个vbox。所以删除后可以正常打开vbox了。可以继续工作了。谨此记录一下。

查看隐藏文件,有一个叫做.vbox-conda-ipc的文件夹,root权限下删除后就可以了。

解决: Callee RC: NS_ERROR_FACTORY_N

相关文章:

你感兴趣的文章:

标签云: