2015-12-02 22 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