简体   繁体   中英

Hyperledger Composer Deploying Business Network Error

Could someone help me to resolved this error

this is what I input:  composer network start --networkName land- 
registry --networkVersion 0.0.1 --networkAdmin admin -- 
networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1 --file networkadmin.card


Error: Error trying to start business network. Error: Unable to initalize 
channel. Attempted to contact 1 Peers. Last error was Error: Error: 2 UNKNOWN: 
access denied: channel [composerchannel] creator org [Org1MSP]
1. Remove your old fabric-tools / fabric-dev-servers (whatever you've called it) directory

2. mkdir ~/fabric-tools && cd ~/fabric-tools     #inside the directory

3. curl -O https://raw.githubusercontent.com/hyperledger/composer-tools/master/packages/fabric-dev-servers/fabric-dev-servers.tar.gz 

4. cd fabric-tools ; tar -xvf fabric-dev-servers.tar.gz

5. ./stopFabric.sh ; ./teardownFabric.sh ; ./fabric-tools/startFabric.sh
6. ./createPeerAdminCard.sh
7. cd ~/landreg-network/   # wherever your BNA file is etc

finally:

8. composer network install --card PeerAdmin@hlfv1 --archiveFile land-registry@0.0.1.bna

9. composer network start --networkName land-registry --networkVersion 0.0.1 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1 --file networkadmin.card

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM