Checking /var/log/messages gives only the same messages.Code: Select all
# /usr/lib/virtualbox/vboxweb-service.sh start vboxweb-service.sh: Starting VirtualBox web service. vboxweb-service.sh: failed: VirtualBox web service failed to start.
I see a similar stanza six more times and then the log ends with:Code: Select all
var/log/vbox-install.log starts with this and then continues to compile modules: make V=1 CONFIG_MODULE_SIG= -C /lib/modules/3.10.0-693.11.1.el7.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j8 modules make[1]: warning: -jN forced in submake: disabling jobserver mode. 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 /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/* make -f scripts/Makefile.build obj=/tmp/vbox.0
My install process from a clean Centos7 minimal install was:Code: Select all
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/3.10.0-693.11.1.el7.x86_64/misc make -f ./scripts/Makefile.modinst mkdir -p /lib/modules/3.10.0-693.11.1.el7.x86_64/misc; cp /tmp/vbox.0/vboxpci.ko /lib/modules/3.10.0-693.11.1.el7.x86_64/misc ; true /lib/modules/3.10 .0-693.11.1.el7.x86_64/misc/vboxpci.ko ; perl ./scripts/sign-file "sha256" ./signing_key.priv ./signing_key.x509 /lib/modules/3.10.0-693.11.1.el7.x86_64 /misc/vboxpci.ko || true Can't read private key /bin/sh ./scripts/depmod.sh /sbin/depmod 3.10.0-693.11.1.el7.x86_64 ""
Any help will be greatly appreciated.Code: Select all
yum -y update yum -y install epel-release yum -y install wget net-tools joe atop mlocate tree man man-pages screen unzip yum -y install ntp systemctl enable ntpdate.service systemctl enable ntpd.service /bin/systemctl start ntpdate.service /bin/systemctl start ntpd.service reboot yum -y install httpd mod_ssl systemctl enable httpd.service systemctl start httpd.service wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo -P /etc/yum.repos.d/ yum update -y yum -y groupinstall 'Development Tools' SDL kernel-devel kernel-headers dkms yum -y install VirtualBox-5.2 /usr/lib/virtualbox/vboxdrv.sh setup useradd -c"Virtual Box" -m vbox usermod -a -G vboxusers vbox passwd vbox wget http://download.virtualbox.org/virtualbox/5.2.4/Oracle_VM_VirtualBox_Extension_Pack-5.2.4-119785.vbox-extpack VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.2.4-119785.vbox-extpack