如何處理錯誤訊息Please install the Linux kernel header files
Please install the Linux kernel "header" files matching the current kernel
當我啟動minilkube時遇到如下錯誤訊息:
################################################################################
Minikube setup with driver virtualbox
################################################################################
Starting local Kubernetes v1.10.0 cluster...
Starting VM...
E1010 03:57:24.565157 9896 start.go:174] Error starting host: Error creating host: Error executing step: Running precreate checks.
: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (3.10.0-862.11.6.el7.x86_64) or it failed to load. Please recompile the kernel module and install it by sudo /sbin/vboxconfig You will not be able to start VMs until this problem is fixed. 5.2.18r124319". Please upgrade at .
Retrying.
E1010 03:57:24.566250 9896 start.go:180] Error starting host: Error creating host: Error executing step: Running precreate checks.
: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (3.10.0-862.11.6.el7.x86_64) or it failed to load. Please recompile the kernel module and install it by sudo /sbin/vboxconfig You will not be able to start VMs until this problem is fixed. 5.2.18r124319". Please upgrade at
執行命令列:
rcvboxdrv setup
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-devel kernel-devel-3.10.0-862.11.6.el7.x86_64
所以解決這個錯誤的關鍵就是:
Please install the Linux kernel "header" files matching the current kernel
執行命令列:yum install kernel-devel
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_64 0:3.10.0-862.14.4.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================
Package Arch Version Repository Size
========================================================================================================
Installing:
kernel-devel x86_64 3.10.0-862.14.4.el7 rhel_7_server_rpms 16 M
Transaction Summary
========================================================================================================
Install 1 Package
Total download size: 16 M
Installed size: 37 M
Is this ok [y/d/N]:
選擇Y之後,成功安裝。
Install 1 Package
Total download size: 16 M
Installed size: 37 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
kernel-devel-3.10.0-862.14.4.el7.x86_64.rpm | 16 MB 00:00:18
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kernel-devel-3.10.0-862.14.4.el7.x86_64 1/1
Verifying : kernel-devel-3.10.0-862.14.4.el7.x86_64 1/1
Installed:
kernel-devel.x86_64 0:3.10.0-862.14.4.el7
Complete!
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2216988/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 如何處理錯誤訊息Please install the gcc make perl packagesGCPackage
- 如何處理Docker錯誤訊息:please add——insecure-registryDocker
- 如何處理VirtualBox啟動錯誤訊息:The vboxdrv kernel module is not loaded
- 如何處理錯誤訊息PleaseinstalltheLinuxkernelheaderfilesLinuxHeader
- Go 語言的錯誤訊息處理Go
- 錯誤訊息sales area is not assigned for the header productHeader
- CRM中介軟體裡parent not ok的錯誤訊息如何處理
- 如何處理Docker的錯誤訊息request canceled:Docker代理問題Docker
- 如何處理Eclipse錯誤訊息 The declared package does not match the expected packageEclipsePackage
- 如何處理SAP雲平臺錯誤訊息 there is no compute unit quota for subaccount
- linux下gdb如何處理coredump錯誤Linux
- React應用裡Invalid hook call錯誤訊息的處理ReactHook
- 錯誤處理:如何通過 error、deferred、panic 等處理錯誤?Error
- 如何處理用程式碼建立SD Sales order時遇到的錯誤訊息KI 180
- yarn install 遇到的錯誤訊息 - Error EPERM operation not permitted, open .yarnrcYarnErrorMIT
- Too many open files報錯處理
- Android Studio錯誤處理Plugin is too old, please update to a more recent versionAndroidPlugin
- 如何處理RabbitMQ 訊息堆積和訊息丟失問題MQ
- 錯誤處理
- XAMRAIN的INSTALL_FAILED_NO_MATCHING_ABIS錯誤處理AI
- IOS 訊息推送處理iOS
- SAP錯誤訊息除錯之七種武器:讓所有的錯誤訊息都能被定位除錯
- PHP 錯誤處理PHP
- php錯誤處理PHP
- Go 錯誤處理Go
- Swift錯誤處理Swift
- Zabbix錯誤處理
- mysqldump錯誤處理MySql
- struts 如何能夠報處理正常的訊息
- php ActiveMQ的傳送訊息,與處理訊息PHPMQ
- SAP OData 服務在 gateway 層出錯,應該如何處理?通過一個錯誤訊息來舉例說明Gateway
- MPLS RSVP訊息處理——VecloudCloud
- Storm保證訊息處理ORM
- 三、訊息的可靠處理
- 【crontab】“bad minute”及“errors in crontab file, can't install”錯誤處理Error
- Angular No provider for EffectsRootModule錯誤訊息AngularIDE
- PHP錯誤處理和異常處理PHP
- go的錯誤處理Go