各种报错,各种升级,各种重装,重启!!

记录一下一些错误吧,,,

错误太复杂,,,,

原因:版本问题!、CPU虚拟化问题、win10问题、软件兼容性问题、还有就是各种不细心啥的



 

 

 

 

分割线

错误列举:

There was an error while executing `VBoxManage`, a CLI used by Vagrant

for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "d6456bcd-c40c-41a7-9c13-2fb1b80bba21", "--type", "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'homestead-7' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\Administrator\VirtualBox VMs\homestead-7\Logs\VBoxHardening.log'

VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface Imachine

-------------------------

 

issue:

https://github.com/hashicorp/vagrant/issues/9318

 

 

If you're running on windows try the following, from VirtualBox forum post

Go to C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv directory, right click on VBoxDrv.inf and select Install.

Go to console and enter 'sc start vboxdrv'.

Then try 'vagrant up'. Worked for my issue.

 

 

Had the same issue with vagrant 2.0.1 and VirtualBox 5.2.4 on Windows 10. Issue occured when I updated VirtualBox from 5.2.2 to 5.2.4. A complete reinstall of VirtualBox as suggested in previous comment fixed the issue.

 

--------------------------------------------------------------

Guest-specific operations were attempted on a machine that is not

ready for guest communication. This should not happen and a bug

should be reported.

 

----------------------------------------------------

==> homestead-7: Machine booted and ready!

==> homestead-7: Checking for guest additions in VM...

==> homestead-7: Setting hostname...

==> homestead-7: Configuring and enabling network interfaces...

==> homestead-7: Mounting shared folders...

homestead-7: /vagrant => C:/Users/Administrator/Homestead

homestead-7: /home/vagrant/myCode => C:/Users/Administrator/myCode

==> homestead-7: Machine already provisioned. Run `vagrant provision` or use the `--provision`

==> homestead-7: flag to force provisioning. Provisioners marked to run always will still run.

 

--------------------------------------------------

The guest machine entered an invalid state while waiting for it

to boot. Valid states are 'starting, running'. The machine is in the

'unknown' state. Please verify everything is configured

properly and try again.

 

If the provider you're using has a GUI that comes with it,

it is often helpful to open that and watch the machine, since the

GUI often has more helpful error messages than Vagrant can retrieve.

For example, if you're using VirtualBox, run `vagrant up` while the

VirtualBox GUI is open.

 

The primary issue for this error is that the provider you're using

is not properly configured. This is very rarely a Vagrant issue.

 

Try vagrant plugin repair followed by vagrant plugin update

 

 

@yeongsheng-tan : thanks for your answer, just did what you suggested but the problem still persists

EDIT: wait! I did vagrant reload --provision and seems that problem went away! I try a couple of times and let you know if there's still any issue! Thanks :-)

 

https://github.com/hashicorp/vagrant/issues/9017

 

Guest communication could not be established! This is usually because

homestead-7: SSH is not running, the authentication information was changed,

homestead-7: or some other networking issue. Vagrant will force halt,

homestead-7: SSH address: 127.0.0.1:2222

homestead-7: SSH username: vagrant

homestead-7: SSH auth method: private key

homestead-7: Warning: Connection reset. Retrying...

homestead-7: Warning: Connection aborted. Retrying..

 

homestead-7: Warning: Connection aborted. Retrying...

homestead-7: Warning: Remote connection disconnect. Retrying...

homestead-7: Warning: Connection reset. Retrying...

homestead-7: Warning: Connection aborted. Retrying...

 

 

把 Vagrant 升级到2.1.12就解决了

 

 

将VirtualBox兼容模式改为win7

勾选以管理员身份运行

安全里面各组个用户全部编辑好权限并勾选

 

 

 

 

如果一直homestead-7: Warning: Remote connection disconnect. Retrying...

1.找到C:\Users\用户名\Homestead.vagrant\machines\homestead-7\virtualbox\private_key

 

2.修改private_key文件的权限:右键-属性-安全-编辑-添加-搜索你的用户名-确定-给完全控制权限-应用-确定

 

3.再回去看你运行的vagrant up命令行界面,是不是已经从warring转到running了,快试试vagrant ssh吧!

文章来源:刘俊涛的博客

欢迎关注,有问题一起学习欢迎留言、评论。

