Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

windows: fork() function is unimplemented #16

Closed
isimmons opened this issue Nov 11, 2013 · 42 comments
Closed

windows: fork() function is unimplemented #16

isimmons opened this issue Nov 11, 2013 · 42 comments
Labels
Milestone

Comments

@isimmons
Copy link

First time using this and not sure if I'm even using it right :-)

Here is my vagrant file

# -*- mode: ruby -*-
# vi: set ft=ruby :

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

  config.vm.box = "precise32"

  config.vm.box_url = "http://files.vagrantup.com/precise32.box"

  config.landrush.enable

  config.vm.hostname = 'myhost.vagrant.dev'

  #config.vm.network :forwarded_port, guest: 80, host: 3000

  #config.vm.provision :shell, :path => "bootstrap.sh"

end

This is the output

  vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'precise32'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] [landrush] virtualbox requires an additional private network; adding it
[default] [landrush] starting dns server
[landrush] Starting daemon...
[default] Destroying VM and associated drives...
C:/Users/lotus/.vagrant.d/gems/gems/rexec-1.5.2/lib/rexec/daemon/controller.rb:75:in `fork': fork() function is unimplemented on this machine
 (NotImplementedError)
        from C:/Users/lotus/.vagrant.d/gems/gems/rexec-1.5.2/lib/rexec/daemon/controller.rb:75:in `start'
        from C:/Users/lotus/.vagrant.d/gems/gems/rexec-1.5.2/lib/rexec/daemon/base.rb:129:in `start'
        from C:/Users/lotus/.vagrant.d/gems/gems/landrush-0.7.0/lib/landrush/action/setup.rb:39:in `start_server'
        from C:/Users/lotus/.vagrant.d/gems/gems/landrush-0.7.0/lib/landrush/action/setup.rb:20:in `pre_boot_setup'
        from C:/Users/lotus/.vagrant.d/gems/gems/landrush-0.7.0/lib/landrush/action/setup.rb:8:in `block in call'
        from C:/Users/lotus/.vagrant.d/gems/gems/landrush-0.7.0/lib/landrush/action/common.rb:21:in `handle_action_stack'
        from C:/Users/lotus/.vagrant.d/gems/gems/landrush-0.7.0/lib/landrush/action/setup.rb:7:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/clear_network_interfaces.rb:26:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/share_folders.rb:25:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/clear_shared_folders.rb:12:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/prepare_nfs_settings.rb:11:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/nfs.rb:30:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/prune_nfs_exports.rb:15:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb:118:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb:30:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/env_set.rb:19:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/provision.rb:54:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/clear_forwarded_ports.rb:13:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/set_name.rb:47:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/clean_machine_folder.rb:17:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/check_accessible.rb:18:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `block in run'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/util/busy.rb:19:in `busy'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `run'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/call.rb:51:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `block in run'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/util/busy.rb:19:in `busy'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `run'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/call.rb:51:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `block in run'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/util/busy.rb:19:in `busy'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `run'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/call.rb:51:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/call.rb:57:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/call.rb:57:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builder.rb:116:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `block in run'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/util/busy.rb:19:in `busy'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `run'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/machine.rb:147:in `action'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'      

On Windows 7 pro 64bit but running 32bit vagrant and virtualbox
ruby 1.9.3

@phinze
Copy link
Contributor

phinze commented Nov 11, 2013

Hi there! 👋 Thanks for stopping by.

Ooo a windows user! 🗻

I haven't tested this on windows just yet - I can tell you for one that the host visibility part won't work out of the box.

And looking at that output - seems like the daemon is having some trouble starting too.

Let me spin up a windows VM and see if I can debug this. - Thanks for the report! 📋

@isimmons
Copy link
Author

Cool, thanks. I'm only a ruby beginner but will be glad to do what ever testing or confirming you might need from my end.

@ghost ghost assigned phinze Jan 8, 2014
@vovimayhem
Copy link

+1

@O5ten
Copy link

O5ten commented Jan 22, 2014

+2, we just encountered the exact same error when using landrush plugin on a windows 7 64 bit machine.
Our vagrant-file differs a little in that we use precise64 and vagrant-vbguest plugin if that matters.

Any known workarounds or similar on this issue?
isimmons and vovimayhem did you solve this somehow?

@phinze
Copy link
Contributor

phinze commented Jan 22, 2014

Hey sorry about the issue!

I'm still working on getting a Windows machine to test this on. If you can get me the output of the command with VAGRANT_LOG=debug that will help me narrow things down in the meantime.

On Jan 22, 2014, at 7:29 AM, Mikael Östberg notifications@github.com wrote:

+2, we just encountered the exact same error when using landrush plugin on a windows 7 64 bit machine.
Any known workarounds or similar on this issue?

