Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bcos,生成NodeId的问题 #97

Open
yeziyjy opened this issue Feb 5, 2018 · 1 comment
Open

bcos,生成NodeId的问题 #97

yeziyjy opened this issue Feb 5, 2018 · 1 comment

Comments

@yeziyjy
Copy link

yeziyjy commented Feb 5, 2018

环境Ubuntu 16.04 LTS

  1. 跟进操作步骤, 执行一键安装脚本build.sh,执行成功后结果为:bcoseth build succ! path: /usr/local/bin/bcoseth
  2. 执行生成节点身份NodeId的操作, 执行命令:bcoseth --gennetworkrlp /mydata/nodedata-1/data/network.rlp 执行失败,返回如下信息:
    ubuntu@ubuntu:/mydata/nodedata-1/data$ bcoseth --gennetworkrlp /mydata/nodedata-1/data/network.rlp
    2018-02-05 13:41:42,156 TRACE [default] [dev::eth::ChainParams dev::eth::ChainParams::loadConfig(const string&, const h256&) const] [/home/ubuntu/bcos /libethereum/ChainParams.cpp:124] genesisStateStr = {"0000000000000000000000000000000000000001":{"precompiled":{"linear":{"base":3000,"word":0},"name" :"ecrecover"}},"0000000000000000000000000000000000000002":{"precompiled":{"linear":{"base":60,"word":12},"name":"sha256"}},"00000000000000000000000000 00000000000003":{"precompiled":{"linear":{"base":600,"word":120},"name":"ripemd160"}},"0000000000000000000000000000000000000004":{"precompiled":{"line ar":{"base":15,"word":3},"name":"identity"}},"004f9d39c8424e7f86004622cef21a0bbe140bfa":{"balance":"999999999999000000000000000000"},"00dcf3367eab3b34 d6a598f453d1aee9146b50f3":{"balance":"999999999999000000000000000000"}}
    2018-02-05 13:41:42,156 INFO [default] cp.dataDir=/mydata/nodedata-1/,cp.wallet=/mydata/nodedata-1//keys.info,cp.keystoreDir=/mydata/nodedata-1//keyst ore/,cp.logFileConf=/mydata/nodedata-1//log.conf,cp.storagePath=/mydata/nodedata-1//
    2018-02-05 13:41:42,156 TRACE [default] [int main(int, char**)] [/home/ubuntu/bcos/eth/main.cpp:468] Main:: author: 000000000000000000000000000000000 0000000
    terminate called after throwing an instance of 'boost::exception_detail::clone_impldev::FileError'
    what(): FileError
    Aborted (core dumped)
@toxotguo
Copy link
Contributor

@yeziyjy
请检查目录/mydata/nodedata-1/data/是否存在,并且具有写权限

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants