Page 2 of 2

Re: cannot create VM with VboxManage installed on debian

Posted: 17. May 2016, 15:18
by simoala007
Hello

After installeing with norlam user with sudo
et run as normal user ,i still have same error :(

:/var/spool/squid3/MachineVirtuelle/testVM$ VBoxManage createvm --name "windows test" --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.

Re: cannot create VM with VboxManage installed on debian

Posted: 17. May 2016, 15:19
by simoala007
Hello,

After installing with normal user with sudo
and run as normal user i still have the same error :(

:/var/spool/squid3/MachineVirtuelle/testVM$ VBoxManage createvm --name "windows test" --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.

Re: cannot create VM with VboxManage installed on debian

Posted: 17. May 2016, 15:45
by Perryg
Post the results of the following.
  • lsmod | grep vb

    ls -Al /dev | grep vb

    cat /var/log/syslog | grep V

Re: cannot create VM with VboxManage installed on debian

Posted: 17. May 2016, 16:34
by simoala007
:/var/spool/squid3/MachineVirtuelle/testVM$ lsmod | grep vb
vboxpci 12240 0
vboxnetadp 18045 0
vboxnetflt 16055 0
vboxdrv 396512 3 vboxpci,vboxnetadp,vboxnetflt

:/var/spool/squid3/MachineVirtuelle/testVM$ ls -Al /dev |grep vb
crw-rw-rw- 1 root tty 2, 107 May 17 11:36 ptyvb
crw-rw---- 1 root dialout 3, 107 May 17 11:36 ttyvb
crw------- 1 root root 10, 59 May 17 11:58 vboxdrv
crw-rw-rw- 1 root root 10, 58 May 17 11:58 vboxdrvu
crw------- 1 root root 10, 57 May 17 11:58 vboxnetctl
drwxr-x--- 2 root vboxusers 40 May 17 11:58 vboxusb


:/var/spool/squid3/MachineVirtuelle/testVM$ cat /var/log/syslog |grep V
cat: /var/log/syslog: Permission denied

:/var/spool/squid3/MachineVirtuelle/testVM$ sudo cat /var/log/syslog |grep V
May 17 09:07:13 SG360e rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="2131" x-info="http://www.rsyslog.com"] (re)start
May 17 09:07:13 SG360e kernel: [ 0.000000] BIOS-e820: 000000007f1f1000 - 000000007f46a000 (ACPI NVS)
May 17 09:07:13 SG360e kernel: [ 0.000000] ACPI: SPCR 000000007f24e2a8 00050 (v01 A M I APTIO V 01072009 AMI. 00000005)
May 17 09:07:13 SG360e kernel: [ 0.000000] ACPI: HEST 000000007f24e2f8 000A8 (v01 INTEL AVOTON B 00000001 INTL 00000001)
May 17 09:07:13 SG360e kernel: [ 0.000000] ACPI: BERT 000000007f24e3a0 00030 (v01 INTEL AVOTON B 00000001 INTL 00000001)
May 17 09:07:13 SG360e kernel: [ 0.000000] ACPI: ERST 000000007f24e3d0 00230 (v01 INTEL AVOTON B 00000001 INTL 00000001)
May 17 09:07:13 SG360e kernel: [ 0.000000] ACPI: EINJ 000000007f24e600 00150 (v01 INTEL AVOTON B 00000001 INTL 00000001)
May 17 09:07:13 SG360e kernel: [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
May 17 09:07:13 SG360e kernel: [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
May 17 09:07:13 SG360e kernel: [ 6.374949] VFS: Mounted root (ext4 filesystem) readonly on device 8:3.
May 17 09:07:13 SG360e kernel: [ 7.832556] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
May 17 09:07:13 SG360e kernel: [ 8.432252] usb 1-1: New USB device found, idVendor=8087, idProduct=07db
May 17 09:07:13 SG360e kernel: [ 12.610724] ADDRCONF(NETDEV_UP): eth0: link is not ready
May 17 09:07:13 SG360e kernel: [ 14.918834] ADDRCONF(NETDEV_UP): eth1: link is not ready
May 17 09:07:13 SG360e kernel: [ 15.713407] ADDRCONF(NETDEV_UP): eth2: link is not ready
May 17 09:07:13 SG360e kernel: [ 16.502126] ADDRCONF(NETDEV_UP): eth3: link is not ready
May 17 09:07:13 SG360e kernel: [ 17.420652] ADDRCONF(NETDEV_UP): eth4: link is not ready
May 17 09:07:13 SG360e kernel: [ 18.191274] ADDRCONF(NETDEV_UP): eth5: link is not ready
May 17 09:07:14 SG360e dvqattest[2177]: DVQattest 2.0.195 (Dec 14 2011) starting.
May 17 09:07:14 SG360e kernel: [ 23.188087] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
May 17 09:07:14 SG360e xinetd[2284]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
May 17 09:07:15 SG360e dvqattest[2177]: DVQattest failed to start.
May 17 09:07:15 SG360e dvqattest[2320]: DVQattest 2.0.195 (Dec 14 2011) starting.
May 17 09:07:18 SG360e kernel: [ 27.037277] ADDRCONF(NETDEV_UP): eth0: link is not ready
May 17 09:07:18 SG360e dvqattest[2320]: DVQattest failed to start.
May 17 09:07:21 SG360e kernel: [ 29.968599] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
May 17 09:25:13 SG360e dvqattest[2410]: DVQattest 2.0.195 (Dec 14 2011) starting.
May 17 09:25:14 SG360e dvqattest[2410]: DVQattest failed to start.
May 17 09:26:44 SG360e xinetd[2473]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
May 17 11:36:20 SG360e rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="2137" x-info="http://www.rsyslog.com"] (re)start
May 17 11:36:20 SG360e kernel: [ 0.000000] BIOS-e820: 000000007f1f1000 - 000000007f46a000 (ACPI NVS)
May 17 11:36:20 SG360e kernel: [ 0.000000] ACPI: SPCR 000000007f24e2a8 00050 (v01 A M I APTIO V 01072009 AMI. 00000005)
May 17 11:36:20 SG360e kernel: [ 0.000000] ACPI: HEST 000000007f24e2f8 000A8 (v01 INTEL AVOTON B 00000001 INTL 00000001)
May 17 11:36:20 SG360e kernel: [ 0.000000] ACPI: BERT 000000007f24e3a0 00030 (v01 INTEL AVOTON B 00000001 INTL 00000001)
May 17 11:36:20 SG360e kernel: [ 0.000000] ACPI: ERST 000000007f24e3d0 00230 (v01 INTEL AVOTON B 00000001 INTL 00000001)
May 17 11:36:20 SG360e kernel: [ 0.000000] ACPI: EINJ 000000007f24e600 00150 (v01 INTEL AVOTON B 00000001 INTL 00000001)
May 17 11:36:20 SG360e kernel: [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
May 17 11:36:20 SG360e kernel: [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
May 17 11:36:20 SG360e kernel: [ 6.394806] VFS: Mounted root (ext4 filesystem) readonly on device 8:3.
May 17 11:36:20 SG360e kernel: [ 7.858586] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
May 17 11:36:20 SG360e kernel: [ 8.450689] usb 1-1: New USB device found, idVendor=8087, idProduct=07db
May 17 11:36:20 SG360e kernel: [ 12.602019] ADDRCONF(NETDEV_UP): eth0: link is not ready
May 17 11:36:20 SG360e kernel: [ 14.957983] ADDRCONF(NETDEV_UP): eth1: link is not ready
May 17 11:36:20 SG360e kernel: [ 15.742522] ADDRCONF(NETDEV_UP): eth2: link is not ready
May 17 11:36:20 SG360e kernel: [ 16.571101] ADDRCONF(NETDEV_UP): eth3: link is not ready
May 17 11:36:20 SG360e kernel: [ 17.561257] ADDRCONF(NETDEV_UP): eth4: link is not ready
May 17 11:36:20 SG360e kernel: [ 18.358042] ADDRCONF(NETDEV_UP): eth5: link is not ready
May 17 11:36:20 SG360e dvqattest[2184]: DVQattest 2.0.195 (Dec 14 2011) starting.
May 17 11:36:20 SG360e kernel: [ 23.226563] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
May 17 11:36:20 SG360e xinetd[2292]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
May 17 11:36:21 SG360e dvqattest[2184]: DVQattest failed to start.
May 17 11:36:21 SG360e dvqattest[2344]: DVQattest 2.0.195 (Dec 14 2011) starting.
May 17 11:36:23 SG360e kernel: [ 26.736009] ADDRCONF(NETDEV_UP): eth0: link is not ready
May 17 11:36:24 SG360e dvqattest[2344]: DVQattest failed to start.
May 17 11:36:26 SG360e kernel: [ 29.687047] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
May 17 11:58:14 SG360e kernel: [ 1335.242113] VBoxNetFlt: Successfully started.
May 17 11:58:14 SG360e kernel: [ 1335.245319] VBoxNetAdp: Successfully started.
May 17 11:58:14 SG360e kernel: [ 1335.249678] VBoxPciLinuxInit

Re: cannot create VM with VboxManage installed on debian

Posted: 17. May 2016, 16:38
by Perryg
:/var/spool/squid3/MachineVirtuelle/testVM$
What is this all about? Are you using chroot or something out of the ordinary?

What happens if you modprob vboxdrv?

Re: cannot create VM with VboxManage installed on debian

Posted: 17. May 2016, 17:13
by simoala007
/machines virtuelle/testVM is just a repertory that I created to put my VM on my disk mounted on /squid3

same error when i run from /home repertory .

when i run modprobe vboxdrv

:/var/spool/squid3$ modprobe vboxdrv
bash: modprobe: command not found

Re: cannot create VM with VboxManage installed on debian

Posted: 17. May 2016, 17:17
by Perryg
Well I have no idea where you need to go from here. I would look at permission issues and whether or not the Install actually worked properly to begin with.
You know modprobe should be run elevated though right?

Re: cannot create VM with VboxManage installed on debian

Posted: 17. May 2016, 19:20
by simoala007
when i run modprobe as sudo , got nothing:


:/home/machine/sc$ sudo modprobe vboxdrv
[sudo] password :
:/home/machine/sc$

i am really stuck here, thanks anyway

Re: cannot create VM with VboxManage installed on debian

Posted: 18. May 2016, 14:39
by simoala007
Do you think i have a problem with kernell ?

Does Virtual box has any pre requirement for debian version or kernell version ?

Thanks

Re: cannot create VM with VboxManage installed on debian

Posted: 18. May 2016, 15:13
by Perryg
Is the host a server, meaning it does not have a DT?
Do you run this host as a normal user and do you have your own home under that user?
Is this a remote server and one you access with ssh, or some other remote program?

post the results of the following from the terminal as normal user ( the one that installed the host OS ).
  • id
    uname -r
    cat /etc/issue
    cat /etc/debian_version