2015-12-02 25 views
1

启动应用程序即使我能够从cf cli上传应用程序,我也会收到错误位未上传。 检查下面执行的命令的日志。 错误在哪里? 我按照dw001视频所示正确地执行了所有步骤。我无法从云代工cli

F:\IBM BLUEMIX\DW001\testappl1> 
F:\IBM BLUEMIX\DW001\testappl1>cd dir 
The system cannot find the path specified. 

F:\IBM BLUEMIX\DW001\testappl1>dir 
Volume in drive F is Comp Stuff 
Volume Serial Number is 5635-6A95 

Directory of F:\IBM BLUEMIX\DW001\testappl1 

01-12-2015 23:12 <DIR>   . 
01-12-2015 23:12 <DIR>   .. 
01-12-2015 17:40    13 .cfignore 
01-12-2015 17:40    7,171 .jshintrc 
01-12-2015 17:40    429 .project 
01-12-2015 23:12 <DIR>   .settings 
01-12-2015 17:40    9,873 app.js 
01-12-2015 17:40    176 manifest.yml 
01-12-2015 17:40    429 package.json 
01-12-2015 23:12 <DIR>   public 
01-12-2015 17:40    445 README.md 
01-12-2015 23:12 <DIR>   routes 
01-12-2015 23:12 <DIR>   views 
       7 File(s)   18,536 bytes 
       6 Dir(s) 1,294,770,176 bytes free 

F:\IBM BLUEMIX\DW001\testappl1>cf push BI-MyFirstDeploy-3 -c "node app.js" -m 128M --no-manifest 
Updating app BI-MyFirstDeploy-3 in org [email protected]/space Test1 as [email protected] 
OK 

Creating route bi-myfirstdeploy-3.mybluemix.net... 
FAILED 
Server error, status code: 400, error code: 210003, message: The host is taken: bi-myfirstdeploy-3 

F:\IBM BLUEMIX\DW001\testappl1>cf push testappl -c "node app.js" -m 128M --no-manifest 
Creating app testappl in org [email protected]/space Test1 as [email protected] 
OK 

Creating route testappl.mybluemix.net... 
FAILED 
Server error, status code: 400, error code: 210003, message: The host is taken: testappl 

F:\IBM BLUEMIX\DW001\testappl1>cf bs testappl testappl1-cloudantNoSQLDB 
Binding service testappl1-cloudantNoSQLDB to app testappl in org [email protected]/space Test1 as [email protected] 
OK 
TIP: Use 'cf restage testappl' to ensure your env variable changes take effect 

F:\IBM BLUEMIX\DW001\testappl1>cf start testappl 
Starting app testappl in org [email protected]/space Test1 as [email protected] 
FAILED 
Server error, status code: 400, error code: 150001, message: The app package is invalid: bits have not been uploaded 

F:\IBM BLUEMIX\DW001\testappl1>cf cs cloudantNoSQLDB Shared testservice1 
Creating service instance testservice1 in org [email protected]/space Test1 as [email protected] 
OK 

Attention: The plan `Shared` of service `cloudantNoSQLDB` is not free. The instance `testservice1` will incur a cost. Contact your administrator if 
you think this is in error. 


F:\IBM BLUEMIX\DW001\testappl1>cf bs testappl testservice1 
FAILED 
App testappl not found 

F:\IBM BLUEMIX\DW001\testappl1>cf push testappl -c "node app.js" -m 128M --no-manifest 
Creating app testappl in org [email protected]/space Test1 as [email protected] 
OK 

Creating route testappl.mybluemix.net... 
FAILED 
Server error, status code: 400, error code: 210003, message: The host is taken: testappl 

F:\IBM BLUEMIX\DW001\testappl1>cf bs testappl testservice1 
Binding service testservice1 to app testappl in org [email protected]/space Test1 as [email protected] 
OK 
TIP: Use 'cf restage testappl' to ensure your env variable changes take effect 

F:\IBM BLUEMIX\DW001\testappl1>cf start testappl 
Starting app testappl in org [email protected]/space Test1 as [email protected] 
FAILED 
Server error, status code: 400, error code: 150001, message: The app package is invalid: bits have not been uploaded 

任何帮助表示感谢,并提前感谢。

回答

1

服务器错误,状态代码:400,错误代码:210003消息:主机采取:

的主机名(默认应用程序名称)已由另一用户或组织。选择一个独特的名字。例如:

cf push testappl_GOWTHI -c "node app.js" -m 128M --no-manifest