{"id":621,"date":"2012-10-07T11:42:17","date_gmt":"2012-10-07T10:42:17","guid":{"rendered":"http:\/\/blogs.kent.ac.uk\/webdev\/?p=621"},"modified":"2012-10-18T12:03:19","modified_gmt":"2012-10-18T11:03:19","slug":"vagrant-up-kernel-panics","status":"publish","type":"post","link":"https:\/\/blogs.kent.ac.uk\/webdev\/2012\/10\/07\/vagrant-up-kernel-panics\/","title":{"rendered":"Vagrant Up Kernel Panics"},"content":{"rendered":"<p><a href=\"http:\/\/blogs.kent.ac.uk\/webdev\/files\/2012\/10\/panic.jpg\"><img loading=\"lazy\" class=\"alignright size-medium wp-image-623\" title=\"panic\" src=\"http:\/\/blogs.kent.ac.uk\/webdev\/files\/2012\/10\/panic-300x164.jpg\" alt=\"\" width=\"300\" height=\"164\" srcset=\"https:\/\/blogs.kent.ac.uk\/webdev\/files\/2012\/10\/panic-300x164.jpg 300w, https:\/\/blogs.kent.ac.uk\/webdev\/files\/2012\/10\/panic.jpg 468w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>Recently I&#8217;ve been experimenting with using <a href=\"http:\/\/vagrantup.com\/\">Vagrant<\/a> to spin up development environments. This has been to attempt to understanding the <a href=\"http:\/\/en.wikipedia.org\/wiki\/DevOps\">dev ops<\/a> paradigm and learn how to use <a href=\"http:\/\/www.opscode.com\/chef\/\">Chef<\/a> and <a href=\"http:\/\/puppetlabs.com\/\">Puppet<\/a>. Just for fun, you know.<\/p>\n<p>However, since I upgraded my OS I found that every time I attempted to <code>vagrant up<\/code> my Mac OS Mountain Lion machine would kernel panic. Initially I believed this to be something about the OS, but it turns out its the version of VirtualBox on my machine, which I had blindly updated on prompting. Reading <a href=\"https:\/\/www.virtualbox.org\/ticket\/9359\">this bug report<\/a>, it seemed the answer was to downgrade VirtualBox to version 4.0.12 was the solution. It wasn&#8217;t &#8211; still kernel paniced.<\/p>\n<p>However, <a href=\"https:\/\/www.virtualbox.org\/ticket\/9897\">reading another ticket<\/a>, it seemed this bug was fixed in the most recent Virtualbox of the 4.1 series. <a href=\"https:\/\/www.virtualbox.org\/wiki\/Download_Old_Builds_4_1\">Downloading version 4.1.23<\/a> solved the problem. I can now spin up servers to my heart&#8217;s content.<\/p>\n<p>Another gotcha (mainly due to being silly) is make sure you turn bridged network connections on, otherwise your proud <code>apt-get<\/code>s will come to nothing. Make sure your Vagrant file has the <code>config.vm.network :bridged<\/code> uncommented because simply running <code>vagrant init<\/code> then <code>vagrant up<\/code> to try and spin up quickly with the defaults for a play will make your box pretty useless.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I&#8217;ve been experimenting with using Vagrant to spin up development environments. This has been to attempt to understanding the dev ops paradigm and learn &hellip; <a href=\"https:\/\/blogs.kent.ac.uk\/webdev\/2012\/10\/07\/vagrant-up-kernel-panics\/\">Read&nbsp;more<\/a><\/p>\n","protected":false},"author":2424,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/posts\/621"}],"collection":[{"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/users\/2424"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/comments?post=621"}],"version-history":[{"count":6,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/posts\/621\/revisions"}],"predecessor-version":[{"id":632,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/posts\/621\/revisions\/632"}],"wp:attachment":[{"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/media?parent=621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/categories?post=621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/tags?post=621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}