isimmons and vovimayhem did you solve this somehow?


Reply to this email directly or view it on GitHub.

@O5ten
Copy link

O5ten commented Feb 25, 2014

I'll see what i can do.

@maxonline
Copy link

@O5ten ordered me to send you this. Here you have the log you asked for @phinze
https://gist.github.com/maxonline/040917b906d40a77a55c

@O5ten
Copy link

O5ten commented Mar 5, 2014

Any progress on this @phinze ?

@tomaszbrunarski
Copy link

+1, is this going to be released any time soon?

@phinze
Copy link
Contributor

phinze commented Feb 7, 2015

Hey folks,

Sorry for the lack of progress on Windows support. I'm still without a Windows machine to test on. It's sort of a core problem in the library we use:

[landrush] Starting daemon...
ERROR warden: Error occurred: fork() function is unimplemented on this machine

Looks like I might be able to boot a Windows Server machine on Azure - I might try and investigate that to see if I can get vagrant up and running out in the cloud. ☁️ Anybody with a windows dev environment and some knowledge is welcome to chime in here though! 😀

@phinze phinze changed the title landrush starting daemon then triggers destroy windows: fork() function is unimplemented Feb 7, 2015
@ghuntley
Copy link

ghuntley commented Feb 9, 2015

Yo @phinze you can use /~https://github.com/joefitzgerald/packer-windows to build yourself a windows vmware/vbox machine for vagrant. It will automatically download, configure, install using an evaluation edition.

# packer build windows_2012_r2_core.json

Boop boop, done 🚀

@seanbuscay
Copy link

+1 To subscribe and also offer to be a tester on Windows 8.

@tomaszbrunarski
Copy link

I can test on win7 64bit

@zxcfer
Copy link

zxcfer commented Mar 11, 2015

Same error here Windows 7 64bit. Any suggestion to fix? I know some Ruby but new with Vagrant.

@DuoKristina
Copy link

+1 - WIndows 8.1 here

@phinze
Copy link
Contributor

phinze commented Mar 13, 2015

Thanks to @ghuntley I did get a windows dev environment up and running recently!

I'll see if I can poke at landrush on windows this weekend. 💃

@ghuntley
Copy link

👯

@robmpreston
Copy link

any luck on this? same problem

@stewest
Copy link

stewest commented Jun 4, 2015

+1 WIndows 7 64bit

@wazoo
Copy link

wazoo commented Jul 9, 2015

I was having this error on Windows 8.1 as well with landrush. I don't think fork() is implemented on windows at all so need a windows specific way to spawn the background process.

As an alternate fix recommended here for another issue you can install cygwin which is POSIX complaint and has fork() but vagrant has an embedded ruby that seems pretty hardwired so I couldn't get it to work reliably.

@v6
Copy link

v6 commented Aug 3, 2015

// , I've run into a similar issue.

I got the following chain of errors:

.vagrant.d/gems/gems/rexec-1.6.3/lib/rexec/daemon/controller.rb:75:in `fork': fork() function is unimplemented on this machine (NotImplementedError)
    from C:/Users/nbasanes/.vagrant.d/gems/gems/rexec-1.6.3/lib/rexec/daemon/controller.rb:75:in `start'
    from C:/Users/nbasanes/.vagrant.d/gems/gems/rexec-1.6.3/lib/rexec/daemon/base.rb:129:in `start'
    from C:/Users/nbasanes/.vagrant.d/gems/gems/landrush-0.18.0/lib/landrush/action/setup.rb:49:in `start_server'
    from C:/Users/nbasanes/.vagrant.d/gems/gems/landrush-0.18.0/lib/landrush/action/setup.rb:23:in `pre_boot_setup'
    from C:/Users/nbasanes/.vagrant.d/gems/gems/landrush-0.18.0/lib/landrush/action/setup.rb:8:in `block in call'
    from C:/Users/nbasanes/.vagrant.d/gems/gems/landrush-0.18.0/lib/landrush/action/common.rb:22:in `handle_action_stack'
    from C:/Users/nbasanes/.vagrant.d/gems/gems/landrush-0.18.0/lib/landrush/action/setup.rb:7:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/providers/virtualbox/action/clear_network_interfaces.rb:26:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/providers/virtualbox/action/prepare_nfs_settings.rb:18:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/synced_folders.rb:86:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/synced_folder_cleanup.rb:28:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/synced_folders/nfs/action_cleanup.rb:19:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/providers/virtualbox/action/prepare_nfs_valid_ids.rb:12:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb:160:in `handle'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb:42:in `block in call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:516:in `lock'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb:41:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/providers/virtualbox/action/prepare_forwarded_port_collision_params.rb:30:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/env_set.rb:19:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/provision.rb:80:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/providers/virtualbox/action/clear_forwarded_ports.rb:15:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/providers/virtualbox/action/set_name.rb:19:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/providers/virtualbox/action/clean_machine_folder.rb:17:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/providers/virtualbox/action/check_accessible.rb:18:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builder.rb:116:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `block in run'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/busy.rb:19:in `busy'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `run'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/call.rb:53:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builder.rb:116:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `block in run'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/busy.rb:19:in `busy'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `run'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/call.rb:53:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builder.rb:116:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `block in run'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/busy.rb:19:in `busy'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `run'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/call.rb:53:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/box_check_outdated.rb:68:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builder.rb:116:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `block in run'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/busy.rb:19:in `busy'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `run'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/call.rb:53:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builder.rb:116:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `block in run'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/busy.rb:19:in `busy'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `run'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/call.rb:53:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builder.rb:116:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `block in run'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/busy.rb:19:in `busy'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `run'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:214:in `action_raw'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:191:in `block in action'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:516:in `lock'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:178:in `call'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:178:in `action'
    from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'

