VirtualBox

Ticket #14543 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Oracle Linux 6 update 7 - Not working VirtualBox 5.0.2

Reported by: sp3c73r_ Owned by:
Priority: critical Component: installer
Version: VirtualBox 5.0.2 Keywords:
Cc: Guest type: Linux
Host type: Linux

Description

My host: Oracle Linux 6 Update 7 in progress install VirtualBox 5.0.2 error:

[root@DS-New ~]# yum install VirtualBox-5.0-5.0.2_102096_el6-1.x86_64.rpm
Loaded plugins: rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Setting up Install Process
Examining VirtualBox-5.0-5.0.2_102096_el6-1.x86_64.rpm: VirtualBox-5.0-5.0.2_102                                                                             096_el6-1.x86_64
Marking VirtualBox-5.0-5.0.2_102096_el6-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package VirtualBox-5.0.x86_64 0:5.0.2_102096_el6-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package
      Arch   Version            Repository                                 Size
================================================================================
Installing:
 VirtualBox-5.0
      x86_64 5.0.2_102096_el6-1 /VirtualBox-5.0-5.0.2_102096_el6-1.x86_64 165 M

Transaction Summary
================================================================================
Install       1 Package(s)

Total size: 165 M
Installed size: 165 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : VirtualBox-5.0-5.0.2_102096_el6-1.x86_64                     1/1

Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Stopping VirtualBox kernel modules [  OK  ]
Recompiling VirtualBox kernel modules [  OK  ]
Starting VirtualBox kernel modules [  OK  ]
warning: %post(VirtualBox-5.0-5.0.2_102096_el6-1.x86_64) scriptlet failed, exit                                                                              status 1
Non-fatal POSTIN scriptlet failure in rpm package VirtualBox-5.0-5.0.2_102096_el                                                                             6-1.x86_64
  Verifying  : VirtualBox-5.0-5.0.2_102096_el6-1.x86_64                     1/1

Installed:
  VirtualBox-5.0.x86_64 0:5.0.2_102096_el6-1

Complete!
[root@DS-New ~]#

After install VirtualBox 5.0.2 not working:

# vboxwebsrv -v
Oracle VM VirtualBox web service Version 5.0.2
(C) 2007-2015 Oracle Corporation
All rights reserved.
VirtualBox web service 5.0.2 r102096 linux.amd64 (Aug 13 2015 19:15:51) release log
00:00:00.000122 main     Log opened 2015-09-04T14:16:46.602094000Z
00:00:00.000125 main     Build Type: release
00:00:00.000131 main     OS Product: Linux
00:00:00.000132 main     OS Release: 3.8.13-98.2.1.el6uek.x86_64
00:00:00.000133 main     OS Version: #2 SMP Wed Aug 19 16:33:29 PDT 2015
00:00:00.000781 main     DMI Product Name: System Product Name
00:00:00.000790 main     DMI Product Version: System Version
00:00:00.000974 main     Host RAM: 7617MB total, 7330MB available
00:00:00.000978 main     Executable: /usr/lib/virtualbox/vboxwebsrv
00:00:00.000978 main     Process ID: 32171
00:00:00.000979 main     Package type: LINUX_64BITS_EL_6
vboxwebsrv: error: failed to create the VirtualBoxClient object!
vboxwebsrv: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available)
vboxwebsrv: error: Most likely, the VirtualBox COM server is not running or failed to start.
#
# VBoxManage extpack cleanup
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.
[root@DS-New ~]# /etc/init.d/vboxinit start
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.

Attachments

vbox-install.zip Download (166.6 KB) - added by sp3c73r_ 2 years ago.
/var/log/vbox-install.log
vbox-install.2.zip Download (7.2 KB) - added by sp3c73r_ 2 years ago.
log for my comment /etc/init.d/vboxdrv setup
VBoxSVC.log Download (2.2 KB) - added by sp3c73r_ 2 years ago.

Change History

comment:1 Changed 2 years ago by frank

Did you actually read what you posted? The real interesting file is /var/log/vbox-install.log, please use the 'Attach' function to attach this file to this ticket.

Changed 2 years ago by sp3c73r_

/var/log/vbox-install.log

comment:2 Changed 2 years ago by sp3c73r_

List installed kernels packets:

kernel-uek-3.8.13-98.2.1.el6uek
kernel-uek-devel-3.8.13-98.2.1.el6uek
kernel-uek-firmware-3.8.13-98.2.1.el6uek
kernel-uek-headers-3.8.13-26.2.4.el6uek
Last edited 2 years ago by sp3c73r_ (previous) (diff)

comment:3 Changed 2 years ago by sp3c73r_

Modules build and log: https://www.virtualbox.org/attachment/ticket/14543/vbox-install.2.zip

