Vagrant virtual machine automatically halting when laptop is put to sleep












6















I’m using a Vagrant box (running in VirtualBox) I got from a third party and it always automatically shuts down when I put my MacBook Pro to sleep. When I wake up my laptop I need to run vagrant up to get the machine running again and its logs appear to report a normal shutdown. Other Vagrant boxes on my other MacBook Pro work fine and stay up while my laptop sleeps.



How does the automatic halting of Vagrant work? How do I turn it off?



Version information if it helps:




  • Vagrant 1.7.2

  • VirtualBox 4.3.22

  • VM uname -a is Linux vagrant 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

  • MacBook Pro (Retina, 15-inch, Mid 2014)

  • Mac OS X Yosemite 10.10.2










share|improve this question















migrated from serverfault.com Mar 2 '15 at 1:24


This question came from our site for system and network administrators.



















  • “Other Vagrant boxes on my other MacBook Pro work fine and stay up while my laptop sleeps.” Did you check the obvious on the other MacBook? Version numbers the same and such.

    – JakeGould
    Mar 2 '15 at 1:26











  • My other laptop is of the same generation but a 13". The VMs are Ubuntu rather than Debian. As I said I haven't found any reference to this searching on Google and I've looked through both the instance Vagrantfile and the Vagrantfile in ~/.vagrant.d/ and don't see anything pertaining to this.

    – papercrane
    Mar 2 '15 at 1:40











  • Exactly the same problem here.

    – Ilija
    Mar 4 '15 at 13:52











  • I've got vagrant 1.7.2 on OS X 10.10.2 and 13" 2014 MBP Retina and when it goes to sleep my vagrant default aborts. Current machine states: default aborted (virtualbox) The VM is in an aborted state. This means that it was abruptly stopped without properly closing the session. Run vagrant up to resume this virtual machine. If any problems persist, you may have to destroy and restart the virtual machine. Shouldn't these catch the sleep event and suspend?

    – David Watson
    Mar 4 '15 at 19:18


















6















I’m using a Vagrant box (running in VirtualBox) I got from a third party and it always automatically shuts down when I put my MacBook Pro to sleep. When I wake up my laptop I need to run vagrant up to get the machine running again and its logs appear to report a normal shutdown. Other Vagrant boxes on my other MacBook Pro work fine and stay up while my laptop sleeps.



How does the automatic halting of Vagrant work? How do I turn it off?



Version information if it helps:




  • Vagrant 1.7.2

  • VirtualBox 4.3.22

  • VM uname -a is Linux vagrant 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

  • MacBook Pro (Retina, 15-inch, Mid 2014)

  • Mac OS X Yosemite 10.10.2










share|improve this question















migrated from serverfault.com Mar 2 '15 at 1:24


This question came from our site for system and network administrators.



















  • “Other Vagrant boxes on my other MacBook Pro work fine and stay up while my laptop sleeps.” Did you check the obvious on the other MacBook? Version numbers the same and such.

    – JakeGould
    Mar 2 '15 at 1:26











  • My other laptop is of the same generation but a 13". The VMs are Ubuntu rather than Debian. As I said I haven't found any reference to this searching on Google and I've looked through both the instance Vagrantfile and the Vagrantfile in ~/.vagrant.d/ and don't see anything pertaining to this.

    – papercrane
    Mar 2 '15 at 1:40











  • Exactly the same problem here.

    – Ilija
    Mar 4 '15 at 13:52











  • I've got vagrant 1.7.2 on OS X 10.10.2 and 13" 2014 MBP Retina and when it goes to sleep my vagrant default aborts. Current machine states: default aborted (virtualbox) The VM is in an aborted state. This means that it was abruptly stopped without properly closing the session. Run vagrant up to resume this virtual machine. If any problems persist, you may have to destroy and restart the virtual machine. Shouldn't these catch the sleep event and suspend?

    – David Watson
    Mar 4 '15 at 19:18
















6












6








6


1






I’m using a Vagrant box (running in VirtualBox) I got from a third party and it always automatically shuts down when I put my MacBook Pro to sleep. When I wake up my laptop I need to run vagrant up to get the machine running again and its logs appear to report a normal shutdown. Other Vagrant boxes on my other MacBook Pro work fine and stay up while my laptop sleeps.



How does the automatic halting of Vagrant work? How do I turn it off?



Version information if it helps:




  • Vagrant 1.7.2

  • VirtualBox 4.3.22

  • VM uname -a is Linux vagrant 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

  • MacBook Pro (Retina, 15-inch, Mid 2014)

  • Mac OS X Yosemite 10.10.2










