Message from discussion
404: entity not found or inaccessible
Date: Thu, 13 Sep 2012 18:13:52 -0700 (PDT)
From: yangzifeng1...@gmail.com
To: vcap-...@cloudfoundry.org
Message-Id: <51db71c1-7436-430d-92f7-82d5b74f5407@cloudfoundry.org>
In-Reply-To: <CAPDrV4o75szX5G-j87n6EFW0Q0Y76Tbu32FgJ-hOHRp1E8rFGQ@mail.gmail.com>
References: <a6376f6a-871a-4170-905f-a6d341ea2a8d@cloudfoundry.org>
<CAPDrV4pk_j_DYjWHkmO-mucaQHt1nCbLwjdnavxFFKYVBi9CgQ@mail.gmail.com>
<751b434f-20d1-4a46-9a2f-a6cda1abbefb@cloudfoundry.org>
<CAPDrV4o75szX5G-j87n6EFW0Q0Y76Tbu32FgJ-hOHRp1E8rFGQ@mail.gmail.com>
Subject: Re: [vcap-dev] 404: entity not found or inaccessible
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_30_5392835.1347585232212"
------=_Part_30_5392835.1347585232212
Content-Type: multipart/alternative;
boundary="----=_Part_31_6864408.1347585232212"
------=_Part_31_6864408.1347585232212
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Here is the result, still 3 processes
root@arch3:~/cloudfoundry/vcap/dev_setup/bin# ./vcap_dev start
Targeting deployment "rest" with cloudfoundry home "/root/cloudfoundry"
Setting up cloud controller environment
Using cloudfoundry config from /root/cloudfoundry/.deployments/rest/config
Executing=20
/root/cloudfoundry/.deployments/rest/deploy/rubies/ruby-1.9.2-p180/bin/ruby=
=20
/root/cloudfoundry/vcap/dev_setup/bin/vcap start cloud_controller=20
mysql_gateway redis_gateway mongodb_node redis_node health_manager=20
mongodb_gateway router -c /root/cloudfoundry/.deployments/rest/config -v=20
/root/cloudfoundry -l /root/cloudfoundry/.deployments/rest/log
cloud_controller : RUNNING
health_manager : RUNNING
router : RUNNING
root@arch3:~/cloudfoundry/vcap/dev_setup/bin#
in the log dir
root@arch3:~/cloudfoundry/.deployments/rest/log# ll
total 40
drwxr-xr-x 3 root root 4096 2012-09-13 09:16 ./
drwxr-xr-x 6 root root 4096 2012-09-10 20:58 ../
-rw-r--r-- 1 root root 16587 2012-09-14 02:09 cloud_controller.log
-rw-r--r-- 1 root root 2869 2012-09-14 02:09 health_manager.log
drwxr-xr-x 2 root root 4096 2012-09-13 09:17 nginx/
-rw-r--r-- 1 root root 1063 2012-09-14 02:09 router.log
in the config dir:
root@arch3:~/cloudfoundry/.deployments/rest/config# ll
total 84
drwxr-xr-x 5 root root 4096 2012-09-13 10:09 ./
drwxr-xr-x 6 root root 4096 2012-09-10 20:58 ../
-rw-r--r-- 1 root root 3670 2012-09-13 04:54 cloud_controller.yml
-rw-r--r-- 1 root root 775 2012-09-13 05:01 deploy.json
-rw-r--r-- 1 root root 372 2012-09-10 20:58 deployment_info.json
-rw-r--r-- 1 root root 1731 2012-09-13 09:14 health_manager.yml
drwxr-xr-x 2 root root 4096 2012-09-10 20:58 legacy_staging/
-rw-r--r-- 1 root root 288 2012-09-13 04:44 mongodb_backup.cron
-rw-r--r-- 1 root root 451 2012-09-13 04:44 mongodb_backup.yml
-rw-r--r-- 1 root root 484 2012-09-13 05:00 mongodb_gateway.yml
-rw-r--r-- 1 root root 925 2012-09-13 04:44 mongodb_node.yml
-rw-r--r-- 1 root root 449 2012-09-13 09:18 mysql_gateway.yml
drwxr-xr-x 2 root root 4096 2012-09-13 09:19 nats_server/
-rw-r--r-- 1 root root 280 2012-09-13 05:00 redis_backup.cron
-rw-r--r-- 1 root root 195 2012-09-13 05:00 redis_backup.yml
-rw-r--r-- 1 root root 463 2012-09-13 05:00 redis_gateway.yml
-rw-r--r-- 1 root root 665 2012-09-13 10:06 redis_node.yml
-rw-r--r-- 1 root root 211 2012-09-13 08:52 router.yml
-rw-r--r-- 1 root root 3561 2012-09-13 04:54 runtimes.yml
drwxr-xr-x 2 root root 4096 2012-09-13 05:00 staging/
-rw-r--r-- 1 root root 140 2012-09-13 05:01 vcap_components.json
=20
=E5=9C=A8 2012=E5=B9=B49=E6=9C=8814=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=94UTC+=
8=E4=B8=8A=E5=8D=889=E6=97=B609=E5=88=8635=E7=A7=92=EF=BC=8CHaipeng Wu=E5=
=86=99=E9=81=93=EF=BC=9A
>
> If you just use command "./vcap_dev_setup" to deploy, just use command=20
> "./vcap_dev start" to start.
>
> haipeng
>
> On Fri, Sep 14, 2012 at 8:11 AM, <yangzif...@gmail.com <javascript:>>wrot=
e:
>
>> Yes, I made a brand new installation according to 'Single/Multi Node=20
>> VCAP Deployment using dev_setup'.
>> And I got successful installation information at the end.
>> and use './vcap_dev -n rest start' to start the rest components.
>> But only 3 processes are running.
>> I see the logs and pid, only these three process.
>>
>>
>>
>> =E5=9C=A8 2012=E5=B9=B49=E6=9C=8813=E6=97=A5=E6=98=9F=E6=9C=9F=E5=9B=9BU=
TC+8=E4=B8=8B=E5=8D=887=E6=97=B649=E5=88=8604=E7=A7=92=EF=BC=8CHaipeng Wu=
=E5=86=99=E9=81=93=EF=BC=9A
>>
>>> I wonder how you did the setup, is that "./vcap_dev_setup"?
>>>
>>> You used "-n rest" when starting cloud foundry, you made a deployment=
=20
>>> called "rest" before?
>>>
>>>
>> =20
>>
>>> haipeng
>>>
>>> On Thu, Sep 13, 2012 at 4:29 PM, <yangzif...@gmail.com> wrote:
>>>
>>>> with you guys' help, Now I have finished the installation without any=
=20
>>>> ERROR:
>>>>
>>>> But when I use it, another problem comes:
>>>> root@arch3:~/cloudfoundry/**vca**p/dev_setup/bin# ./vcap_dev -n rest=
=20
>>>> start
>>>> Targeting deployment "rest" with cloudfoundry home ""
>>>> Setting up cloud controller environment
>>>> Using cloudfoundry config from /root/cloudfoundry/.**deployment**
>>>> s/rest/config
>>>> Executing /root/cloudfoundry/.**deployment**s/rest/deploy/**
>>>> rubies/ruby-1.9.**2-p180/bin/**ruby /root/cloudfoundry/vcap/dev_**se**=
tup/bin/vcap=20
>>>> start cloud_controller mysql_gateway redis_gateway mongodb_node redis_=
node=20
>>>> health_manager mongodb_gateway router -c /root/cloudfoundry/.**
>>>> deployment**s/rest/config -v /root/cloudfoundry -l /root/cloudfoundry/=
.
>>>> **deployment**s/rest/log
>>>> cloud_controller : RUNNING
>>>> health_manager : RUNNING
>>>> router : RUNNING
>>>>
>>>> only 3 processes are running. I see the document "Single/Multi Node=
=20
>>>> VCAP Deployment using dev_setup". there are much more processes.
>>>>
>>>> and when I use vmc to test, the result is
>>>>
>>>> root@arch3:~/cloudfoundry/**vcap**/dev_setup/bin# vmc target=20
>>>> api.vcap.me
>>>> Successfully targeted to [http://api.vcap.me]
>>>> root@arch3:~/cloudfoundry/**vcap**/dev_setup/bin# vmc register
>>>> Email: y...@gmail.com
>>>> Password: ***
>>>> Verify Password: ***
>>>> Creating New User: OK
>>>> Attempting login to [http://api.vcap.me]
>>>> Problem with login to 'http://api.vcap.me', 404: entity not found or=
=20
>>>> inaccessible, try again or register for an account.
>>>>
>>>
>>>
>
------=_Part_31_6864408.1347585232212
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<div><font color=3D"#ff0000">Here is the result, still 3 processes</font></=
div><div>root@arch3:~/cloudfoundry/vcap/dev_setup/bin# ./vcap_dev start</di=
v><div>Targeting deployment "rest" with cloudfoundry home "/root/cloudfound=
ry"</div><div>Setting up cloud controller environment</div><div>Using cloud=
foundry config from /root/cloudfoundry/.deployments/rest/config</div><div>E=
xecuting /root/cloudfoundry/.deployments/rest/deploy/rubies/ruby-1.9.2-p180=
/bin/ruby /root/cloudfoundry/vcap/dev_setup/bin/vcap start cloud_controller=
mysql_gateway redis_gateway mongodb_node redis_node health_manager mongodb=
_gateway router -c /root/cloudfoundry/.deployments/rest/config -v /root/clo=
udfoundry -l /root/cloudfoundry/.deployments/rest/log</div><div>cloud_contr=
oller : RUNNING</div>=
<div>health_manager =
: RUNNING</div><div>router =
: RUNNING</div><div>root@arc=
h3:~/cloudfoundry/vcap/dev_setup/bin#</div><div><br></div><div>in the log d=
ir</div><div><div>root@arch3:~/cloudfoundry/.deployments/rest/log# ll</div>=
<div>total 40</div><div>drwxr-xr-x 3 root root 4096 2012-09-13 09:16 =
./</div><div>drwxr-xr-x 6 root root 4096 2012-09-10 20:58 ../</div><d=
iv>-rw-r--r-- 1 root root 16587 2012-09-14 02:09 cloud_controller.log</div>=
<div>-rw-r--r-- 1 root root 2869 2012-09-14 02:09 health_manager.log<=
/div><div>drwxr-xr-x 2 root root 4096 2012-09-13 09:17 nginx/</div><d=
iv>-rw-r--r-- 1 root root 1063 2012-09-14 02:09 router.log</div></div=
><div><br></div><div>in the config dir:</div><div><div>root@arch3:~/cloudfo=
undry/.deployments/rest/config# ll</div><div>total 84</div><div>drwxr-xr-x =
5 root root 4096 2012-09-13 10:09 ./</div><div>drwxr-xr-x 6 root root 4096 =
2012-09-10 20:58 ../</div><div>-rw-r--r-- 1 root root 3670 2012-09-13 04:54=
cloud_controller.yml</div><div>-rw-r--r-- 1 root root 775 2012-09-13=
05:01 deploy.json</div><div>-rw-r--r-- 1 root root 372 2012-09-10 20=
:58 deployment_info.json</div><div>-rw-r--r-- 1 root root 1731 2012-09-13 0=
9:14 health_manager.yml</div><div>drwxr-xr-x 2 root root 4096 2012-09-10 20=
:58 legacy_staging/</div><div>-rw-r--r-- 1 root root 288 2012-09-13 0=
4:44 mongodb_backup.cron</div><div>-rw-r--r-- 1 root root 451 2012-09=
-13 04:44 mongodb_backup.yml</div><div>-rw-r--r-- 1 root root 484 201=
2-09-13 05:00 mongodb_gateway.yml</div><div>-rw-r--r-- 1 root root 92=
5 2012-09-13 04:44 mongodb_node.yml</div><div>-rw-r--r-- 1 root root =
449 2012-09-13 09:18 mysql_gateway.yml</div><div>drwxr-xr-x 2 root root 409=
6 2012-09-13 09:19 nats_server/</div><div>-rw-r--r-- 1 root root 280 =
2012-09-13 05:00 redis_backup.cron</div><div>-rw-r--r-- 1 root root 1=
95 2012-09-13 05:00 redis_backup.yml</div><div>-rw-r--r-- 1 root root  =
;463 2012-09-13 05:00 redis_gateway.yml</div><div>-rw-r--r-- 1 root root &n=
bsp;665 2012-09-13 10:06 redis_node.yml</div><div>-rw-r--r-- 1 root root &n=
bsp;211 2012-09-13 08:52 router.yml</div><div>-rw-r--r-- 1 root root 3561 2=
012-09-13 04:54 runtimes.yml</div><div>drwxr-xr-x 2 root root 4096 2012-09-=
13 05:00 staging/</div><div>-rw-r--r-- 1 root root 140 2012-09-13 05:=
01 vcap_components.json</div></div><div> </div><br>=E5=9C=A8 2012=E5=
=B9=B49=E6=9C=8814=E6=97=A5=E6=98=9F=E6=9C=9F=E4=BA=94UTC+8=E4=B8=8A=E5=8D=
=889=E6=97=B609=E5=88=8635=E7=A7=92=EF=BC=8CHaipeng Wu=E5=86=99=E9=81=93=EF=
=BC=9A<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8=
ex;border-left: 1px #ccc solid;padding-left: 1ex;">If you just use command =
"./vcap_dev_setup" to deploy, just use command "./vcap_dev start" to start.=
<div><br></div><div>haipeng<br><br><div class=3D"gmail_quote">On Fri, Sep 1=
4, 2012 at 8:11 AM, <span dir=3D"ltr"><<a href=3D"javascript:" target=
=3D"_blank" gdf-obfuscated-mailto=3D"ahoHJ2kKG4EJ">yangzif...@gmail.com</a>=
></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Yes, I made a brand new installation accordi=
ng to '<span style=3D"color:rgb(255,0,0)">Single/Multi Node VCAP Deployment=
using dev_setup</span>'.<div>
And I got successful installation information at the end.<br><div>and use '=
./vcap_dev -n rest start' to start the rest components.<br><div>But only 3 =
processes are running.</div><div>I see the logs and pid, only these three p=
rocess.</div>
<div><br></div><div><br><div><br>=E5=9C=A8 2012=E5=B9=B49=E6=9C=8813=E6=97=
=A5=E6=98=9F=E6=9C=9F=E5=9B=9BUTC+8=E4=B8=8B=E5=8D=887=E6=97=B649=E5=88=860=
4=E7=A7=92=EF=BC=8C<wbr>Haipeng Wu=E5=86=99=E9=81=93=EF=BC=9A<div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border-left:1p=
x #ccc solid;padding-left:1ex">I wonder how you did the setup, is that "./v=
cap_dev_setup"?<div>
<br></div><div>You used "-n rest" when starting cloud foundry, you made a d=
eployment called "rest" before?</div><div><br></div></blockquote><div><br><=
/div><div> </div></div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
haipeng</div><div><br><div class=3D"gmail_quote"><div>On Thu, Sep 13, 2012 =
at 4:29 PM, <span dir=3D"ltr"><<a>yangzif...@gmail.com</a>></span> w=
rote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">
<div>
with you guys' help, Now I have finished the installation without any =
ERROR:<div><br></div><div><font color=3D"#ff0000">But when I use it, =
another problem comes:</font></div><div> root@arch3:~/cloudfoundry/<u>=
</u>vca<u></u><wbr>p/dev_setup/bin# ./vcap_dev -n rest start</div>
<div>Targeting deployment "rest" with cloudfoundry home ""</div><div>Settin=
g up cloud controller environment</div><div>Using cloudfoundry config from =
/root/cloudfoundry/.<u></u>deployment<u></u><wbr>s/rest/config</div>
<div>Executing /root/cloudfoundry/.<u></u>deployment<u></u><wbr>s/rest/depl=
oy/<u></u>rubies/ruby-1.9.<u></u><wbr>2-p180/bin/<u></u>ruby /root/cloudfou=
ndry/vcap/dev_<u></u>se<u></u><wbr>tup/bin/vcap start cloud_controller mysq=
l_gateway redis_gateway mongodb_node redis_node health_manager mongodb_gate=
way router -c /root/cloudfoundry/.<u></u>deployment<u></u><wbr>s/rest/confi=
g -v /root/cloudfoundry -l /root/cloudfoundry/.<u></u>deployment<u></u><wbr=
>s/rest/log</div>
<div>cloud_controller : &nb=
sp;RUNNING</div><div>health_manager &nbs=
p; : RUNNING</div><div>router  =
; : RUNNING</d=
iv><div><br></div><div><font color=3D"#ff0000">only 3 processes are running=
. I see the document "Single/Multi Node VCAP Deployment using dev_set=
up". there are much more processes.</font></div>
<div><font color=3D"#ff0000"><br></font></div><div><font color=3D"#ff0000">=
and when I use vmc to test, the result is</font></div><div><font color=3D"#=
ff0000"><br></font></div></div><div><div><div><font color=3D"#000000">root@=
arch3:~/cloudfoundry/<u></u>vcap<u></u><wbr>/dev_setup/bin# vmc target =
;<a href=3D"http://api.vcap.me/" target=3D"_blank">api.vcap.me</a></font></=
div>
<div><font color=3D"#000000">Successfully targeted to [<a href=3D"http://ap=
i.vcap.me/" target=3D"_blank">http://api.vcap.me</a>]</font></div><div><fon=
t color=3D"#000000">root@arch3:~/cloudfoundry/<u></u>vcap<u></u><wbr>/dev_s=
etup/bin# vmc register</font></div>
</div><div><font color=3D"#000000">Email: <a>y...@gmail.com</a></font>=
</div><div><div><font color=3D"#000000">Password: ***</font></div><div><fon=
t color=3D"#000000">Verify Password: ***</font></div><div>
<font color=3D"#000000">Creating New User: OK</font></div><div><font color=
=3D"#000000">Attempting login to [<a href=3D"http://api.vcap.me/" target=3D=
"_blank">http://api.vcap.me</a>]</font></div><div style=3D"color:rgb(255,0,=
0)">Problem with login to '<a href=3D"http://api.vcap.me/" target=3D"_blank=
">http://api.vcap.me</a>', 404: entity not found or inaccessible, try again=
or register for an account.</div>
</div></div></blockquote></div><br></div>
</blockquote></div></div></div></div></blockquote></div><br></div>
</blockquote>
------=_Part_31_6864408.1347585232212--
------=_Part_30_5392835.1347585232212--