Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com

This Blog is protected by DMCA.com

huuphan.com. Powered by Blogger.

Failed to create the VirtualBox COM object solve problem

Someday, your Virtualbox not start and the display error "Failed to create the VirtualBox COM object". it got somewhat corrupted.

The error of Virtualbox "Failed to create the VirtualBox COM object" as below:

Location: '/home/huupv/.config/VirtualBox/VirtualBox.xml', line 1 (0), column 1.
/home/vbox/vbox-5.2.14/src/VBox/Main/src-server/VirtualBoxImpl.cpp[554] (nsresult VirtualBox::init()).

How to solve problem!

Step 1: make sure process VBoxSVC not running
Step 2: make a copy file VirtualBox.xml then delete original file.
Step 3: Rename VirtualBox.xml-prev file to VirtualBox.xml file.
Step 4: try again start VirtualBox.

To check not running process VBoxSVC not running use ps command as below:
$ ps -ef | grep VBoxSVC
huupv 10122 2421 0 22:19 pts/1 00:00:00 grep --color=auto VBoxSVC

To check VirtualBox.xml file and Delete VirtualBox.xml file
$ ll /home/huupv/.config/VirtualBox/ | grep VirtualBox.xml
-rw-------. 1 huupv huupv 0 Jul 5 23:18 VirtualBox.xml
-rw-------. 1 huupv huupv 3995 Jul 5 21:28 VirtualBox.xml-prev
$ rm -f /home/huupv/.config/VirtualBox/VirtualBox.xml

Rename VirtualBox.xml-prev file to VirtualBox.xml file with cp command as below:
$ cp -R /home/huupv/.config/VirtualBox/VirtualBox.xml-prev /home/huupv/.config/VirtualBox/VirtualBox.xml
 Try again start VirtualBox.

post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command | www.huuphan.com

1 comments :