Code Monkey home page Code Monkey logo

Comments (6)

pmesnier avatar pmesnier commented on July 3, 2024

Hi,
Please run the following commands and report the results:
ls -l ./data-dir
ls -l ./data-dir/blockchain #or whatever you may have set the name to
umask
id

Then maybe we can figure out what the problem is

from eos.

0x83043 avatar 0x83043 commented on July 3, 2024
graphene@162f8d36c4a6:/eos$ ls -l ./data-dir
total 12
drwxrwxr-x 2 graphene graphene 4096 Jun 29 18:26 blockchain
drwxrwxr-x 2 graphene graphene 4096 Jun 29 18:59 blocks
-rw-rw-r-- 1 graphene graphene 2413 Jul  1 09:03 config.ini
graphene@162f8d36c4a6:/eos$ ls -l ./data-dir/blockchain
total 5196
-rw-r--r-- 1 graphene graphene 8589934592 Jul  1 09:03 shared_memory.bin
-rw-r--r-- 1 graphene graphene       2896 Jul  1 09:03 shared_memory.meta
graphene@162f8d36c4a6:/eos$ umask
0002
graphene@162f8d36c4a6:/eos$ id
uid=1000(graphene) gid=1000(graphene) groups=1000(graphene),27(sudo)

from eos.

pmesnier avatar pmesnier commented on July 3, 2024

Oh, you're trying to open a second writer on the same file!
The distributed testnet capability is not yet ready, but when it is, you will need to provide a separate data directory for each eosd instance. There'll be other config settings to modify too.

For the time being, just run a single eosd instance.

Now, if you are only running a single instance of eosd then we will have to dig into the arcana of shared memory and file locks to see how to recover. Did your previous run of eosd get abruptly terminated by say kill -9 or some unhandled signal like a segv?

from eos.

0x83043 avatar 0x83043 commented on July 3, 2024

Oh, thanks! It still working after ^Z. I killed eosd, and started - it's ok. But next one:
Not producing block because I don't have the private key for EOS6MRyA....
How i can take valid kyes pair? It isn't take pair wich i try reg throw https://eos.io/distribution (i didn't send eth, may be in next windows).

from eos.

pmesnier avatar pmesnier commented on July 3, 2024

OK, I don't have a full picture here. What are you trying to do? Are you modifying anything?

what do you mean it is still working after a ^Z? ^Z sends a sigstop to the process, which should leave it in the process table, with all resources held, just waiting to be continued. Then you use either the fg or bg command to continue the process either foregrounded or backgrounded. Is that what you mean?

Regarding the keys, the supplied genesis.json file has defaulted keypairs that should just work. Maybe you need to refresh your local git workspace.

from eos.

0x83043 avatar 0x83043 commented on July 3, 2024

I was misled line after ^Z:
[1]+ Stopped eosd --data-dir=/eos/data-dir/ --genesis-json=/eos/genesis.json
I realized my mistake, thanks a lot!

I know about genesis.json with init nodes, but one pair need be listed in config.ini. I have taken values from --help option - it's work. Do I need registrade personal pair?

from eos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.