Author

Topic: Stuck opneing bitcoind (Read 115 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
December 08, 2022, 07:07:53 AM
#4
I did an installation of Bitcoin Core 23.0 and I manged to download all the blockchain. Every time I access to the GUI it works perfectly but when I try to access "sudo systemctl start bitcoind", I got this error:

I see you already figure out and fix the problem. But take note you can't run both GUI and bitcoind at same time, where you will get this error message.

Code:
Error: Cannot obtain a lock on data directory [FULL_PATH]. Bitcoin Core is probably already running.
newbie
Activity: 2
Merit: 1
December 07, 2022, 05:12:37 PM
#3
Thanks for the response.

Thanks to it I figure out that the main reason of the error was that there was an typo error in the folder. Instead of bitcoin I defined bitcoind.

Is now solved. Thanks!
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
December 07, 2022, 04:02:19 PM
#2
I did an installation of Bitcoin Core 23.0 and I manged to download all the blockchain. Every time I access to the GUI it works perfectly but when I try to access "sudo systemctl start bitcoind", I got this error:

[~snip~]

Dez 07 18:59:33 btcnode bitcoind[121021]: Error: Specified data directory "/home/goldasbtc/.bitcoind" does not exist.

I'm not much of a linux guy, but this error line looks to me as being the meaningful one.
Does bitcoin use this same data directory when ran normally (ie. does the folder really exist?)
What can be the reasons sudo cannot access that folder? Maybe you can chown/chmod there or set up a different data folder that can be accessed by both?

Again, I'm not that much into linux and I may be wrong.
newbie
Activity: 2
Merit: 1
December 07, 2022, 01:19:50 PM
#1
Dear all,

I did an installation of Bitcoin Core 23.0 and I manged to download all the blockchain. Every time I access to the GUI it works perfectly but when I try to access "sudo systemctl start bitcoind", I got this error:

Job for bitcoind.service failed because the control process exited with error code.
See "systemctl status bitcoind.service" and "journalctl -xeu bitcoind.service" for details.

If I check journalctl this is the outcome:

goldasbtc@btcnode:~/.bitcoin$ journalctl -xeu bitcoind.service
░░ The job identifier is 7282.
Dez 07 18:59:33 btcnode bitcoind[121021]: Error: Specified data directory "/home/goldasbtc/.bitcoind" does not exist.
Dez 07 18:59:33 btcnode systemd[1]: bitcoind.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit bitcoind.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Dez 07 18:59:33 btcnode systemd[1]: bitcoind.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit bitcoind.service has entered the 'failed' state with result 'exit-code'.
Dez 07 18:59:33 btcnode systemd[1]: Failed to start Bitcoin daemon.
░░ Subject: A start job for unit bitcoind.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit bitcoind.service has finished with a failure.
░░
░░ The job identifier is 7282 and the job result is failed.
Dez 07 18:59:33 btcnode systemd[1]: bitcoind.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ Automatic restarting of the unit bitcoind.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Dez 07 18:59:33 btcnode systemd[1]: Stopped Bitcoin daemon.
░░ Subject: A stop job for unit bitcoind.service has finished
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A stop job for unit bitcoind.service has finished.
░░
░░ The job identifier is 7363 and the job result is done.
Dez 07 18:59:33 btcnode systemd[1]: bitcoind.service: Start request repeated too quickly.
Dez 07 18:59:33 btcnode systemd[1]: bitcoind.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit bitcoind.service has entered the 'failed' state with result 'exit-code'.
Dez 07 18:59:33 btcnode systemd[1]: Failed to start Bitcoin daemon.
░░ Subject: A start job for unit bitcoind.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit bitcoind.service has finished with a failure.
░░
░░ The job identifier is 7363 and the job result is failed.


Can someone help me as I cannot find additional info.

Thanks
Jump to: