Vagrand 2.0.1 + VMWare WS 14 // ERR: Failed to add NAT port entry

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Vagrand 2.0.1 + VMWare WS 14 // ERR: Failed to add NAT port entry

Sven Bluege
I try to run vagrant 2.0.1 with VMware Workstation 14. While I had no issues with VMWare Workstation 12, I get now this message: 

==> machine1: Starting the VMware VM...
==> machine1: Waiting for the VM to receive an address...
==> machine1: Forwarding ports...
    machine1: -- 22 => 2222
C:/Users/User.Name/.vagrant.d/gems/2.4.2/gems/vagrant-vmware-workstation-5.0.4/lib/vagrant-vmware-workstation/driver.rb:2138:in `win_set_forwarded_port': Port forward registry set failure. (RuntimeError)
OUT:
ERR: Failed to add NAT port entry: Zugriff verweigert

        from C:/Users/User.Name/.vagrant.d/gems/2.4.2/gems/vagrant-vmware-workstation-5.0.4/lib/vagrant-vmware-workstation/driver.rb:1825:in `block in forward_ports'

I'm running this from an elevated command line. 

Can somebody help with this error message? How can I get a running vm back?

Thanks!!

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrand 2.0.1 + VMWare WS 14 // ERR: Failed to add NAT port entry

Alvaro Miranda Aguilera
vagrant 2.X with plugin 5.x can be run as a normal user.

the Zugriff verweigert is coming from somewhere.

try running this as normal user

if still fails, try disabling AntiVirus 

Alvaro

On Mon, Dec 4, 2017 at 2:46 PM, Sven Bluege <[hidden email]> wrote:
I try to run vagrant 2.0.1 with VMware Workstation 14. While I had no issues with VMWare Workstation 12, I get now this message: 

==> machine1: Starting the VMware VM...
==> machine1: Waiting for the VM to receive an address...
==> machine1: Forwarding ports...
    machine1: -- 22 => 2222
C:/Users/User.Name/.vagrant.d/gems/2.4.2/gems/vagrant-vmware-workstation-5.0.4/lib/vagrant-vmware-workstation/driver.rb:2138:in `win_set_forwarded_port': Port forward registry set failure. (RuntimeError)
OUT:
ERR: Failed to add NAT port entry: Zugriff verweigert

        from C:/Users/User.Name/.vagrant.d/gems/2.4.2/gems/vagrant-vmware-workstation-5.0.4/lib/vagrant-vmware-workstation/driver.rb:1825:in `block in forward_ports'

I'm running this from an elevated command line. 

Can somebody help with this error message? How can I get a running vm back?

Thanks!!

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ex-Ch74nwCgttZ5m_E_nfX8xuzEEwGnwEDHKGRjSATGmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrand 2.0.1 + VMWare WS 14 // ERR: Failed to add NAT port entry

Sven Bluege
If I run vagrant from a normal command line, I get this: 

Vagrant failed to initialize at a very early stage:

Failed to invoke the VMware utility task.

  Cause: FEHLER: Zugriff verweigert

Please address the issue above and try again. If
this problem persists, please contact [hidden email]

Virus scanner is disabled and did not change the behavior.

On Tuesday, December 5, 2017 at 8:36:00 AM UTC+1, Alvaro Miranda Aguilera wrote:
vagrant 2.X with plugin 5.x can be run as a normal user.

the Zugriff verweigert is coming from somewhere.

try running this as normal user

if still fails, try disabling AntiVirus 

Alvaro

On Mon, Dec 4, 2017 at 2:46 PM, Sven Bluege <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="LIWlomOSAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">svenb...@...> wrote:
I try to run vagrant 2.0.1 with VMware Workstation 14. While I had no issues with VMWare Workstation 12, I get now this message: 

==> machine1: Starting the VMware VM...
==> machine1: Waiting for the VM to receive an address...
==> machine1: Forwarding ports...
    machine1: -- 22 => 2222
C:/Users/User.Name/.vagrant.d/gems/2.4.2/gems/vagrant-vmware-workstation-5.0.4/lib/vagrant-vmware-workstation/driver.rb:2138:in `win_set_forwarded_port': Port forward registry set failure. (RuntimeError)
OUT:
ERR: Failed to add NAT port entry: Zugriff verweigert

        from C:/Users/User.Name/.vagrant.d/gems/2.4.2/gems/vagrant-vmware-workstation-5.0.4/lib/vagrant-vmware-workstation/driver.rb:1825:in `block in forward_ports'

I'm running this from an elevated command line. 

Can somebody help with this error message? How can I get a running vm back?

Thanks!!

--
This mailing list is governed under the HashiCorp Community Guidelines - <a href="https://www.hashicorp.com/community-guidelines.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;">https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: <a href="https://github.com/mitchellh/vagrant/issues" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;">https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="LIWlomOSAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">vagrant-up+...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/d877a3ee-597f-4b58-861d-6825e496e62f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrand 2.0.1 + VMWare WS 14 // ERR: Failed to add NAT port entry

Stephen Funkhouser
I have the exact same issue.

Vagrant happens in both 2.0.0 and 2.0.1

Vagrant pluins:
vagrant-share (1.1.9)
vagrant-triggers (0.5.3)
vagrant-vmware-workstation (0.5.3)

