尝试定位本地Micro Cloud Foundry时出现404错误

时间:2013-04-28 12:51:10

标签: http-status-code-404 virtual-machine cloudfoundry

我正在尝试使用VirtualBox在我的机器上安装Micro Cloud Foundry。我的Micro Cloud Foundry正在运行,网络正常运行,服务正在运行。但是当我尝试定位我的Micro Cloud Foundry时(使用vmc target< my domain>),我收到以下错误:

... FAILED
CFoundry::NotFound: 404: <html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

For more information, see ~/.vmc/crash

〜/ .vmc / crash的内容是:

cfoundry-0.5.3.rc7/lib/cfoundry/baseclient.rb:163:in `handle_error_response'
cfoundry-0.5.3.rc7/lib/cfoundry/baseclient.rb:137:in `handle_response'
cfoundry-0.5.3.rc7/lib/cfoundry/baseclient.rb:87:in `request'
cfoundry-0.5.3.rc7/lib/cfoundry/baseclient.rb:64:in `get'
cfoundry-0.5.3.rc7/lib/cfoundry/baseclient.rb:60:in `info'
cfoundry-0.5.3.rc7/lib/cfoundry/client.rb:40:in `new'
vmc-0.5.1.rc6/lib/vmc/cli/start/target.rb:26:in `block in target'
interact-0.5.2/lib/interact/progress.rb:98:in `with_progress'
vmc-0.5.1.rc6/lib/vmc/cli/start/target.rb:24:in `target'
mothership-0.5.1/lib/mothership/base.rb:66:in `run'
mothership-0.5.1/lib/mothership/command.rb:72:in `block in invoke'
mothership-0.5.1/lib/mothership/command.rb:86:in `instance_exec'
mothership-0.5.1/lib/mothership/command.rb:86:in `invoke'
mothership-0.5.1/lib/mothership/base.rb:55:in `execute'
vmc-0.5.1.rc6/lib/vmc/cli.rb:155:in `block (2 levels) in execute'
vmc-0.5.1.rc6/lib/vmc/cli.rb:166:in `save_token_if_it_changes'
vmc-0.5.1.rc6/lib/vmc/cli.rb:154:in `block in execute'
vmc-0.5.1.rc6/lib/vmc/cli.rb:103:in `wrap_errors'
vmc-0.5.1.rc6/lib/vmc/cli.rb:150:in `execute'
mothership-0.5.1/lib/mothership.rb:45:in `start'
vmc-0.5.1.rc6/bin/vmc:11:in `<top (required)>'
/usr/local/bin/vmc:23:in `load'
/usr/local/bin/vmc:23:in `<main>'

我的虚拟机网络设置为“桥接适配器”。有人可以帮忙吗?

1 个答案:

答案 0 :(得分:0)

转到虚拟机菜单并(a)重新启动网络,如果这不起作用(b)重新启动DNS然后重新启动网络(我现在没有我的VM在我面前,但是DNS和网络有两种不同的菜单项。