CLI - Issues opening electroneumd.exe

Hey. I am trying to send and manage ETN on a paper wallet, sending this direct to exchange, so downloaded the CLI Wallet from Github.

I started to sync to the blockchain by opening the electronuemd.exe file, and all was working correctly. It was going to take more than a day to fully sync, so I turned my computer off. This morning, on trying to reopen this application to continue syncing, it opens briefly and then closes automatically.

No error messages or anything else. Just closes. No matter how many times I open electroneumd.exe, the same this happens.

If anyone knows what is causing this and how to sort, please do let me know.

Thanks

Start electroneumd.exe via windows command prompt to see where the error is.

1 Like

Thanks. I get this, but then nothing else happens. When I open the exe directly it shows this, then automatically closes as described.

C:>cd C:\Users\DJC\Desktop\Trading\Electroneum\Blockchain

C:\Users\DJC\Desktop\Trading\Electroneum\Blockchain>electroneumd.exe
2018-10-17 19:10:52.455 39892 INFO global src/daemon/main.cpp:280 Electroneum ‘August 2018’ (v2.1.1.1-a15d47f6)
2018-10-17 19:10:52.456 39892 INFO global src/daemon/protocol.h:56
Initializing cryptonote protocol…
2018-10-17 19:10:52.456 39892 INFO global src/daemon/protocol.h:61
Cryptonote protocol initialized OK
2018-10-17 19:10:52.459 39892 INFO global src/daemon/p2p.h:64 Initializing p2p server…
2018-10-17 19:10:55.394 39892 INFO global src/daemon/p2p.h:69 P2p server initialized OK
2018-10-17 19:10:55.394 39892 INFO global src/daemon/rpc.h:59 Initializing core rpc server…
2018-10-17 19:10:55.395 39892 INFO global contrib/epee/include/net/http_server_impl_base.h:70 Binding on 127.0.0.1:26968
2018-10-17 19:10:55.396 39892 INFO global src/daemon/rpc.h:64 Core rpc server initialized OK on port: 26968
2018-10-17 19:10:55.396 39892 INFO global src/daemon/core.h:74 Initializing core…
2018-10-17 19:10:55.397 39892 INFO global src/cryptonote_core/cryptonote_core.cpp:324 Loading blockchain from folder C:\ProgramData\electroneum\lmdb …

C:\Users\DJC\Desktop\Trading\Electroneum\Blockchain>

That’s strange, it looks like your daemon crashes without an error message right before Loading checkpoints

