instantiate的时候会出现lscc找不到。

2017-09-22 08:52:58.545 UTC [ccprovider] NewCCContext -> DEBU 37c NewCCCC (chain=mychannel,chaincode=icreative,version=0.6,txid=add45a9e916abae5e23cdabcabdefdd7716cf64d27e7db924405c1ac51a8bcdb,syscc=false,proposal=0xc4202cf8b0,canname=icreative:0.6
2017-09-22 08:52:58.545 UTC [chaincode] sendReady -> DEBU 37d handler not found for chaincode icreative:0.6
2017-09-22 08:52:58.545 UTC [chaincode] Launch -> ERRO 37e sending init failed(handler not found for chaincode icreative:0.6)
2017-09-22 08:52:58.545 UTC [container] lockContainer -> DEBU 37f waiting for container(dev-peer0.org1.example.com-icreative-0.6) lock
2017-09-22 08:52:58.545 UTC [container] lockContainer -> DEBU 380 got container (dev-peer0.org1.example.com-icreative-0.6) lock
2017-09-22 08:52:58.547 UTC [dockercontroller] stopInternal -> DEBU 381 Stop container dev-peer0.org1.example.com-icreative-0.6(No such container: dev-peer0.org1.example.com-icreative-0.6)
2017-09-22 08:52:58.548 UTC [dockercontroller] stopInternal -> DEBU 382 Kill container dev-peer0.org1.example.com-icreative-0.6 (No such container: dev-peer0.org1.example.com-icreative-0.6)
2017-09-22 08:52:58.549 UTC [dockercontroller] stopInternal -> DEBU 383 Remove container dev-peer0.org1.example.com-icreative-0.6 (No such container: dev-peer0.org1.example.com-icreative-0.6)
2017-09-22 08:52:58.549 UTC [container] unlockContainer -> DEBU 384 container lock deleted(dev-peer0.org1.example.com-icreative-0.6)
2017-09-22 08:52:58.549 UTC [chaincode] Launch -> DEBU 385 sending init completed
2017-09-22 08:52:58.549 UTC [chaincode] Launch -> DEBU 386 LaunchChaincode complete
2017-09-22 08:52:58.549 UTC [endorser] callChaincode -> DEBU 387 Exit
2017-09-22 08:52:58.549 UTC [endorser] simulateProposal -> ERRO 388 failed to invoke chaincode name:"lscc"  on transaction add45a9e916abae5e23cdabcabdefdd7716cf64d27e7db924405c1ac51a8bcdb, error: Failed to init chaincode(handler not found for chaincode icreative:0.6)






请先 登录 后评论

2 个回答

冯翔 - 高级系统架构师

提供两个线索

1、请查看lscc这个系统内置的chaincode是否启动。

2、查看一下docker的接口是否启动了。

请先 登录 后评论
罗志晓

你的peer是不是在 调试模式 ?

请先 登录 后评论