Bitcoin Forum
March 15, 2026, 08:14:25 PM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bad genesis block  (Read 1532 times)
ingvar_e (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 2


View Profile
November 04, 2014, 03:54:04 PM
 #1


I have the bitcoin program (0.9.2.1  Swedish version) on my C-drive and my data on a "QNAP" server running 2 mirror disks. The server is on my home IP network.
Unfortunately I had a disruption on the connection to the server.

When I start The program I get the following message (In Swedish actually so I translate it )

"Bad or no genesis block found. Wrong data directory on network?"

How to proceed??
Vod
Legendary
*
Offline Offline

Activity: 4368
Merit: 3585


Licking my boob since 1970


View Profile WWW
November 04, 2014, 05:25:04 PM
 #2


I have the bitcoin program (0.9.2.1  Swedish version) on my C-drive and my data on a "QNAP" server running 2 mirror disks. The server is on my home IP network.
Unfortunately I had a disruption on the connection to the server.

When I start The program I get the following message (In Swedish actually so I translate it )

"Bad or no genesis block found. Wrong data directory on network?"

How to proceed??

Sounds to me like your program cannot find the block data.  Close the program, verify your network connection (can you browse files?) and restart.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
ingvar_e (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 2


View Profile
November 04, 2014, 05:56:46 PM
 #3

No problem with access to the data folder. It is there and a restart of computer and/or program does not help. Something got corrupted in the data directory.
cr1776
Legendary
*
Offline Offline

Activity: 4652
Merit: 1374


View Profile
November 04, 2014, 07:27:14 PM
 #4

No problem with access to the data folder. It is there and a restart of computer and/or program does not help. Something got corrupted in the data directory.

It isn't a question of "access to the data folder", but a question of whether bitcoin is pointed to the data folder.  Perhaps that is just a translation difference, but if bitcoin isn't pointed to the right place (e.g. datadir showing the correct path) you might see this message.  ;-)

If you are running the data on the QNAP, you would want to check and make sure that the datadir parameter is pointing there vs the standard Windows location.

Usually the data directory is as specified here:
https://en.bitcoin.it/wiki/Data_directory

But it would be different since you are storing the data directory on the NAS.

ingvar_e (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 2


View Profile
November 04, 2014, 08:06:44 PM
 #5

No problem with access to the data folder. It is there and a restart of computer and/or program does not help. Something got corrupted in the data directory.

It isn't a question of "access to the data folder", but a question of whether bitcoin is pointed to the data folder.  Perhaps that is just a translation difference, but if bitcoin isn't pointed to the right place (e.g. datadir showing the correct path) you might see this message.  ;-)

If you are running the data on the QNAP, you would want to check and make sure that the datadir parameter is pointing there vs the standard Windows location.

Usually the data directory is as specified here:
https://en.bitcoin.it/wiki/Data_directory

But it would be different since you are storing the data directory on the NAS.



Well. It was working fine until I had the network loss. Nothing has been changed  in the settings. Thats why I concluded that the problem was due to the fact that "contact" was temporarily lost to the data directory. some data in it got corrupted.

Taking another approach.  Installing a new version of the software on another another place. There was an update available anyway. Creating a new data folder too.  See if I can recover the wallet to this new installation.
cr1776
Legendary
*
Offline Offline

Activity: 4652
Merit: 1374


View Profile
November 04, 2014, 09:57:47 PM
 #6

No problem with access to the data folder. It is there and a restart of computer and/or program does not help. Something got corrupted in the data directory.

It isn't a question of "access to the data folder", but a question of whether bitcoin is pointed to the data folder.  Perhaps that is just a translation difference, but if bitcoin isn't pointed to the right place (e.g. datadir showing the correct path) you might see this message.  ;-)

If you are running the data on the QNAP, you would want to check and make sure that the datadir parameter is pointing there vs the standard Windows location.

Usually the data directory is as specified here:
https://en.bitcoin.it/wiki/Data_directory

But it would be different since you are storing the data directory on the NAS.



Well. It was working fine until I had the network loss. Nothing has been changed  in the settings. Thats why I concluded that the problem was due to the fact that "contact" was temporarily lost to the data directory. some data in it got corrupted.

Taking another approach.  Installing a new version of the software on another another place. There was an update available anyway. Creating a new data folder too.  See if I can recover the wallet to this new installation.

Do you run it like this or something similar?:
"C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe" -datadir=d:\BitCoinData

I'm just wondering if Bitcoin is looking in the wrong spot - before you go spending a lot of time resync-ing or something.   Perhaps just the parameter is incorrect.

:-)

ingvar_e (OP)
Jr. Member
*
Offline Offline

Activity: 32
Merit: 2


View Profile
November 08, 2014, 03:51:15 PM
 #7

Thanks all
End of story

The problem was caused by the disruption I had in the connection to the server. Some data got unreadable or was corrupted.
I made a new installation and also downloadede the data to synchronize. While shuffling data and deleting old data to make room I
accidently deleted the data folder on the server and lost my wallet. It just had some test money (47mBTC). No disaster.
Starting with a fresh installation and establishing backup procedures for the wallet.
Lesson learned (again!), establish security backup early  :-)

Since I alternate between Stockholm and Las Palmas I will keep the wallet (data) on the server
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!