share|improve this question
















I’m using a Vagrant box (running in VirtualBox) I got from a third party and it always automatically shuts down when I put my MacBook Pro to sleep. When I wake up my laptop I need to run vagrant up to get the machine running again and its logs appear to report a normal shutdown. Other Vagrant boxes on my other MacBook Pro work fine and stay up while my laptop sleeps.



How does the automatic halting of Vagrant work? How do I turn it off?



Version information if it helps:




  • Vagrant 1.7.2

  • VirtualBox 4.3.22

  • VM uname -a is Linux vagrant 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

  • MacBook Pro (Retina, 15-inch, Mid 2014)

  • Mac OS X Yosemite 10.10.2







virtualbox vagrant






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 2 '15 at 1:26









JakeGould

31.9k1098140




31.9k1098140










asked Mar 2 '15 at 1:22









papercranepapercrane

13113




13113




migrated from serverfault.com Mar 2 '15 at 1:24


This question came from our site for system and network administrators.









migrated from serverfault.com Mar 2 '15 at 1:24


This question came from our site for system and network administrators.















  • “Other Vagrant boxes on my other MacBook Pro work fine and stay up while my laptop sleeps.” Did you check the obvious on the other MacBook? Version numbers the same and such.

    – JakeGould
    Mar 2 '15 at 1:26











  • My other laptop is of the same generation but a 13". The VMs are Ubuntu rather than Debian. As I said I haven't found any reference to this searching on Google and I've looked through both the instance Vagrantfile and the Vagrantfile in ~/.vagrant.d/ and don't see anything pertaining to this.

    – papercrane
    Mar 2 '15 at 1:40











  • Exactly the same problem here.

    – Ilija
    Mar 4 '15 at 13:52











  • I've got vagrant 1.7.2 on OS X 10.10.2 and 13" 2014 MBP Retina and when it goes to sleep my vagrant default aborts. Current machine states: default aborted (virtualbox) The VM is in an aborted state. This means that it was abruptly stopped without properly closing the session. Run vagrant up to resume this virtual machine. If any problems persist, you may have to destroy and restart the virtual machine. Shouldn't these catch the sleep event and suspend?

    – David Watson
    Mar 4 '15 at 19:18





















  • “Other Vagrant boxes on my other MacBook Pro work fine and stay up while my laptop sleeps.” Did you check the obvious on the other MacBook? Version numbers the same and such.

    – JakeGould
    Mar 2 '15 at 1:26











  • My other laptop is of the same generation but a 13". The VMs are Ubuntu rather than Debian. As I said I haven't found any reference to this searching on Google and I've looked through both the instance Vagrantfile and the Vagrantfile in ~/.vagrant.d/ and don't see anything pertaining to this.

    – papercrane
    Mar 2 '15 at 1:40











  • Exactly the same problem here.

    – Ilija
    Mar 4 '15 at 13:52











  • I've got vagrant 1.7.2 on OS X 10.10.2 and 13" 2014 MBP Retina and when it goes to sleep my vagrant default aborts. Current machine states: default aborted (virtualbox) The VM is in an aborted state. This means that it was abruptly stopped without properly closing the session. Run vagrant up to resume this virtual machine. If any problems persist, you may have to destroy and restart the virtual machine. Shouldn't these catch the sleep event and suspend?

    – David Watson
    Mar 4 '15 at 19:18



















“Other Vagrant boxes on my other MacBook Pro work fine and stay up while my laptop sleeps.” Did you check the obvious on the other MacBook? Version numbers the same and such.

– JakeGould
Mar 2 '15 at 1:26





“Other Vagrant boxes on my other MacBook Pro work fine and stay up while my laptop sleeps.” Did you check the obvious on the other MacBook? Version numbers the same and such.

– JakeGould
Mar 2 '15 at 1:26













My other laptop is of the same generation but a 13". The VMs are Ubuntu rather than Debian. As I said I haven't found any reference to this searching on Google and I've looked through both the instance Vagrantfile and the Vagrantfile in ~/.vagrant.d/ and don't see anything pertaining to this.

– papercrane
Mar 2 '15 at 1:40





My other laptop is of the same generation but a 13". The VMs are Ubuntu rather than Debian. As I said I haven't found any reference to this searching on Google and I've looked through both the instance Vagrantfile and the Vagrantfile in ~/.vagrant.d/ and don't see anything pertaining to this.

– papercrane
Mar 2 '15 at 1:40













Exactly the same problem here.

– Ilija
Mar 4 '15 at 13:52





Exactly the same problem here.

– Ilija
Mar 4 '15 at 13:52