laravel 安装环境安了三天!!的更多相关文章

  1. Laravel学习笔记(三)--在CentOS上配置Laravel

    在Laravel框架上开发了几天,不得不说,确实比较优雅,处理问题逻辑比较清楚.     今天打算在CentOS 7上配置一个Laravel,之前都是在本机上开发,打算实际配置一下.     1)系统 ...

  2. Laravel 5 系列教程三:视图变量传递和Blade

    免费视频教程地址https://laravist.com/series/laravel-5-basic 上一篇我们简单地说了Router,Views和Controllers的工作流程,这一次我就按照上 ...

  3. Laravel学习笔记(三)数据库 数据库迁移

    该章节内容翻译自<Database Migration using Laravel>,一切版权为原作者. 原作者:Stable Host, LLC 翻译作者:Bowen Huang 正文: ...

  4. Laravel 5 基础(三)- 向视图传送数据

    我们在Routes.php中新建一个路由 Route::get('about', 'PagesController@about'); 在浏览器中浏览会获得一个错误,错误信息仅仅是一个提示信息,缺少细节 ...

  5. Laravel 5 基础(三)- 向视图传送数据(续)

    我们不仅仅可以向视图传送一个数据,同样我们可以传送Array public function about() { return view('pages.about')->with([ 'firs ...

  6. Laravel数据库操作的三种方式

    http://blog.csdn.net/zls986992484/article/details/52824962

  7. laravel 在windows中使用一键安装包步骤

    安装 PHP 注意一:Laravel 5.0 开始对 PHP 版本的要求是 >=5.4,Laravel 5.1 要求 PHP 版本 >=5.5.9,所以,建议大家尽量安装 5.5.x 的最 ...

  8. Laravel 集成 JPush 极光推送指北

    我是一个 Laravel 小白,我是一个 Laravel 小白,我是一个 Laravel 小白(默念三遍再往下读,如果非小白就不用看了). Laravel 使用 Composer 来管理代码依赖.所以 ...

  9. 在 Windows 上安装 Laravel 5.x

    由于工作中要用到 Laravel ,所以在此记录以备忘. 下载并设置 PHP 进入 http://windows.php.net/download/ 下载 PHP 5.5.x 的最新版本.如果你用的是 ...

随机推荐

  1. 「BZOJ 4289」 PA2012 Tax

    「BZOJ 4289」 PA2012 Tax 题目描述 给出一个 \(N\) 个点 \(M\) 条边的无向图,经过一个点的代价是进入和离开这个点的两条边的边权的较大值,求从起点 \(1\) 到点 \( ...

  2. [BZOJ4009][HNOI2015]接水果(整体二分)

    [HNOI2015]接水果 时间限制:60s      空间限制:512MB 题目描述 风见幽香非常喜欢玩一个叫做 osu!的游戏,其中她最喜欢玩的模式就是接水果. 由于她已经DT FC 了The b ...

  3. 91网漏洞打包#越权+爆破+存储xss可打cookie

    漏洞一.主站存在登录口爆破 抓包,爆破一下 爆破成功 漏洞二.检测app时一处存储xss 在app登录后 我要提问那里插入xss 然后弹窗 可以打到cookie 漏洞三.app个人资料处平行越权可查看 ...

  4. Object-C—集合

    Obejct-C中包含了三种集合,分别是:数组.字典和集(set).       数组和C语言中的数组相似,但是OC中的数组只能存储对象,不能存储基本数据类型,如int.float.enum.stru ...

  5. 采用FPGA实现音频模数转换器

    http://www.21ic.com/app/eda/200905/42832.htm http://www.eefocus.com/article/09-10/84673s.html 摘 要 简要 ...

  6. 为什么Scrum不行?

    这篇文章的原文在这里(原文链接)(下文不是全译,也不是部分译,我只是把其总结,有我自己的发挥,但是原意大致不变),这篇文章完全是在调侃Scrum的,作者第一段就是一个免费声明,其说他是Scrum和其它 ...

  7. CentOS,Fedora,Debian,Ubuntu,SuSE——我到底爱谁

    主观情绪上,一直都不是特别喜欢RedHat,虽然它是毋庸置疑的老大,其实我并不介意有人说我肤浅,说这话的理由简单,redhat.com发布RedHat 9(简写为RH9)后,不再开发RedHat 10 ...

  8. 用百度SDK获取地理位置和天气信息

    以下实现通过百度SDK获取地理位置和天气信息,请參考title=android-locsdk/guide/v5-0">百度开发文档 1. 在相关下载最新的库文件.将so文件的压缩文件解 ...

  9. javacc学习总结

    在学javacc的时候.发现一个问题,见下: Example.jj文件 PARSER_BEGIN(Example) public class Example { public static void ...

  10. 如何查找python安装包的路径site-packages?

    使用命令: python -m site python -m site --user-site 注意当查看指定版本的python的安装包时,需要指定python版本,比如python2.7.15 -m ...