Error: failed to create deliver client: failed to load config for OrdererClient: unable to load orderer.tls.rootcert.file: open /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem: no such file or directory
在我的情况下,我输入了本地路径,而不是“ /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto ”这条路径。所以我只是从终端复制我的机器路径,并附加到文件路径,这解决了我的问题。... 展开详请
为什么不简单:
./aaa.sh 2>&1 | tee -a log
这只是重定向stderr到stdout,所以发球呼应既记录和筛选。也许我错过了一些东西,因为其他一些解决方案似乎很复杂。
注意:由于bash版本4,您可以使用|&作为的缩写2>&1 |:
./aaa.sh |& tee -a log... 展开详请