[root@DS-New ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules                         [  OK  ]
Removing old VirtualBox pci kernel module                  [  OK  ]
Removing old VirtualBox netadp kernel module               [  OK  ]
Removing old VirtualBox netflt kernel module               [  OK  ]
Removing old VirtualBox kernel module                      [  OK  ]
Recompiling VirtualBox kernel modules                      [  OK  ]
Starting VirtualBox kernel modules                         [  OK  ]
[root@DS-New ~]#

Last edited 2 years ago by sp3c73r_ (previous) (diff)

comment:4 Changed 2 years ago by frank

Hmm, actually the compilation of the kernel modules succeeded. Could you do the following:

strace -f -s256 -o log yum install VirtualBox-5.0-5.0.2_102096_el6-1.x86_64.rpm

(or replace the yum command with the corresponding rpm command if you already downloaded the package).

I would be interested in the resuling log, please compress and attach it to this ticket.

Changed 2 years ago by sp3c73r_

log for my comment /etc/init.d/vboxdrv setup

comment:5 Changed 2 years ago by sp3c73r_

strace file is very big

src ~190Mb
gz ~28Mb

URL on strace.log.gz

strace -f -s256 -o log yum install VirtualBox-5.0-5.0.2_102096_el6-1.x86_64.rpm

in my dropbox account

 https://www.dropbox.com/s/tt3b3em3o4qtzsj/strace.log.gz?dl=0

Last edited 2 years ago by sp3c73r_ (previous) (diff)

comment:6 Changed 2 years ago by sp3c73r_

Last edited 2 years ago by sp3c73r_ (previous) (diff)

comment:7 follow-up: ↓ 8 Changed 2 years ago by sp3c73r_

Provision of information is sufficient for analysis?

when can we expect an answer?

Last edited 2 years ago by sp3c73r_ (previous) (diff)

comment:8 in reply to: ↑ 7 Changed 2 years ago by frank

I've downloaded the strace file, you can remove it.

According to the log file there seem to be a problem with the VBoxSVC daemon. What happens if you start /usr/lib/virtualbox/VBoxSVC manually? Please post the output.

Replying to sp3c73r_:

Provision of information is sufficient for analysis?

when can we expect an answer?

This support is best effort, therefore no ETA.

Last edited 2 years ago by frank (previous) (diff)

comment:9 Changed 2 years ago by sp3c73r_

#  /usr/lib/virtualbox/VBoxSVC
***********************************************
Oracle VM VirtualBox XPCOM Server Version 5.0.2
(C) 2004-2015 Oracle Corporation
All rights reserved.

Starting event loop....
[press Ctrl-C to quit]

Big thanks for the quick response

comment:10 Changed 2 years ago by sp3c73r_

Addition information:

on Oracle Linux 6 update 6 VirtualBox 5.0.2 is working!

on Oracle Linux 7 update 0 VirtualBox 5.0.2 is working! ( http://download.virtualbox.org/virtualbox/5.0.2/VirtualBox-5.0-5.0.2_102096_el7-1.x86_64.rpm)

on Oracle Linux 7 update 1 VirtualBox 5.0.2 is working! ( http://download.virtualbox.org/virtualbox/5.0.2/VirtualBox-5.0-5.0.2_102096_el7-1.x86_64.rpm)

error in host Oracle Linux 6 update 7((

Last edited 2 years ago by sp3c73r_ (previous) (diff)

comment:11 Changed 2 years ago by sp3c73r_

i starting /usr/lib/virtualbox/VBoxSVC manual in term1

#  /usr/lib/virtualbox/VBoxSVC
***********************************************
Oracle VM VirtualBox XPCOM Server Version 5.0.2
(C) 2004-2015 Oracle Corporation
All rights reserved.

Starting event loop....
[press Ctrl-C to quit]
process 13959: arguments to dbus_connection_close() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2833.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted

and start vboxmanage extpack install in term2 ---see error after [press Ctrl-C to quit] in term1

#vboxmanage extpack install --replace /home/vbox/Oracle_VM_VirtualBox_Extension_Pack-5.0.2.vbox-extpack

Changed 2 years ago by sp3c73r_

comment:12 Changed 2 years ago by sp3c73r_

see https://www.virtualbox.org/wiki/VBoxMainLogging

Release Logging

To enable logging for VBoxSVC in release mode (that is, running a non-debug build), the following variables can be used in order to activate logging of specific log groups / flags:

#export VBOXSVC_RELEASE_LOG=main.e.l.f+gui.e.l.f
#export VBOXSVC_RELEASE_LOG_FLAGS="time tid thread"
#export VBOXSVC_RELEASE_LOG_DEST=dir=/var/log/VBoxSVC
#/usr/lib/virtualbox/VBoxSVC
***********************************************
Oracle VM VirtualBox XPCOM Server Version 5.0.2
(C) 2004-2015 Oracle Corporation
All rights reserved.

Starting event loop....
[press Ctrl-C to quit]
process 14594: arguments to dbus_connection_close() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2833.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted

Crash log after start command

#VBoxManage extpack cleanup
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.
[root@DS-New ~]# VBoxManage extpack cleanup
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.

Last edited 2 years ago by sp3c73r_ (previous) (diff)

comment:13 Changed 2 years ago by sp3c73r_

I analized https://www.virtualbox.org/attachment/ticket/14543/VBoxSVC.log

Trouble in not started /etc/init.d/messagebus

After starting

#/etc/init.d/messagebus start

VirtualBox 5.0.2 working)))

Solve trouble:

#chkconfig messagebus on

TODO!!! for Developer VirtualBox-5.0: Add dependence dbus packages and chkconfig messagebus on

Last edited 2 years ago by sp3c73r_ (previous) (diff)

comment:14 Changed 2 years ago by frank

Actually we will not add a dependency but there will be a fix for handling systems without DBus running.

comment:15 Changed 2 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix is part of VBox 5.0.4.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use