@CruzanCaramele
Copy link

I Just ran into the same issue on Windows 7 when trying to push my vagrant box to atlas :

hp (master *) Modern_Ops $ vagrant push
c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/safe_exec
.rb:22:in fork': fork() function is unimplemented on this machine (NotImplement edError) from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/u til/safe_exec.rb:22:inexec'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/pushe
s/atlas/push.rb:35:in execute' from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/pushe s/atlas/push.rb:17:inpush'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/e
nvironment.rb:567:in push' from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/comma nds/push/command.rb:28:inexecute'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/c
li.rb:42:in execute' from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/e nvironment.rb:301:incli'
from c:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/bin/vagrant:1
74:in `

'

@wandl
Copy link

wandl commented Oct 6, 2015

+1 Any progress on this I am getting same error on windows 7, works fine on my Mac but when trying to setup development environment for other developers I am at a stand still with this error, any help appreciated.

https://gist.github.com/wandl/aaad3c87df0aeb8c96f7

@starise
Copy link

starise commented Oct 12, 2015

Sadly, same problem here

[landrush] Starting daemon...
C:/Users/Andrea/.vagrant.d/gems/gems/rexec-1.6.3/lib/rexec/daemon/controller.rb:75:in `fork':
fork() function is unimplemented on this machine (NotImplementedError)
...

@aldialimucaj
Copy link

+1

@raupie
Copy link

raupie commented Dec 4, 2015

I got this error and it went away when I uninstalled the vagrant-dns plugin.

hferentschik added a commit to hferentschik/landrush that referenced this issue Dec 14, 2015
- Replacing use of Rexec with ChildProcess to avoid the use of fork() on Windows
- Bumping the plugin version
hferentschik added a commit to hferentschik/landrush that referenced this issue Dec 14, 2015
- Replacing use of Rexec with ChildProcess to avoid the use of fork() on Windows
- Bumping the plugin version
hferentschik pushed a commit to hferentschik/landrush that referenced this issue Apr 7, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 8, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 8, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 8, 2016
… chages in latest version and applying simple style fixes
hferentschik pushed a commit to hferentschik/landrush that referenced this issue Apr 8, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 8, 2016
hferentschik pushed a commit to hferentschik/landrush that referenced this issue Apr 8, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 8, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 8, 2016
- Replacing use of Rexec with plain Process#spawn calls
- Downgrading rubydns gem to 0.8.5 to use EventMachine instead of Celluloid IO which won't run on Windows
- Updating command.rb to no rely on Rexec
- Using printf in favor of /usr/bin/pr in order to format output in command.rb
- Adding os.rb to allow for OS check
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 8, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 8, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 8, 2016
… chages in latest version and applying simple style fixes
hferentschik pushed a commit to hferentschik/landrush that referenced this issue Apr 8, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 8, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 11, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 11, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 11, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 11, 2016
- Replacing use of Rexec with plain Process#spawn calls
- Downgrading rubydns gem to 0.8.5 to use EventMachine instead of Celluloid IO which won't run on Windows
- Updating command.rb to no rely on Rexec
- Using printf in favor of /usr/bin/pr in order to format output in command.rb
- Adding os.rb to allow for OS check
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 11, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 11, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 11, 2016
… chages in latest version and applying simple style fixes
hferentschik pushed a commit to hferentschik/landrush that referenced this issue Apr 11, 2016
hferentschik added a commit to hferentschik/landrush that referenced this issue Apr 11, 2016
hferentschik added a commit that referenced this issue Apr 11, 2016
@hferentschik
Copy link
Contributor

Resolved.

@benjie
Copy link

benjie commented May 15, 2016

Awesome work resolving this! When's the release including this due to go out?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests