• Register
0 votes

Problem :

I am new to laravel. I recently installed laravel homestead and it was running using the powershell. But now it has stopped working completely. I had suspended the vagrant and turned off my box. Now it is only showing me below error:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Clearing any previously set forwarded ports...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["modifyvm", "b21f2dd0-7f73-4d0f-b1e0-0f82ecdda1fe",    
"--natpf1", "delete", "ssh", "--natpf1", "delete", "tcp33060", 
"--natpf1", "delete", "tcp44300", "--natpf1", "delete", "tcp54320", 
"--natpf1", "delete", "tcp8000"]

Stderr: VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified   
error (extended info not available)
VBoxManage.exe: error: Context: "LockMachine(a->session,  
LockType_Write)" at line 493 of file VBoxManageModifyVM.cpp


8 4 2
2,300 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I also was facing the same issue I finally managed to fix the issue. Please find below the fix for your issue.

Firstly you need to right click on "This PC" or "My Computer" on your windows desktop

Then go to Select "Properties". After that you need to go to "Advanced" tab.There you need to click on the  "Environment Variables..." at the very bottom. Then under the System Variables you need to click on  "New". Here you need to set the  "Variable name" as "VBOX_INSTALL_PATH".Now you can set the  "Variable value" to "C:\Program Files\Oracle\VirtualBox\".

Finally select "OK" and then close all your other settings windows

And then restart your laptop and your error will be fixed

5 2 1
4,980 points

Related questions

0 votes
1 answer 6 views
Problem: I have no idea about this please help. Virtualbox shared folder windows host ubuntu guest.
asked Mar 22 PkGuy 13.1k points
0 votes
1 answer 2 views
Problem: I have an Ubuntu 13.10 and I installed Vagrant 1.5.4 and VirtualBox 4.3.10r93012. My problem occurs when I write the command vagrant up a problem occurs: Timed out while waiting for the machine to boot. Is there any solution? Thanks.
asked 6 days ago ummesalma 25.2k points
0 votes
1 answer 521 views
Problem : I am currently using the Mac OS Yosemite and Laravel 5.0. I am new to Laravel 5.0. In the local environment whenever I run the below command php artisan migrate I always encounter below error : “Access denied for user 'homestead'@'localhost' (using password: YES)” I am unable to fix above error. Any clue to fix the above error?
asked Feb 13, 2020 mphil 2.3k points
0 votes
1 answer 1 view
1 view
problem: Please solve it … Because I am unable to find out the solution
asked Mar 19 Ifra 24.4k points
0 votes
0 answers 7 views
Problem: no usable default provider could be found for your system.
asked Feb 19 Dan phillip 4.8k points
1 vote
1 answer 4 views
Problem: I need a help , How I can fix this : vagrant was unable to mount virtualbox shared folders.
asked Mar 13 MUHAMMAD MUNEEB 83k points
0 votes
1 answer 5 views
Problem: please help me to solve it... the ssh command responded with a non-zero exit status. vagrant
asked Apr 1 Ifra 24.4k points
0 votes
1 answer 58 views
Problem : Facing migration error on Laravel 5.4 with php artisan make:auth command as follows: syntax error or access violation: 1071 specified key was too long; max key length is 767 bytes
asked Nov 13, 2019 peterlaw 6.9k points
0 votes
1 answer 15 views
Problem: The vm session was closed before any attempt to power it on.
asked Feb 16 Ethan ross 2.7k points