src/cryptonote_core/cryptonote_core.cpp:324 Loading blockchain from folder C:\ProgramData\electroneum\lmdb …
2018-10-17 20:32:44.459 6604 INFO global src/cryptonote_core/cryptonote_core.cpp:422 Loading checkpoints
2018-10-17 20:32:44.522 6604 INFO global src/daemon/core.h:79 Core initialized OK
2018-10-17 20:32:44.523 6604 INFO global src/daemon/rpc.h:69 Starting core rpc server…
2018-10-17 20:32:44.524 [SRV_MAIN] INFO global src/daemon/rpc.h:74 Core rpc server started ok
2018-10-17 20:32:44.525 [SRV_MAIN] INFO global src/daemon/p2p.h:79 Starting p2p net loop…
2018-10-17 20:32:45.525 [P2P7] INFO global src/cryptonote_core/cryptonote_core.cpp:1259 e[1;33m


The daemon will start synchronizing with the network. This may take a long time to complete.

Can you try running
electroneumd.exe --db-salvage

Run it as administrator. If not sure how right click and you will see the option if you run it trough the cmd start the cmd as administrator. Hopw this helps.

Try it, but he should be able to run the daemon as a regular user from a non-elevated cmd prompt
Very Long path to binary is also ok (tested a similar path he is using)

My educated guess: Your database is most likely corrupt and is causing the daemon to crash without errors

Having the same issue on the other account on the PC and its getting fixed when starting as admin. Lets see the feedback.

1 Like

I agree, user rights might be off. Sometimes also antivirus can block programs opening ports.

If nothing of the above works, try running the daemon with:
electroneumd.exe --log-level 2 --log-file FAIL.LOG

and paste the content of your
C:\ProgramData\electroneum\FAIL.LOG
here

Thanks @CryptoTechBox.com and @RSKNOR. Running as admin didn’t change the result. I ran the FAIL.LOG and have the report, but the forum is stopping me posting because of site links. I’ve gone through and removed the exerts that appear as web links, but still can’t post. Is there a way around this? Thanks again

You can paste your log here https://paste.ubuntu.com/ and submit the link of paste to us.

I just get the error from the forum ‘Sorry, you can’t include links in your posts.’

But evidently it is possible seeing as though you’ve done it :smiley:

Oh, Im sorry about that, it must be because you are a little bit new :frowning: Unfortunately unless you paste it inside a post there is no other way. But I will attempt to give you some directions so we can see what the issue is.

  1. Open Command Line Interface
  2. Navigate to electroneumd.exe directory by using the cd command for example cd C:\etn-cli-wallet inside of Electroneum CLI directory we should find electroneumd.exe
  3. Type electroneumd.exe and this will launch electroneumd.exe without closing your command prompt, this should allow us to see why its instantly closing or why it is not opening.

What we are doing above is manually launching electroneumd.exe within command line interface, therefore when electroneumd.exe closes unexpectedly, it should return you to normal command line with all errors/information in tact.

Conclusion: As you can see I didnt have an issue myself upon executing electroneumd.exe once inside directory via command line interface, however should you run into an error it should be displayed on the line and it should not close your command line interface, you can take a screen shot and let us see it. Hope this helps.

You gave me the idea to screenshot :rofl:. This is the FAIL.LOG

1 Like

Yap I see it, log looks fine, nothing out of ordinary, follow my directions to launch electroneumd.exe manually within inside command line interface ok? and when it doesnt open Just screen shot the given information upon trying to execute electroneumd.exe

Hopefully this helps.

Good job! However unfortunately its not giving us much output why its closing :sob:, so its stopping on you when you execute and returning you to command line yes? In other words I am just making sure you didn’t stop electroneumd.exe with CTRL+C on keyboard :slight_smile:

Yes, when I open electroneumd.exe direct from the folder, it flashes open and closes. When I access electroneumd.exe via CMD is does stay open but returns to the command line as you see in the screenshot.

Setting m_height to 67601 is suggesting you have not synced the complete blockchain yet.

Your database copy of the blockchain is bad or not up to date.

So Setting m_height to: 67601 is the last line of your FAIL.LOG?
It supposed to be about 400000 depending where you left it last

Here is a copy of my startup log:
2018-10-18 23:06:59.886 6872 DEBUG blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:1220 Setting m_height to: 400643
2018-10-18 23:06:59.888 6872 DEBUG hardfork src/cryptonote_basic/hardfork.cpp:198 reorganizing from 390564
2018-10-18 23:07:00.244 6872 DEBUG hardfork src/cryptonote_basic/hardfork.cpp:207 reorganization done
2018-10-18 23:07:00.249 6872 INFO blockchain src/cryptonote_core/blockchain.cpp:368 773205101022
2018-10-18 23:07:00.249 6872 INFO global src/cryptonote_core/cryptonote_core.cpp:422 Loading checkpoints
2018-10-18 23:07:00.250 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:166 Blockchain checkpoints file not found
2018-10-18 23:07:00.525 6872 DEBUG net.dns src/common/dns_utils.cpp:487 DNSSEC validation failed for checkpoints at URL: checkpoints.electroneumpulse.net, skipping.
2018-10-18 23:07:00.526 6872 DEBUG net.dns src/common/dns_utils.cpp:487 DNSSEC validation failed for checkpoints at URL: checkpoints.electroneumpulse.org, skipping.
2018-10-18 23:07:00.526 6872 DEBUG net.dns src/common/dns_utils.cpp:487 DNSSEC validation failed for checkpoints at URL: checkpoints.electroneumpulse.com, skipping.
2018-10-18 23:07:00.527 6872 DEBUG net.dns src/common/dns_utils.cpp:487 DNSSEC validation failed for checkpoints at URL: checkpoints.electroneumpulse.info, skipping.
2018-10-18 23:07:00.527 6872 INFO net.dns src/common/dns_utils.cpp:509 WARNING: no two valid ElectroneumPulse DNS checkpoints records were received, only 0
2018-10-18 23:07:00.528 6872 INFO blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:555 [check_and_resize_for_batch] checking DB size
2018-10-18 23:07:00.528 6872 INFO blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:519 DB map size: 38821404672
2018-10-18 23:07:00.529 6872 INFO blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:520 Space used: 31332519936
2018-10-18 23:07:00.529 6872 INFO blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:521 Space remaining: 7488884736
2018-10-18 23:07:00.530 6872 INFO blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:522 Size threshold: 0
2018-10-18 23:07:00.530 6872 INFO blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:524 Percent used: 0.8071 Percent threshold: 0.8000
2018-10-18 23:07:00.531 6872 INFO blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:555 [check_and_resize_for_batch] checking DB size
2018-10-18 23:07:00.531 6872 INFO blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:519 DB map size: 38821404672
2018-10-18 23:07:00.532 6872 INFO blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:520 Space used: 31332519936
2018-10-18 23:07:00.533 6872 INFO blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:521 Space remaining: 7488884736
2018-10-18 23:07:00.533 6872 INFO blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:522 Size threshold: 0
2018-10-18 23:07:00.533 6872 INFO blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:524 Percent used: 0.8071 Percent threshold: 0.8000
2018-10-18 23:07:00.534 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 1 <4536e1e23ff7179a126a7e61cd9e89ded0e258176f2bc879c999caa155f68cc3>
2018-10-18 23:07:00.536 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 10
2018-10-18 23:07:00.536 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 100
2018-10-18 23:07:00.537 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 1000
2018-10-18 23:07:00.537 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 10000 <95dad4575ba43eb0d4ba9b6081d5d52e6a74fc8fe3391d9628f78ddd3b71c965>
2018-10-18 23:07:00.538 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 100000
2018-10-18 23:07:00.538 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 150000
2018-10-18 23:07:00.539 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 179839
2018-10-18 23:07:00.539 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 179840 <74958c1b19505ab49babc91dfd14251146256873ae875ac97c26fb2000490e70>
2018-10-18 23:07:00.539 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 179841 <8a793f1aef368e83fa72ac3a236309c06ae7726958120514e0f6d33ff3b24548>
2018-10-18 23:07:00.540 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 200000 <9a7853584fbe0d88746d3d7bb6a3efd02ecaa3f0158808fde9f3c8339b3d5d8f>
2018-10-18 23:07:00.541 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 250000 <0b4d542eeaf6fbd5ceb196ca5ed44edb6ee0c0f1cdf391ba62710b04e1da9f29>
2018-10-18 23:07:00.541 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 300000
2018-10-18 23:07:00.542 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 307499
2018-10-18 23:07:00.542 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 307500
2018-10-18 23:07:00.543 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 307501 <4a5a86a4c6ecee29c2d41d8f633e82a5b3340e354c55f2767f722fc03b950fae>
2018-10-18 23:07:00.543 6872 INFO checkpoints src/cryptonote_basic/checkpoints.cpp:82 CHECKPOINT PASSED FOR HEIGHT 310000 <82dfd6ee74a5ae7526af923f1637b59082ef917d84ad80944edb1debd557bb96>
2018-10-18 23:07:00.544 6872 INFO global src/daemon/core.h:79 Core initialized OK
2018-10-18 23:07:00.546 6872 INFO global src/daemon/rpc.h:69 Starting core rpc server…