In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, the editor will bring you about the error report of VBox installation enhancements. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.
Execute the installation script with an error:
Click (here) to collapse or open
[root@rhel601 vboxsp] # sh VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.12 Guest Additions for Linux.
VirtualBox Guest Additions installer
Removing installed version 5.1.12 of VirtualBox Guest Additions...
Vboxadd.sh: Stopping VirtualBox Additions.
Copying additional installer modules...
Installing additional modules...
Vboxadd.sh: Building Guest Additions kernel modules.
Failed to set up service vboxadd, please check the log file
/ var/log/VBoxGuestAdditions.log for details.
View the installation log file:
Click (here) to collapse or open
[root@rhel601 vboxsp] # cat / var/log/VBoxGuestAdditions.log
Vboxadd.sh: failed: Look at / var/log/vboxadd-install.log to find out what went wrong.
Vboxadd.sh: failed: Please check that you have gcc, make, the header files for your Linux kernel and possibly perl installed..
Chcon: can't apply partial context to unlabeled file `/ usr/lib64/VBoxGuestAdditions/mount.vboxsf'
Check that the gcc and make packages are installed and that kernel and kernel-devel are installed. In this error, the gcc and kernel-devel packages are not installed, so the installation needs to be performed.
Click (here) to collapse or open
Yum install-y gcc*
Yum isntall-y kernel-devel
The results after the installation are as follows:
Yum list gcc
Yum list make
Yum list kernel kernel-devel
Click (here) to collapse or open
[root@rhel601 ~] # yum list gcc*
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Installed Packages
Gcc.x86_64 4.4.6-4.el6 @ local
Gcc-c++.x86_64 4.4.6-4.el6 @ local
Gcc-gfortran.x86_64 4.4.6-4.el6 @ local
Gcc-gnat.x86_64 4.4.6-4.el6 @ local
Gcc-java.x86_64 4.4.6-4.el6 @ local
Gcc-objc.x86_64 4.4.6-4.el6 @ local
Gcc-objc++.x86_64 4.4.6-4.el6 @ local
[root@rhel601 ~] # yum list make
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Installed Packages
Make.x86_64
[root@rhel601 ~] # yum list kernel kernel-devel
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Installed Packages
Kernel.x86_64 2.6.32-279.el6 @ anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3
Kernel-devel.x86_64 2.6.32-279.el6 @ local
Perform the installation again:
Click (here) to collapse or open
[root@rhel601 vboxsp] # sh VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.1.12 Guest Additions for Linux.
VirtualBox Guest Additions installer
Removing installed version 5.1.12 of VirtualBox Guest Additions...
Vboxadd.sh: Stopping VirtualBox Additions.
Copying additional installer modules...
Installing additional modules...
Vboxadd.sh: Building Guest Additions kernel modules.
Vboxadd.sh: Starting the VirtualBox Guest Additions.
Could not find the X.Org or XFree86 Window System, skipping. -- the mistakes here are ignored
The above indicates that the plug-in installation is complete.
The above is the editor for you to share the enhanced features of the VBox installation error report how to do, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.