{"id":4691,"date":"2020-02-28T11:41:58","date_gmt":"2020-02-28T17:41:58","guid":{"rendered":"http:\/\/icesquare.com\/wordpress\/?p=4691"},"modified":"2020-02-28T11:41:58","modified_gmt":"2020-02-28T17:41:58","slug":"virtualboxcentos-7-ns_error_failure","status":"publish","type":"post","link":"https:\/\/icesquare.com\/wordpress\/virtualboxcentos-7-ns_error_failure\/","title":{"rendered":"[VirtualBox]CentOS 7: NS_ERROR_FAILURE"},"content":{"rendered":"<p>After I reboot one of my VirtualBox host servers today, I was unable to start the virtual box guests. The error was a popular one: NS_ERROR_FAILURE.<\/p>\n<p>The problem was caused by the kernel mismatch problem. All you need is to rebuild the virtual box library to match with your system kernel. In my case, I had the following:<\/p>\n<pre>\r\n#This is my Virtual Box version\r\n6.0.16\r\n\r\n\r\n#This is my Linux kernel:\r\nuname -a\r\n3.10.0-1062.12.1.el7.x86_64\r\n\r\n\r\n#This is my virtual box modules version:\r\nmodinfo vboxdrv\r\nfilename:       \/lib\/modules\/3.10.0-514.10.2.el7.x86_64\/weak-updates\/vboxdrv.ko.xz\r\nversion:        5.0.40 r115130 (0x00240000)\r\nlicense:        GPL\r\ndescription:    Oracle VM VirtualBox Support Driver\r\nauthor:         Oracle Corporation\r\nretpoline:      Y\r\nrhelversion:    7.6\r\nsrcversion:     3AFDBBC6FDA2CE8CF253D33\r\ndepends:\r\nvermagic:       3.10.0-957.1.3.el7.x86_64 SMP mod_unload modversions\r\nparm:           force_async_tsc:force the asynchronous TSC mode (int)\r\n<\/pre>\n<p>\nAs you can see, the Virtual Box kernel is loaded from a wrong kernel location. Also the Virtual Box is 5.0.40 instead of 6.0.16. In my case, all I need is to rebuild the virtual box library to make it compatible with the Linux kernel. In order to do it, you will need to do the following:<\/p>\n<ol>\n<li>Remove all the old Linux kernels<\/li>\n<li>Remove the Virtual Box modules.<\/li>\n<li>Uninstall the Virtual Box<\/li>\n<li>Reboot<\/li>\n<li>Install the Virtual Box<\/li>\n<\/ol>\n<pre>\r\n#Remove all of the old kernels:\r\nsudo package-cleanup --oldkernels --count=1 -y; \r\n\r\n\r\n#Remove all except your current modules:\r\ncd \/lib\/modules\/\r\n\r\n\r\n#Uninstall the Virtual Box\r\nsudo yum remove VirtualBox-6.0\r\n\r\n\r\n#Reboot\r\nsudo reboot\r\n\r\n\r\n#Install the Virtual Box\r\nsudo yum install -y VirtualBox-6.0\r\n\r\n\r\n#Install the Extension Pack (The version number may be different in your case)\r\nwget --no-check-certificate https:\/\/download.virtualbox.org\/virtualbox\/6.0.16\/Oracle_VM_VirtualBox_Extension_Pack-6.0.16.vbox-extpack\r\nsudo VBoxManage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-6.0.16.vbox-extpack\r\n\r\n\r\n#Start the Virtual Box again\r\n<\/pre>\n<p>That&#8217;s it! Hope it helps!<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After I reboot one of my VirtualBox host servers today, I was unable to start the virtual box guests. The error was a popular one: NS_ERROR_FAILURE. The problem was caused <a class=\"more-link\" href=\"https:\/\/icesquare.com\/wordpress\/virtualboxcentos-7-ns_error_failure\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[94,144,6,69],"tags":[179],"class_list":["post-4691","post","type-post","status-publish","format-standard","hentry","category-computer-problems-computer-help-pc-support","category-sever-problem","category-technology","category-troubleshooting-technology","tag-virtual-box"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p1sqzr-1dF","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":4630,"url":"https:\/\/icesquare.com\/wordpress\/zfs-how-to-update-linux-kernel-without-reboot\/","url_meta":{"origin":4691,"position":0},"title":"[ZFS On Linux]How to Update Linux Kernel without Rebooting the System","author":"Derrick","date":"January 3, 2020","format":false,"excerpt":"As of Jan 2020, I manage 65 Linux + ZFS servers. Normally, I prefer to reboot each server after updating its kernel (according to Ret Hat, most updates are related to security fix). Without ZFS, it is not a big issue because rebooting a basic Linux server takes about 30\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4436,"url":"https:\/\/icesquare.com\/wordpress\/how-to-fix-the-mess-created-by-zfs-on-linux-after-update\/","url_meta":{"origin":4691,"position":1},"title":"&#8220;ZFS on Linux&#8221;: The ZFS modules are not loaded. Try running &#8216;\/sbin\/modprobe zfs&#8217; as root to load them.","author":"Derrick","date":"April 10, 2018","format":false,"excerpt":"Last Updated: Oct 10, 2021 This article is based on my experience with CentOS 7. If you are running other Linux distributions, please adjust the commands and package names accordingly (e.g., yum --> apt-get). As of Oct 3, 2019, I cannot get ZFS on Linux running on CentOS 8. ZFS\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4202,"url":"https:\/\/icesquare.com\/wordpress\/centosrhel-7-no-zfs-after-updating-the-kernel\/","url_meta":{"origin":4691,"position":2},"title":"CentOS\/RHEL 7 &#8211; No ZFS After Updating the Kernel","author":"Derrick","date":"December 12, 2016","format":false,"excerpt":"Let's all agree with this fact: ZFS is foreign to Linux. It is not native. You can't expect that ZFS on Linux will run smoothly as FreeBSD or Solaris. Having using ZFS on Linux since 2013 (and ZFS on FreeBSD since 2009), I've noticed that ZFS does not like Linux\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5047,"url":"https:\/\/icesquare.com\/wordpress\/how-to-install-realtek-2-5g-ethernet-driver-r8125-on-rhel7\/","url_meta":{"origin":4691,"position":3},"title":"How to Install Realtek 2.5G Ethernet driver r8125 on RHEL7","author":"Derrick","date":"November 14, 2025","format":false,"excerpt":"I am going to show you how to install TP-Link 2.5GB PCIe Network Card (TX201) in CentOS 7. There are few methods. The first method is to compile the driver from the Realtek website. If you want to try it, don't be fooled by the file name (r8125-9.016.01.tar.tgz). It is\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4542,"url":"https:\/\/icesquare.com\/wordpress\/centos-7-dracut-initqueue-timeout\/","url_meta":{"origin":4691,"position":4},"title":"CentOS 7 &#8211; dracut-initqueue timeout","author":"Derrick","date":"January 2, 2019","format":false,"excerpt":"I received a Christmas gift from the RHEL 7 \/ CentOS 7 \/ Linux kernel team today. After my system got updated to the new kernel (3.10.0-957.1.3.el7.x86_64), my system gave me few surprises. As a sys-admin, I don't want to see any surprise. What I really want is a working\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4679,"url":"https:\/\/icesquare.com\/wordpress\/zfs-on-linux-trouble-this-pool-uses-the-following-features-not-supported-by-this-system-all-unsupported-features-are-only-required-for-writing-to-the-pool\/","url_meta":{"origin":4691,"position":5},"title":"[ZFS On Linux Trouble] This pool uses the following feature(s) not supported by this system&#8230;All unsupported features are only required for writing to the pool, zpool create: invalid argument for this pool operation","author":"Derrick","date":"February 11, 2020","format":false,"excerpt":"When I rebooted my computer and loaded my ZFS pool today, I got this error message: #sudo zpool import -a This pool uses the following feature(s) not supported by this system: org.zfsonlinux:project_quota (space\/object accounting based on project ID.) com.delphix:spacemap_v2 (Space maps representing large segments are more efficient.) All unsupported features\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/4691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/comments?post=4691"}],"version-history":[{"count":1,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/4691\/revisions"}],"predecessor-version":[{"id":4692,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/4691\/revisions\/4692"}],"wp:attachment":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/media?parent=4691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/categories?post=4691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/tags?post=4691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}