VBoxManage: error: Failed to initialize COM! (hrc=NS_ERROR_F

Discussions related to using VirtualBox on Linux hosts.
Post Reply
FlorianB
Posts: 2
Joined: 4. Feb 2016, 20:21

VBoxManage: error: Failed to initialize COM! (hrc=NS_ERROR_F

Post by FlorianB »

Hi,

After compiling and installing VirtualBox-5.0.14 on a Linux machine I get the following error:

Code: Select all

# VBoxManage list ostypes
VBoxManage: error: Failed to initialize COM! (hrc=NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)

I tried both as root and as a vbox user I created manually.

Yes the modules are loaded:

Code: Select all

# lsmod | grep -i vbox
vboxnetflt             18288  0 
vboxnetadp             19644  0 
vboxpci                15883  0 
vboxdrv               371783  3 vboxnetadp,vboxnetflt,vboxpci

Some information about my system:
  • This is a big server that I'm trying to use remotely as headless
  • Linux web 3.14.46-grsec-barklab-LSN-E5-2620 #3 SMP Thu Jul 23 12:58:05 CDT 2015 x86_64 Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz GenuineIntel GNU/Linux
  • There is no X on this machine.
  • Virtualbox was configured with: ./configure --out-path=/usr/local/VirtualBox-5.0.14 --with-makeself=/root/src/makeself-2.2.0/makeself.sh --disable-docs --disable-alsa --disable-pulse --build-headless --disable-opengl --disable-java

I had to clear these variables to avoid errors during install:

Code: Select all

# cat /usr/local/VirtualBox-5.0.14/LocalConfig.kmk 
VBOX_WITH_ADDITIONS =
VBOX_WITH_PAM=
VBOX_WITH_TESTCASES=
VBOX_WITH_JXPCOM=

Thanks in advance for the help!
Best.
Post Reply