Bitcoin Forum
April 18, 2024, 06:57:23 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: Do you want to rebuild the block database now?
-reindex - 1 (100%)
kill process - 0 (0%)
Total Voters: 1

Pages: [1]
  Print  
Author Topic: : Error opening block database.  (Read 228 times)
lalit patadiya (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
June 15, 2018, 08:49:22 AM
 #1

I am trying to install bitcored on my server and it'll install and working f9 with testnet, now I want to  move server with livenet for that one I have made changes all the required changes and execute the below command

> bitcored

and it'll start sync but after 91%, meanwhile somehow my internet connection is gone and the process stopped, also I have to restart my system again try to resume the process at that time it'll giving an error like below :

[2018-06-15T08:37:21.554Z] info: Starting bitcoin process
: Error opening block database.

Do you want to rebuild the block database now?
[2018-06-15T08:37:22.318Z] warn: Bitcoin process unexpectedly exited with code: 1
[2018-06-15T08:37:22.318Z] warn: Restarting bitcoin child process in 5000ms
^C[2018-06-15T08:37:25.097Z] info: Beginning shutdown
[2018-06-15T08:37:25.097Z] info: Stopping insight-ui (not started)
[2018-06-15T08:37:25.098Z] info: Stopping insight-api (not started)
[2018-06-15T08:37:25.098Z] info: Stopping web (not started)
[2018-06-15T08:37:25.098Z] info: Stopping bitcoind
[2018-06-15T08:37:26.569Z] error: Failed to start services
[2018-06-15T08:37:26.569Z] error: Error: Stopping while trying to spawn bitcoind.


Does any one has idea ?
1713423443
Hero Member
*
Offline Offline

Posts: 1713423443

View Profile Personal Message (Offline)

Ignore
1713423443
Reply with quote  #2

1713423443
Report to moderator
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713423443
Hero Member
*
Offline Offline

Posts: 1713423443

View Profile Personal Message (Offline)

Ignore
1713423443
Reply with quote  #2

1713423443
Report to moderator
1713423443
Hero Member
*
Offline Offline

Posts: 1713423443

View Profile Personal Message (Offline)

Ignore
1713423443
Reply with quote  #2

1713423443
Report to moderator
1713423443
Hero Member
*
Offline Offline

Posts: 1713423443

View Profile Personal Message (Offline)

Ignore
1713423443
Reply with quote  #2

1713423443
Report to moderator
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
June 15, 2018, 09:05:53 AM
 #2

[2018-06-15T08:37:21.554Z] info: Starting bitcoin process
: Error opening block database.

Do you want to rebuild the block database now?
[2018-06-15T08:37:22.318Z] warn: Bitcoin process unexpectedly exited with code: 1
[2018-06-15T08:37:22.318Z] warn: Restarting bitcoin child process in 5000ms
^C [2018-06-15T08:37:25.097Z] info: Beginning shutdown
[...]


It seems you files are somehow corrupted.
Did you actually try to rebuild the database? Or did you just hit CTRL+C to cancel each time?

lalit patadiya (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
June 15, 2018, 09:29:11 AM
 #3

Yes i have rebuild the database using -reindex=1 then it'll start the process again from 0.0 to 84% then stop the process with the same error
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
June 15, 2018, 09:38:04 AM
 #4

Yes i have rebuild the database using -reindex=1 then it'll start the process again from 0.0 to 84% then stop the process with the same error


You may have to resync the blockchain.
-reindex wipes the chainstate and block index and rebuilds them.

But it seems like you have corrupt block files. The best option probably would be to sync from scratch.

Did you check wether your hardware does work as intended? Do you have the blockchain stored on an external hard drive (those are more error-prone) ?

lalit patadiya (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
June 15, 2018, 09:41:17 AM
 #5

Actually, I have store my all the data on my GoDaddy server, if I am starting again from scratch then it'll take again 8-9 days for 100% sync
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
June 15, 2018, 09:46:17 AM
 #6

Did you already try to delete the latest few downloaded block files and run --reindex afterwards? It may be worth a try.
They are usually located in ~/.bitcoin/blocks/ (linux) or %APPDATA%\Bitcoin\blocks (windows).

lalit patadiya (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
June 15, 2018, 10:26:40 AM
 #7

But I think --reindex will start from scratch right?
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
June 15, 2018, 10:37:09 AM
 #8

But I think --reindex will start from scratch right?

--reindex will wipe and rebuild the chainstate and block index.
It does not repair broken block files. You will need to resync and redownload those corrupted block files.

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
June 17, 2018, 04:22:55 AM
 #9

But I think --reindex will start from scratch right?
--reindex just reads the files you already have stored on the disk. It will only download blocks that it does not already have.

You will need to manually remove the corrupted block files to force it to redownload them.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
amaclin1
Sr. Member
****
Offline Offline

Activity: 770
Merit: 305


View Profile
June 17, 2018, 12:32:35 PM
 #10

Does any one has idea ?

bitcore ( https://thebitcoincore.org/ ) is not bitcoin

Bitcoin SV GUI client for Windows and Linux
https://github.com/AlisterMaclin/bitcoin-sv/releases
lalit patadiya (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
June 19, 2018, 07:25:19 AM
 #11

"You will need to manually remove the corrupted block files to force it to redownload them."

I did but it's not working it'll give the same error again.

NeuroticFish
Legendary
*
Offline Offline

Activity: 3654
Merit: 6348


Looking for campaign manager? Contact icopress!


View Profile
June 19, 2018, 07:32:33 AM
 #12

"You will need to manually remove the corrupted block files to force it to redownload them."

I did but it's not working it'll give the same error again.

If you are certain that you removed the correct block, an idea would be to look into your antivirus logs, maybe it "disinfected" something in that file (?).

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

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

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

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

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

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











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











▄▄▄▄█
nc50lc
Legendary
*
Online Online

Activity: 2380
Merit: 5477


Self-proclaimed Genius


View Profile
June 20, 2018, 06:46:09 AM
 #13

Actually, I have store my all the data on my GoDaddy server
Does your VPS (hosting) plan comes with an unlimited bandwidth and storage space?
I don't know how big the current <Bitcored?>'s node is, so the problem might be the current size of your node on GoDaddy's server.
Or it may be non-compliant to their terms and conditions and they set a cap on your storage space.

Quote from: GoDaddy
Our Web Hosting plans are designed to host most personal, small business and organization websites. We don't limit the amount of storage and bandwidth your site can use as long as it complies with our Hosting Agreement. Should your website bandwidth or storage usage present a risk to the stability, performance or uptime of our servers, we will notify you via email and you may be required to upgrade to a Virtual Private Server or Dedicated (Private) Server, or we may restrict the resources your website is using. It’s very rare that a website violates our Hosting Agreement and is typically only seen in sites that use hosting for file sharing or storage.

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

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

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

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

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

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











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











▄▄▄▄█
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!