{"id":5242,"date":"2023-06-28T23:00:00","date_gmt":"2023-06-29T04:00:00","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=5242"},"modified":"2023-06-28T22:54:50","modified_gmt":"2023-06-29T03:54:50","slug":"mongo-illegal-hardware-instruction-mongo-on-linux","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/mongo-illegal-hardware-instruction-mongo-on-linux\/","title":{"rendered":"Mongo &#8220;illegal hardware instruction mongo&#8221; on Linux"},"content":{"rendered":"\n<p>While trying to install and run mongo on Kali Linux, I encountered the following error.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">zsh: illegal hardware instruction mongo<\/pre>\n\n\n\n<p>Using a Bash shell it returns the following instead.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Illegal instruction<\/pre>\n\n\n\n<p>It appears that the issue is from running mongo in a virtual machine.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.mongodb.com\/community\/forums\/t\/mongodb-community-5-0-12-illegal-instruction-core-dumped-ubuntu-20-04-5-lts\/204332\">https:\/\/www.mongodb.com\/community\/forums\/t\/mongodb-community-5-0-12-illegal-instruction-core-dumped-ubuntu-20-04-5-lts\/204332<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/askubuntu.com\/questions\/699077\/how-to-enable-avx2-extensions-on-a-ubuntu-guest-in-virtualbox-5\">https:\/\/askubuntu.com\/questions\/699077\/how-to-enable-avx2-extensions-on-a-ubuntu-guest-in-virtualbox-5<\/a><\/p>\n\n\n\n<p>Resolution?  Run on bare metal or find a way to enable avx2 in the virtual machine.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While trying to install and run mongo on Kali Linux, I encountered the following error. zsh: illegal hardware instruction mongo Using a Bash shell it returns the following instead. Illegal instruction It appears that the issue is from running mongo &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/mongo-illegal-hardware-instruction-mongo-on-linux\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[51,268,7,371,375],"class_list":["post-5242","post","type-post","status-publish","format-standard","hentry","category-linux","tag-debian","tag-kali","tag-linux-2","tag-mongo","tag-mongodb"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=5242"}],"version-history":[{"count":1,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5242\/revisions"}],"predecessor-version":[{"id":5244,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5242\/revisions\/5244"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=5242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=5242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=5242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}