Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/api/5.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
Vagrant 流浪汉,git密钥有问题吗?_Vagrant - Fatal编程技术网

Vagrant 流浪汉,git密钥有问题吗?

Vagrant 流浪汉,git密钥有问题吗?,vagrant,Vagrant,希望有人能帮助我。我最近购买了Rapid Application Development 我和何塞·迪亚兹·冈萨雷斯(Jose Diaz Gonzalez)的CakePHP 2.0一直在努力建立流浪汉 我使用的是最新版本的virtual box、vagrant和chef,我遵守了信函的说明,但我收到了以下错误: ==> default: [2015-03-12T07:46:39+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-

希望有人能帮助我。我最近购买了Rapid Application Development 我和何塞·迪亚兹·冈萨雷斯(Jose Diaz Gonzalez)的CakePHP 2.0一直在努力建立流浪汉

我使用的是最新版本的virtual box、vagrant和chef,我遵守了信函的说明,但我收到了以下错误:

==> default: [2015-03-12T07:46:39+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2015-03-12T07:46:39+00:00] ERROR: execute[request git key] (/tmp/vagrant-chef/bd885c961fe7ceaf386b7954711e7941/cookbooks/apt/providers/repository.rb line 2) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'
==> default: ---- Begin output of gpg --keyserver keyserver.ubuntu.com --recv-keys E1DF1F24 ----
==> default: STDOUT: 
==> default: STDERR: gpg: keyring `/root/.gnupg/secring.gpg' created
==> default: gpg: requesting key E1DF1F24 from hkp server keyserver.ubuntu.com
==> default: gpg: keyserver timed out
==> default: gpg: keyserver receive failed: keyserver error
==> default: ---- End output of gpg --keyserver keyserver.ubuntu.com --recv-keys E1DF1F24 ----
==> default: Ran gpg --keyserver keyserver.ubuntu.com --recv-keys E1DF1F24 returned 2
==> default: [2015-03-12T07:46:39+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
我的堆栈跟踪显示以下内容:

Generated at 2015-03-12 08:06:25 +0000
Mixlib::ShellOut::ShellCommandFailed: execute[request git key] (/tmp/vagrant-chef/bd885c961fe7ceaf386b7954711e7941/cookbooks/apt/providers/repository.rb line 2) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'
---- Begin output of gpg --keyserver keyserver.ubuntu.com --recv-keys E1DF1F24 ----
STDOUT:
STDERR: gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: requesting key E1DF1F24 from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
---- End output of gpg --keyserver keyserver.ubuntu.com --recv-keys E1DF1F24 ----
Ran gpg --keyserver keyserver.ubuntu.com --recv-keys E1DF1F24 returned 2

我用谷歌搜索了错误,但我对vagrant和chef是全新的,只是想熟练掌握cakephp,有人能帮忙吗?

在分别使用pgp端口11371和80远程登录服务器“keyserver.ubuntu.com”后,发现端口被阻塞