Page 1 of 2

Nothing is coming up

Posted: 5. Nov 2017, 13:57
by Girish Sharma
I downloaded virtualbox from this site and this is what I got :

Code: Select all

girish@girish-System-Product-Name:~/Downloads$ sudo dpkg -i virtualbox-5.2_5.2.0-118431~Ubuntu~xenial_amd64.deb 
[sudo] password for girish: 
Selecting previously unselected package virtualbox-5.2.
dpkg: considering removing virtualbox in favour of virtualbox-5.2 ...
dpkg: yes, will remove virtualbox in favour of virtualbox-5.2
(Reading database ... 175626 files and directories currently installed.)
Preparing to unpack virtualbox-5.2_5.2.0-118431~Ubuntu~xenial_amd64.deb ...
Unpacking virtualbox-5.2 (5.2.0-118431~Ubuntu~xenial) ...
Setting up virtualbox-5.2 (5.2.0-118431~Ubuntu~xenial) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
girish@girish-System-Product-Name:~/Downloads$ virtualbox 
girish@girish-System-Product-Name:~/Downloads$ 
I am having 64 bit Ubuntu codename xenial. When I says virtualbox in command prompt, nothing is coming up, no error, nothing.

Kindly help me how do I configure the VM software please.

Re: Nothing is coming up

Posted: 5. Nov 2017, 15:10
by Perryg
Is this host a server or does it have a DT? Is the VirtualBox icon showing up in the DT launcher and does it start the VirtualBox main manager? Have you rebooted the host after the install?

Re: Nothing is coming up

Posted: 5. Nov 2017, 15:58
by Girish Sharma
How do I know the host is server or desktop because PC came with installed Ubuntu 16.04 LTS.
I don't know what do you mean by DT please?
When I types virtualbox in the command prompt noting comes up and it shows an icon (probably it is icon of virtualbox) in the left hand side icons tray. To close it, I have to right click on this icon and clicks on quit.

Re: Nothing is coming up

Posted: 5. Nov 2017, 17:04
by Perryg
Open a terminal and type the following and post the results here:

Code: Select all

lsmod | grep vbox
Also you never mentioned
  • 1) whether or not you rebooted the PC after you installed VirtualBox.
    2) if the VirtualBox icon actually shows in the applications.
Please read my posts and answer all questions or this is going to be a lengthy process.

Re: Nothing is coming up

Posted: 5. Nov 2017, 18:06
by Girish Sharma

Code: Select all

girish@girish-System-Product-Name:~$ lsmod | grep vbox
vboxpci                24576  0
vboxnetadp             28672  0
vboxnetflt             28672  0
vboxdrv               454656  3 vboxnetadp,vboxnetflt,vboxpci
girish@girish-System-Product-Name:~$ 
1.I restarted PC many times.
2.Virtualbox icon is showing in applications list but nothing is happening, doing, no response.

Re: Nothing is coming up

Posted: 5. Nov 2017, 18:14
by Perryg
Your post shows the modules are loaded so now we need to look deeper. Post the following:

Code: Select all

/var/log/vbox-install.log

Re: Nothing is coming up

Posted: 5. Nov 2017, 18:17
by Girish Sharma
This is what coming after saying virtualbox in command prompt :

Re: Nothing is coming up

Posted: 5. Nov 2017, 18:19
by Girish Sharma

Code: Select all

girish@girish-System-Product-Name:~$ /var/log/vbox-install.log
bash: /var/log/vbox-install.log: Permission denied
girish@girish-System-Product-Name:~$ sudo /var/log/vbox-install.log
[sudo] password for girish: 
sudo: /var/log/vbox-install.log: command not found
girish@girish-System-Product-Name:~$ 

Re: Nothing is coming up

Posted: 5. Nov 2017, 18:24
by socratis
There's a "cat" missing in there...:

Code: Select all

cat /var/log/vbox-install.log
Meow... :)

Re: Nothing is coming up

