• Register
0 votes
678 views

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 354 views
354 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 53 views
53 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 145 views
145 views
Problem : Whenever I try to go to my Logs page the following error shows: “There was an error loading Log Streams. Please try again by refreshing this page.” The problem is that there is another function which is identical except my code which is creating the log files no problem. Any suggestions to resolve my issue?
asked Dec 25, 2019 alecxe 7.5k points
0 votes
1 answer 87 views
87 views
Problem : Intel i5-2410M CPU is running at 2.30 GHz running the Windows 7 64-bit operating system. I have the VirtualBox 4.13 installed. I am trying to run the ubuntu-14.04-desktop-amd64.iso but I face the below error This kernel requires an x86-64 cpu but only detected ... that tried to use my image again but I still face the same error. Is there any other reason why I am unable to use the image?
asked Jan 14, 2020 jwilliam 3.9k points
1 vote
2 answers 653 views
653 views
Problem : I am using the VirtualBox with OS X as host and CentOS on a guest VM. In OS X I created the folder myfolder, added it as a shared folder to a VM, turned on a VM, in CentOS created folder as /home/user/myfolder and typing as below : sudo ... /user/myfolder But have below output: /sbin/mount.vboxsf: mounting failed with the error: No such device What am I doing wrong in above scenario?
asked Jan 22, 2020 jwilliam 3.9k points
0 votes
1 answer 478 views
478 views
Problem : I am getting bellow in Android Studio java.lang.runtimeexception: an error occurred while executing doinbackground()
asked Oct 19, 2019 peterlaw 6.9k points
0 votes
1 answer 115 views
115 views
Problem : I am using my home network to share my files between devices in my household with no problem, but very recently I had to re-install the Windows 10, after that, no devices were shown under the Network in File Explorer. I can surely ping my devices ... Home network System error 6118 has occurred. The list of servers for this workgroup is not currently available. What seems to be a problem?
asked Feb 3, 2020 jwilliam 3.9k points
0 votes
1 answer 55 views
55 views
Problem : If I try to update my windows 10 machine I am getting following message: I tried to reboot the service also but it is not working for me.. Has anybody faced the same issue before?
asked Dec 2, 2019 alecxe 7.5k points
1 vote
2 answers 234 views
234 views
Problem : Is there anything I can do to solve the following problem? unable to connect to upstart: failed to connect to socket /com/ubuntu/upstart: connection refused
asked Nov 11, 2019 peterlaw 6.9k points