Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

LuongHoang Viet
LuongHoang Viet
11,265 Points

Problem with vagrant up command

When running "vagrant up" command , I got this issue: Command: ["hostonlyif", "create"]

Stderr: 0%... Progress state: E_FAIL VBoxManage.exe: error: Failed to create the host-only adapter VBoxManage.exe: error: Querying NetCfgInstanceId failed (0x00000002) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp Can somebody give me a solution

1 Answer

Lee Ravenberg
Lee Ravenberg
10,018 Points

Gosh this is a pretty rough error message. All I can make up of this, is that something went wrong here;

Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 94 of file VBoxManageHostonly.cpp

...which is a reference to a virtualbox source file. Can't really help you with that through this forum.

Are you trying to setup your local PHP dev environment? Consider making use of this workshop: https://teamtreehouse.com/library/windows-local-php-dev-environment