cannot create VM with VboxManage installed on debian
-
simoala007
- Posts: 13
- Joined: 12. May 2016, 20:52
cannot create VM with VboxManage installed on debian
hello ,
i have installed virtualbox on a debian machine.
when I wan to create a vm : with VBoxManage createvm --name myvm --register
I got these error message :
VBoxManage.exe: error: Failed to create the VirtualBox object!
error: Most likely, the VirtualBox COM server is not running or failed to start.
i tried to reinstall virtual box, I tried to use admin user to launch the vboxmanage command. it did'nt work.
VBoxmanage version is : 5.0
thanks for your help
i have installed virtualbox on a debian machine.
when I wan to create a vm : with VBoxManage createvm --name myvm --register
I got these error message :
VBoxManage.exe: error: Failed to create the VirtualBox object!
error: Most likely, the VirtualBox COM server is not running or failed to start.
i tried to reinstall virtual box, I tried to use admin user to launch the vboxmanage command. it did'nt work.
VBoxmanage version is : 5.0
thanks for your help
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: cannot create VM with VboxManage installed on debian
Where did you get VirtualBox from? If you didn't get it from the official VirtualBox site, but from a repository, it is not supported.
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.
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.
-
simoala007
- Posts: 13
- Joined: 12. May 2016, 20:52
Re: cannot create VM with VboxManage installed on debian
Hello,
Thanks for your response
Of course i get it from the official VirtualBox site, and have last version 5.0
virtualbox. org/wiki/Linux_Downloads
the file is:
virtualbox-5.0_5.0.20-106931~Debian~squeeze_amd64.deb
Thanks for your response
Of course i get it from the official VirtualBox site, and have last version 5.0
virtualbox. org/wiki/Linux_Downloads
the file is:
virtualbox-5.0_5.0.20-106931~Debian~squeeze_amd64.deb
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: cannot create VM with VboxManage installed on debian
Well,
Please read Chapter 2.3. Installing on Linux hosts. It seems that something didn't go correctly in your installation and the COM server is not loading. Pay special attention to the installation log, /var/log/vbox-install.log. More details on the manual.simoala007 wrote:VBoxManage.exe: error: Failed to create the VirtualBox object!
error: Most likely, the VirtualBox COM server is not running or failed to start.
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.
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.
-
simoala007
- Posts: 13
- Joined: 12. May 2016, 20:52
Re: cannot create VM with VboxManage installed on debian
Hello,
I have followed the exact procedure several times, and each time i type:
BoxManage createvm --name myvm --register
I have the error i wrote before.
I have attached the vbox-install.log, may be you can find something relevant that could help me to install it.
Thank you very much i am stuck here.
Thanks,
I have followed the exact procedure several times, and each time i type:
BoxManage createvm --name myvm --register
I have the error i wrote before.
I have attached the vbox-install.log, may be you can find something relevant that could help me to install it.
Thank you very much i am stuck here.
Thanks,
- Attachments
-
vbox-install.log- (2.71 KiB) Downloaded 12 times
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: cannot create VM with VboxManage installed on debian
Post the results of the following from the hosts terminal:
1) VBoxManage -v
2) Type VirtualBox and press enter. What Happens?
3) Type ps -Al | grep V and post the results
You may need to do step 3 within 10 seconds of step 2 to get a valid reply.
Also was this a new install of VirtualBox or an upgrade? Have you ever tried the repo version on this host and if so did you purge it before you installed the official version?
1) VBoxManage -v
2) Type VirtualBox and press enter. What Happens?
3) Type ps -Al | grep V and post the results
You may need to do step 3 within 10 seconds of step 2 to get a valid reply.
Also was this a new install of VirtualBox or an upgrade? Have you ever tried the repo version on this host and if so did you purge it before you installed the official version?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: cannot create VM with VboxManage installed on debian
One other thing your command is missing a very important part, the ostype. Not sure if that alone would not start the service or not.
Example:
Example:
Code: Select all
VBoxManage createvm --name "Windows XP" --ostype WindowsXP --register-
simoala007
- Posts: 13
- Joined: 12. May 2016, 20:52
Re: cannot create VM with VboxManage installed on debian
Hello this is not un upgrade this is a new install from begining of virtual box V5:
please find below result of commands,
root@SG360e:/var/spool/squid3# VBoxManage -v
5.0.20r106931
root@SG360e:/var/spool/squid3# VirtualBox
Qt WARNING: VirtualBox: cannot connect to X server
root@SG360e:/var/spool/squid3# ps -Al |grep V
1 S 0 5772 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5773 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5775 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5776 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5777 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5778 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5779 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5780 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5782 2 0 80 0 - 0 rtR0Se ? 00:00:00 iprt-VBoxTscThr
root@SG360e:/var/spool/squid3# VBoxManage createvm --name "windows XP" ostype WindowsXP --register
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not registered (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.
root@SG360e:/var/spool/squid3#
please find below result of commands,
root@SG360e:/var/spool/squid3# VBoxManage -v
5.0.20r106931
root@SG360e:/var/spool/squid3# VirtualBox
Qt WARNING: VirtualBox: cannot connect to X server
root@SG360e:/var/spool/squid3# ps -Al |grep V
1 S 0 5772 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5773 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5775 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5776 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5777 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5778 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5779 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5780 2 0 80 0 - 0 worker ? 00:00:00 iprt-VBoxWQueue
1 S 0 5782 2 0 80 0 - 0 rtR0Se ? 00:00:00 iprt-VBoxTscThr
root@SG360e:/var/spool/squid3# VBoxManage createvm --name "windows XP" ostype WindowsXP --register
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not registered (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.
root@SG360e:/var/spool/squid3#
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: cannot create VM with VboxManage installed on debian
Did you install as root? and do you always run as root?
-
simoala007
- Posts: 13
- Joined: 12. May 2016, 20:52
Re: cannot create VM with VboxManage installed on debian
Yes i install it as root, and tried to run it as root, and as normal user added to vboxusers group
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: cannot create VM with VboxManage installed on debian
Running as root will change the VBOX_USER_HOME environment making the normal user not able to properly use VirtualBox.
Check you user variables and make sure you still have access to VirtualBox.
http://www.virtualbox.org/manual/ch10.h ... 1710665952
Check you user variables and make sure you still have access to VirtualBox.
http://www.virtualbox.org/manual/ch10.h ... 1710665952
-
simoala007
- Posts: 13
- Joined: 12. May 2016, 20:52
Re: cannot create VM with VboxManage installed on debian
I don"t understand i have already runned it as both root and normal user. and have same result.
Should i run it and intall it as root ?
Should i run it and intall it as root ?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: cannot create VM with VboxManage installed on debian
First you should install as elevated normal user ( su or sudo )
Then you always run as normal user.
As I said if you ever run as root it changes the way VirtualBox works and a normal user will not be able to run it without resetting the home environment.
Then you always run as normal user.
As I said if you ever run as root it changes the way VirtualBox works and a normal user will not be able to run it without resetting the home environment.
-
simoala007
- Posts: 13
- Joined: 12. May 2016, 20:52
Re: cannot create VM with VboxManage installed on debian
Ok i will reinstall it as normal user and run it as normal user and see if i still have same result.
Thanks
Thanks
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: cannot create VM with VboxManage installed on debian
Be sure to purge the present install first!