Bitcoin Forum
May 10, 2024, 08:24:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Stuck opneing bitcoind  (Read 93 times)
djbtcbcn (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 1


View Profile
December 07, 2022, 06:19:50 PM
Merited by ABCbits (1)
 #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
1715329453
Hero Member
*
Offline Offline

Posts: 1715329453

View Profile Personal Message (Offline)

Ignore
1715329453
Reply with quote  #2

1715329453
Report to moderator
1715329453
Hero Member
*
Offline Offline

Posts: 1715329453

View Profile Personal Message (Offline)

Ignore
1715329453
Reply with quote  #2

1715329453
Report to moderator
1715329453
Hero Member
*
Offline Offline

Posts: 1715329453

View Profile Personal Message (Offline)

Ignore
1715329453
Reply with quote  #2

1715329453
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715329453
Hero Member
*
Offline Offline

Posts: 1715329453

View Profile Personal Message (Offline)

Ignore
1715329453
Reply with quote  #2

1715329453
Report to moderator
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6382


Looking for campaign manager? Contact icopress!


View Profile
December 07, 2022, 09:02:19 PM
Merited by ABCbits (1)
 #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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
djbtcbcn (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 1


View Profile
December 07, 2022, 10: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!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!