Channel name : mychannel Creating channel... + peer channel create -o orderer.example.com:7050 -c mychannel -f ./channel-artifacts/channel.tx --tls true --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + res=1 + set +x cat: log.txt: Permission denied !!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!! ========= ERROR !!! FAILED to execute End-2-End Scenario ===========
ERROR !!!! Test failed
permission denied
error when the command is trying tocat logs.txt
. fix the file permission issue and it'll work. Also check theowner
oflog.txt
and the directory in which log.txt is present using commandls -lh
. – metadata