On Tuesday, December 5, 2017 at 1:49:10 AM UTC-6, Sven Bluege wrote:
If I run vagrant from a normal command line, I get this: 

Vagrant failed to initialize at a very early stage:

Failed to invoke the VMware utility task.

  Cause: FEHLER: Zugriff verweigert

Please address the issue above and try again. If
this problem persists, please contact <a href="javascript:" target="_blank" gdf-obfuscated-mailto="LnAd0oxuBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">sup...@...

Virus scanner is disabled and did not change the behavior.

On Tuesday, December 5, 2017 at 8:36:00 AM UTC+1, Alvaro Miranda Aguilera wrote:
vagrant 2.X with plugin 5.x can be run as a normal user.

the Zugriff verweigert is coming from somewhere.

try running this as normal user

if still fails, try disabling AntiVirus 

Alvaro

On Mon, Dec 4, 2017 at 2:46 PM, Sven Bluege <[hidden email]> wrote:
I try to run vagrant 2.0.1 with VMware Workstation 14. While I had no issues with VMWare Workstation 12, I get now this message: 

==> machine1: Starting the VMware VM...
==> machine1: Waiting for the VM to receive an address...
==> machine1: Forwarding ports...
    machine1: -- 22 => 2222
C:/Users/User.Name/.vagrant.d/gems/2.4.2/gems/vagrant-vmware-workstation-5.0.4/lib/vagrant-vmware-workstation/driver.rb:2138:in `win_set_forwarded_port': Port forward registry set failure. (RuntimeError)
OUT:
ERR: Failed to add NAT port entry: Zugriff verweigert

        from C:/Users/User.Name/.vagrant.d/gems/2.4.2/gems/vagrant-vmware-workstation-5.0.4/lib/vagrant-vmware-workstation/driver.rb:1825:in `block in forward_ports'

I'm running this from an elevated command line. 

Can somebody help with this error message? How can I get a running vm back?

Thanks!!

--
This mailing list is governed under the HashiCorp Community Guidelines - <a href="https://www.hashicorp.com/community-guidelines.html" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;">https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: <a href="https://github.com/mitchellh/vagrant/issues" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;">https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/f145a15b-ed57-45d6-899e-4785339f24ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrand 2.0.1 + VMWare WS 14 // ERR: Failed to add NAT port entry

Sven Bluege
I had a long conversation with the support team. In the end, they were not able to help me. My solution was to go back to an older Vagrant version. But more important was the version of VMWare and the vmware plugin: I switched back to VMWare 12 and vagrant-vmware-workstation 4.0.23. Now it works again. 

Seems like they have a lot of trouble with permission management on Windows systems in a Domain. My private computer at home works perfectly with the latest versions. 

On Friday, December 22, 2017 at 11:40:06 PM UTC+1, Stephen Funkhouser wrote:
I have the exact same issue.

Vagrant happens in both 2.0.0 and 2.0.1

Vagrant pluins:
vagrant-share (1.1.9)
vagrant-triggers (0.5.3)
vagrant-vmware-workstation (0.5.3)

On Tuesday, December 5, 2017 at 1:49:10 AM UTC-6, Sven Bluege wrote:
If I run vagrant from a normal command line, I get this: 

Vagrant failed to initialize at a very early stage:

Failed to invoke the VMware utility task.

  Cause: FEHLER: Zugriff verweigert

Please address the issue above and try again. If
this problem persists, please contact [hidden email]

Virus scanner is disabled and did not change the behavior.

On Tuesday, December 5, 2017 at 8:36:00 AM UTC+1, Alvaro Miranda Aguilera wrote:
vagrant 2.X with plugin 5.x can be run as a normal user.

the Zugriff verweigert is coming from somewhere.

try running this as normal user

if still fails, try disabling AntiVirus 

Alvaro

On Mon, Dec 4, 2017 at 2:46 PM, Sven Bluege <[hidden email]> wrote:
I try to run vagrant 2.0.1 with VMware Workstation 14. While I had no issues with VMWare Workstation 12, I get now this message: 

==> machine1: Starting the VMware VM...
==> machine1: Waiting for the VM to receive an address...
==> machine1: Forwarding ports...
    machine1: -- 22 => 2222
C:/Users/User.Name/.vagrant.d/gems/2.4.2/gems/vagrant-vmware-workstation-5.0.4/lib/vagrant-vmware-workstation/driver.rb:2138:in `win_set_forwarded_port': Port forward registry set failure. (RuntimeError)
OUT:
ERR: Failed to add NAT port entry: Zugriff verweigert

        from C:/Users/User.Name/.vagrant.d/gems/2.4.2/gems/vagrant-vmware-workstation-5.0.4/lib/vagrant-vmware-workstation/driver.rb:1825:in `block in forward_ports'

I'm running this from an elevated command line. 

Can somebody help with this error message? How can I get a running vm back?

Thanks!!

--
This mailing list is governed under the HashiCorp Community Guidelines - <a href="https://www.hashicorp.com/community-guidelines.html" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;">https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: <a href="https://github.com/mitchellh/vagrant/issues" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;">https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/vagrant-up/8cb68fc2-5d88-42ad-a50b-583e4bbd444c%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/924e700a-02d4-4299-8e69-287f78e8c10d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.