본문 바로가기
카테고리 없음

Virtualbox Guest Additions CD 설치 오류시

by Knowledge Store In Hyunsoft 2020. 12. 24.

 

centos VM 설치 후

 

Guest Additions CD 설치 오류시

 

vboxclient the virtualbox kernel service is not running. exiting.

 

libsemanage.semanage_read_policydb: Error while reading kernel policy from /etc/selinux/targeted/active/policy.linked. (No such file or directory).
OSError: No such file or directory
modprobe vboxguest failed
tail -f /var/log/vboxadd-setup.log
Building the main Guest Additions 6.1.17 module for kernel 4.18.0-240.1.1.el8_3.x86_64.
Error building the module. Build output follows.
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/4.18.0-240.1.1.el8_3.x86_64/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j4 modules
make[1]: warning: -jN forced in submake: disabling jobserver mode.
Makefile:978: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop.
make: *** [/tmp/vbox.0/Makefile-footer.gmk:117: vboxguest]
Error 2 modprobe vboxguest failed

 

centos8

sudo yum install -y elfutils-libelf-devel
sudo yum groupinstall -y "Development Tools"
sudo yum install -y kernel-headers
sudo yum install -y kernel-devel

 

Error while reading kernel policy from /etc/selinux/targeted/active/policy.linked.

yum install -y selinux-policy-targeted
728x90

댓글