duanhe3393 2018-05-13 07:48
浏览 328

“ exec:\” scripts / script.sh \”:统计脚本/script.sh:无此类文件或目录

I am getting this error while trying to bring up the first hyperledger network:

$ ./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 ...
2018-05-13 07:33:04.240 UTC [main] main -> INFO 001 Exiting.....
LOCAL_VERSION=1.1.0
DOCKER_IMAGE_VERSION=1.1.0
Starting peer1.org1.example.com ... done
Starting peer1.org2.example.com ... done
Starting peer0.org1.example.com ... done
Starting peer0.org2.example.com ... done
Starting orderer.example.com    ... done
cli is up-to-date
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: \"scripts/script.sh\": stat scripts/script.sh: no such file or directory": unknown
ERROR !!!! Test failed

The main folder fabric-samples is under the folder C:\User\XXXXX. This is the same path for $HOME as well. I can see that the file script.sh is present under fabric-samples/first-network/scripts.

Any other setting that needs to be done to help execute this?

Go version:

go version go1.10.2 windows/amd64
  • 写回答

5条回答 默认 最新

  • duanfan1965 2019-06-30 05:19
    关注

    Try following method also, stop the network, remove all previous values:

    $./byfn.sh down
    $docker stop $(docker ps -a -q)
    $docker rm $(docker ps -a -q)
    $docker volume prune
    

    Restart your docker then re-run the network!

    $cd ....fabric-samples/first-network
    $./byfn.sh generate
    $./byfn.sh up
    
    评论

报告相同问题?

悬赏问题

  • ¥15 树莓派与pix飞控通信
  • ¥15 自动转发微信群信息到另外一个微信群
  • ¥15 outlook无法配置成功
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题