Posted: 5. Nov 2017, 18:30
by Girish Sharma
cat /var/log/vbox-install.log output is very huge, I don't know which part I should paste here but few last lines :

Code: Select all

 -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-pie -I/lib/modules/4.8.0-36-generic/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DRT_ARCH_AMD64  -DKBUILD_BASENAME='"vboxpci.mod"'  -DKBUILD_MODNAME='"vboxpci"' -DMODULE  -c -o /tmp/vbox.0/vboxpci.mod.o /tmp/vbox.0/vboxpci.mod.c
  ld -r -m elf_x86_64 -T ./scripts/module-common.lds --build-id  -o /tmp/vbox.0/vboxpci.ko /tmp/vbox.0/vboxpci.o /tmp/vbox.0/vboxpci.mod.o
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/4.8.0-36-generic/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 INSTALL_MOD_PATH= INSTALL_MOD_DIR=misc modules_install
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
echo >&2;							\
echo >&2 "  ERROR: Kernel configuration is invalid.";		\
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
echo >&2 ;							\
/bin/false)
mkdir -p /lib/modules/4.8.0-36-generic/misc
make -f ./scripts/Makefile.modinst
  mkdir -p /lib/modules/4.8.0-36-generic/misc ; cp /tmp/vbox.0/vboxpci.ko /lib/modules/4.8.0-36-generic/misc ; true /lib/modules/4.8.0-36-generic/misc/vboxpci.ko ; scripts/sign-file "sha512" "certs/signing_key.pem" certs/signing_key.x509 /lib/modules/4.8.0-36-generic/misc/vboxpci.ko || true && true /lib/modules/4.8.0-36-generic/misc/vboxpci.ko
At main.c:158:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
  /bin/bash ./scripts/depmod.sh /sbin/depmod 4.8.0-36-generic ""
girish@girish-System-Product-Name:~$ 

Re: Nothing is coming up

Posted: 5. Nov 2017, 19:04
by socratis
Girish Sharma wrote:cat /var/log/vbox-install.log output is very huge
You could have zipped it, but it's OK, the error is shown in the last part in any event...
Girish Sharma wrote:
At main.c:158:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
  /bin/bash ./scripts/depmod.sh /sbin/depmod 4.8.0-36-generic ""
I believe that you have enabled secure boot and VirtualBox does not support signed modules. See ticket #17206 for example:
That is something that we do not currently support, so you will need to either disable it or take care of it yourself.
which translates to 1) disable secure boot, or 2) sign the modules yourself.

Re: Nothing is coming up

Posted: 5. Nov 2017, 19:23
by Perryg
Naw there was no cat missing. I wanted you to post the file ( compressed if too large otherwise ), but as socratis pointed out the results you posted were enough to tell the cause and solution.

Note: the reason for this is we do not have access to the OS signing keys and until that gets worked out with various different distros you need to handle this yourself.

Re: Nothing is coming up

Posted: 5. Nov 2017, 20:03
by socratis
Perryg wrote:Naw there was no cat missing.
You are right, what you said in fact was (emphasis mine):
Perryg wrote:Your post shows the modules are loaded so now we need to look deeper. Post the following:

Code: Select all

/var/log/vbox-install.log

Re: Nothing is coming up

Posted: 6. Nov 2017, 04:53
by Girish Sharma
After disabling secure boot (deleted PK key only) in BIOS I removed existing virtualbox by
sudo apt-get remove --purge virtualbox*
it got done.
Then again I reinstalled by :
sudo dpkg -i virtualbox-5.2_5.2.0-118431~Ubuntu~xenial_amd64.deb
restarted PC.
But nothing is coming up. No error message, only Virtualbox icon appears in applications list which is showing in left hand side (I don't know what is this name or calling)

Re: Nothing is coming up

Posted: 6. Nov 2017, 05:02
by Girish Sharma
I am sorry, I forgot to add install log. So I am adding here please.