Unable to bring up first network in hyperledger fabric

0 votes

Hi, I am running into error when i execute in  ./byfn.sh -m up. Mentioned below is the error message: Please help, I am struggling for days:

$ ./byfn.sh -m up
Starting with channel 'mychannel' and CLI timeout of '10' seconds and CLI delay of '3' seconds
Continue (y/n)? y
proceeding ...
Recreating peer1.org2.example.com ...
Recreating peer0.org2.example.com ...
Recreating peer1.org1.example.com ...
Recreating orderer.example.com    ...
Recreating peer0.org1.example.com ... error

ERROR: for peer0.org1.example.com  Cannot start service peer0.org1.example.com: b"error while creating mount source path '/host_mnt/c/users/shabana parveen/source/learn/fabric-samples/first-network/crypto-config/peerOrganizations/org1.exampRecreating orderer.example.com    ... error
n/source: permission denied"

Recreating peer1.org2.example.com ... error
r while creating mount source path '/host_mnt/c/users/shabana parveen/source/learn/fabric-samples/first-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp': mkdir /host_mnt/c/users/shabana parveen/source: permission denied"

ERROR: for peer1.org2.example.com  Cannot start service peer1.org2.example.com: Recreating peer0.org2.example.com ... error
ce/learn/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls': mkdir /host_mnt/c/users/shabana parveen/source: permission denied"

ERROR: for peer0.org2.example.com  Cannot start service peer0.org2.example.com: b"error while creating mount source path '/host_mnt/c/users/shabana parveen/sourRecreating peer1.org1.example.com ... error
le.com/peers/peer0.org2.example.com/tls': mkdir /host_mnt/c/users/shabana parveen/source: permission denied"

ERROR: for peer1.org1.example.com  Cannot start service peer1.org1.example.com: b"error while creating mount source path '/host_mnt/c/users/shabana parveen/source/learn/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls': mkdir /host_mnt/c/users/shabana parveen/source: permission denied"

ERROR: for peer0.org1.example.com  Cannot start service peer0.org1.example.com: b"error while creating mount source path '/host_mnt/c/users/shabana parveen/source/learn/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp': mkdir /host_mnt/c/users/shabana parveen/source: permission denied"

ERROR: for orderer.example.com  Cannot start service orderer.example.com: b"error while creating mount source path '/host_mnt/c/users/shabana parveen/source/learn/fabric-samples/first-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp': mkdir /host_mnt/c/users/shabana parveen/source: permission denied"

ERROR: for peer1.org2.example.com  Cannot start service peer1.org2.example.com: b"error while creating mount source path '/host_mnt/c/users/shabana parveen/source/learn/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls': mkdir /host_mnt/c/users/shabana parveen/source: permission denied"

ERROR: for peer0.org2.example.com  Cannot start service peer0.org2.example.com: b"error while creating mount source path '/host_mnt/c/users/shabana parveen/source/learn/fabric-samples/first-network/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls': mkdir /host_mnt/c/users/shabana parveen/source: permission denied"

ERROR: for peer1.org1.example.com  Cannot start service peer1.org1.example.com: b"error while creating mount source path '/host_mnt/c/users/shabana parveen/source/learn/fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls': mkdir /host_mnt/c/users/shabana parveen/source: permission denied"
Encountered errors while bringing up the project.
ERROR !!!! Unable to start network
Error: No such container: cli
May 1 in Blockchain by shabana

edited May 2 by Omkar 59 views

1 answer to this question.

0 votes

I think there's a conflict with docker process. Try running the following command and then start byfn:

$ docker rm -f $(docker ps -aq)
answered May 2 by Karan

Related Questions In Blockchain

0 votes
1 answer
0 votes
1 answer

How to set up Hyperledger Fabric v0.6 network without docker?

Hyperledger Fabric v0.6 does not provide any ...READ MORE

answered Jul 9, 2018 in Blockchain by slayer
• 29,050 points
274 views
0 votes
1 answer
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 27,620 points
54 views
+1 vote
1 answer
+2 votes
3 answers