Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/227.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
流浪汉挂断了ssh_Ssh_Vagrant - Fatal编程技术网

流浪汉挂断了ssh

流浪汉挂断了ssh,ssh,vagrant,Ssh,Vagrant,我做了vagrant up--provision libvirt,它挂起了: default: Waiting for SSH to become available... 我可以做vagrant ssh。它起作用了!但我不明白为什么vagrant挂断了ssh模式。 我从本地计算机中删除所有计算机。重新建造。解决不了问题。 此外,重新安装插件也没有帮助。 另外,从我的回购中删除.vagrant文件! 我从.vagrant.d中删除了inscure密钥对 我做了vagrant重新加载 问题是这个

我做了
vagrant up--provision libvirt
,它挂起了:

default: Waiting for SSH to become available...
我可以做
vagrant ssh
。它起作用了!但我不明白为什么vagrant挂断了ssh模式。 我从本地计算机中删除所有计算机。重新建造。解决不了问题。 此外,重新安装插件也没有帮助。 另外,从我的回购中删除.vagrant文件! 我从.vagrant.d中删除了inscure密钥对 我做了
vagrant重新加载

问题是这个错误实际上:

An action 'up' was attempted on the machine 'default',
but another process is already executing an action on the machine.
Vagrant locks each machine for access by only one process at a time.
Please wait until the other Vagrant process finishes modifying this
machine, then try again.

If you believe this message is in error, please check the process
listing for any "ruby" or "vagrant" processes and kill them. Then
try again.
我杀死了所有的ruby和vagrant进程,但没有任何帮助 流浪版本:1.9.4 流浪汉libvirt版本:0.0.37
ubuntu 16.04

我在尝试运行vagrant up时遇到了类似的问题--provider=lxc 我只是通过检查是否有ruby/vagrant进程正在运行并杀死它来修复它。 仅供参考,就我而言,在当前运行之前由我启动的
vagrant up
进程仍在运行

$ ps -ef | grep ruby
$ ps -ef | grep vagrant

$ kill -9

$ Restart "vagrant up --provider=lxc"

流浪汉很奇怪。每当我遇到这个问题时,我都会
vagrant-reload
——有时在第一次尝试时有效,有时在第十次尝试时有效。