I've got vagrant 1.7.2 on OS X 10.10.2 and 13" 2014 MBP Retina and when it goes to sleep my vagrant default aborts. Current machine states: default aborted (virtualbox) The VM is in an aborted state. This means that it was abruptly stopped without properly closing the session. Run vagrant up to resume this virtual machine. If any problems persist, you may have to destroy and restart the virtual machine. Shouldn't these catch the sleep event and suspend?

– David Watson
Mar 4 '15 at 19:18







I've got vagrant 1.7.2 on OS X 10.10.2 and 13" 2014 MBP Retina and when it goes to sleep my vagrant default aborts. Current machine states: default aborted (virtualbox) The VM is in an aborted state. This means that it was abruptly stopped without properly closing the session. Run vagrant up to resume this virtual machine. If any problems persist, you may have to destroy and restart the virtual machine. Shouldn't these catch the sleep event and suspend?

– David Watson
Mar 4 '15 at 19:18












1 Answer
1






active

oldest

votes


















0














I experienced the same problem; updating to VirtualBox 4.3.24 solved the problem for me.

Further reference:




  • Vagrant 1.7.2

  • Mac OS X 10.10.2






share|improve this answer


























  • Just updated to Virtualbox 4.3.26 - virtualbox.org/wiki/Downloads and also solved the issue for me. Same versions as @Markus and thanks for the solution: - Vagrant 1.7.2 - vagrantup.com/downloads.html - Mac OS X 10.10

    – Nils
    Apr 9 '15 at 13:14











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f884291%2fvagrant-virtual-machine-automatically-halting-when-laptop-is-put-to-sleep%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I experienced the same problem; updating to VirtualBox 4.3.24 solved the problem for me.

Further reference:




  • Vagrant 1.7.2

  • Mac OS X 10.10.2






share|improve this answer


























  • Just updated to Virtualbox 4.3.26 - virtualbox.org/wiki/Downloads and also solved the issue for me. Same versions as @Markus and thanks for the solution: - Vagrant 1.7.2 - vagrantup.com/downloads.html - Mac OS X 10.10

    – Nils
    Apr 9 '15 at 13:14
















0














I experienced the same problem; updating to VirtualBox 4.3.24 solved the problem for me.

Further reference:




  • Vagrant 1.7.2

  • Mac OS X 10.10.2






share|improve this answer


























  • Just updated to Virtualbox 4.3.26 - virtualbox.org/wiki/Downloads and also solved the issue for me. Same versions as @Markus and thanks for the solution: - Vagrant 1.7.2 - vagrantup.com/downloads.html - Mac OS X 10.10

    – Nils
    Apr 9 '15 at 13:14














0












0








0







I experienced the same problem; updating to VirtualBox 4.3.24 solved the problem for me.

Further reference:




  • Vagrant 1.7.2

  • Mac OS X 10.10.2






share|improve this answer















I experienced the same problem; updating to VirtualBox 4.3.24 solved the problem for me.

Further reference:




  • Vagrant 1.7.2

  • Mac OS X 10.10.2







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 6 '15 at 12:03









G-Man

5,647112359




5,647112359










answered Mar 6 '15 at 11:02









MarkusMarkus

1111




1111













  • Just updated to Virtualbox 4.3.26 - virtualbox.org/wiki/Downloads and also solved the issue for me. Same versions as @Markus and thanks for the solution: - Vagrant 1.7.2 - vagrantup.com/downloads.html - Mac OS X 10.10

    – Nils
    Apr 9 '15 at 13:14



















  • Just updated to Virtualbox 4.3.26 - virtualbox.org/wiki/Downloads and also solved the issue for me. Same versions as @Markus and thanks for the solution: - Vagrant 1.7.2 - vagrantup.com/downloads.html - Mac OS X 10.10

    – Nils
    Apr 9 '15 at 13:14

















Just updated to Virtualbox 4.3.26 - virtualbox.org/wiki/Downloads and also solved the issue for me. Same versions as @Markus and thanks for the solution: - Vagrant 1.7.2 - vagrantup.com/downloads.html - Mac OS X 10.10

– Nils
Apr 9 '15 at 13:14





Just updated to Virtualbox 4.3.26 - virtualbox.org/wiki/Downloads and also solved the issue for me. Same versions as @Markus and thanks for the solution: - Vagrant 1.7.2 - vagrantup.com/downloads.html - Mac OS X 10.10

– Nils
Apr 9 '15 at 13:14


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f884291%2fvagrant-virtual-machine-automatically-halting-when-laptop-is-put-to-sleep%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

Puebla de Zaragoza

Musa