Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Caarly on September 21, 2014, 03:19:05 PM



Title: problems with bitcoin-qt on mac os x
Post by: Caarly on September 21, 2014, 03:19:05 PM
Hi,

I have a problem with my bitcoin-qt on a mac os x.
I sent money to a bitcoin address in bitcoin-qt.
But everytime it crashes after 5-6 days of syncronisation.

And the second problem is I can't find my wallet file (*.wallet).
My wallet is encrypted. And I do not know how to get it decrypted, because this function is deactivated.

Further I have opened online a blockchain account. How can I transfer the money from the 1Czh.... bitcoin address to my blockchain account (online wallet)?  ???

Please help me!

thanks and
bests
Caarly


Title: Re: problems with bitcoin-qt on mac os x
Post by: shorena on September 21, 2014, 05:16:26 PM
The name of the wallet file is wallet.dat search bitcoin data dir for the path on MacOS.
In the same dir (or a subdir) should be a log file, what does it say about the crash? Does it crash with a msg? If so which?
You cant should not send if your wallet is not fully synced.


Title: Re: problems with bitcoin-qt on mac os x
Post by: Dare on September 21, 2014, 08:39:33 PM
Your wallet file (which is named "wallet.dat") should be located in "~/Library/Application Support/Bitcoin/". Blockchain.info has an import function where you can upload your old wallet, but if you post the relevant section of your debug.log file (the bit right around a crash) we may be able to help fix the issue. Also, have you tried using the bootstrap torrent instead of syncing via the network? It should be considerably faster, and it might fix your issue.


Title: Re: problems with bitcoin-qt on mac os x
Post by: Caarly on September 21, 2014, 09:46:55 PM
Hi,

The debug.log file is 6,2 MB big.
Here are the last part of this file. Hope, you can help me.
...
stored orphan tx dba360a521 (mapsz 4905)
trying connection 84.28.192.120:8333 lastseen=14.8hrs
connect() failed after select(): Connection refused
stored orphan tx 3330e8499f (mapsz 4906)
stored orphan tx 97a3abe633 (mapsz 4907)
stored orphan tx 9269a2ee80 (mapsz 4908)
trying connection 80.109.237.92:8333 lastseen=13.5hrs
stored orphan tx 0a604b54d4 (mapsz 4909)
stored orphan tx 0042f7a817 (mapsz 4910)
stored orphan tx 26214bb907 (mapsz 4911)
connection timeout
trying connection 111.172.153.177:8333 lastseen=6.9hrs
stored orphan tx 22ad32b900 (mapsz 4912)
stored orphan tx e1a94cafd6 (mapsz 4913)
stored orphan tx 4a78ba951d (mapsz 4914)
stored orphan tx 8cf995eeba (mapsz 4915)
stored orphan tx 957a992428 (mapsz 4916)
connection timeout
stored orphan tx 7c869107af (mapsz 4917)
trying connection 98.176.220.106:8333 lastseen=12.3hrs
stored orphan tx 5655237dcb (mapsz 4918)
stored orphan tx 72d5031c26 (mapsz 4919)
stored orphan tx aab59430ab (mapsz 4920)
stored orphan tx 997da6ef53 (mapsz 4921)
stored orphan tx 1549adbbc5 (mapsz 4922)
stored orphan tx 599a413309 (mapsz 4923)
connection timeout
trying connection 90.156.90.6:8333 lastseen=12.3hrs
stored orphan tx 797b2db0ce (mapsz 4924)
stored orphan tx 9ce519b9f0 (mapsz 4925)
stored orphan tx bc4ac58708 (mapsz 4926)
stored orphan tx e9d4d2f247 (mapsz 4927)
stored orphan tx caca12352c (mapsz 4928)
Flush(false)
ThreadSocketHandler exited
DBFlush(false) ended              11ms
StopNode()
ThreadMessageHandler exited
UPNP_DeletePortMapping() returned : 403
ThreadMapPort exited
Flushed 14948 addresses to peers.dat  35ms
Committing 0 changed transactions to coin database...
Flush(true)
DBFlush(true) ended               0ms
Bitcoin exited



What do you mean with the bootstrap torrent? How can I use it?

Thanks in advance!


Title: Re: problems with bitcoin-qt on mac os x
Post by: cr1776 on September 22, 2014, 12:08:16 AM
...
What do you mean with the bootstrap torrent? How can I use it?
...

bootstrap.dat is just a download that gets you pretty far along in the sync. 

By the way, make sure that you have "app nap" turned OFF for bitcoin on Mac OS X.  In the Finder use "Get Info" and make sure that "Prevent App Nap" is checked.


Anyway, a location for the torrent is here:
https://bitcoin.org/en/download

Some discussion here:
https://bitcointalk.org/index.php?topic=447749.0

and here:

http://bitcoin.stackexchange.com/questions/20847/how-to-use-the-bootstrap-dat-in-mavericks


The wallet directory/data directory is here:
"/Users/<your-user-name>/Library/Application Support/Bitcoin"
which is the same as:
"~/Library/Application Support/Bitcoin/"

You can put the torrent in there.  You should ALSO make a backup of your wallet if you don't already have several.  Just to be safe when screwing around in there.


Hopefully that helps a bit.


Title: Re: problems with bitcoin-qt on mac os x
Post by: Dare on September 23, 2014, 12:59:36 AM
Hi,

The debug.log file is 6,2 MB big.
Here are the last part of this file. Hope, you can help me.

<snip>

What do you mean with the bootstrap torrent? How can I use it?

Thanks in advance!


Aside from the orphaned transactions (which may be due to the blockchain still syncing), Bitcoin-Qt appears to be shutting down normally. I don't use OSX, but I've heard of "App Nap" causing problems a few times before, so that would be my first suspect.

The bootstrap.dat torrent (https://bitcoin.org/bin/blockchain/bootstrap.dat.torrent) is a faster way of downloading the blockchain; instead of downloading it all from the Bitcoin network, you can download it more quickly through BitTorrent, then  close Bitcoin-Qt, place the file in your datadir ("~/Library/Application Support/Bitcoin/"), and reopen Bitcoin-Qt. The file will then be used instead of the network, which is considerably faster, though it still takes a while for the blockchain to be is verified and indexed. After it's done (the last few weeks of the download will probably be over the network, as the torrent isn't continuously updated) you can delete the bootstrap.dat file to save space.


Title: Re: problems with bitcoin-qt on mac os x
Post by: MangoJ on September 23, 2014, 07:44:26 PM
If your wallet was empty, you can just delete it and start over.
Your bitcoin block chain files appear to be corrupted.
You must save a backup of your wallet, delete everything and start over with a clean download.


Title: Re: problems with bitcoin-qt on mac os x
Post by: Caarly on September 27, 2014, 12:37:45 PM
Hi,

so, first I have downloaded the bootstrap.dat file and copied in "/Users/<your-user-name>/Library/Application Support/Bitcoin".
Second I deactivate the app nap in Mac OS Maverick.
Third I start the bitcoin application.

Should it not work faster with this file now? I mean the synchronisation.

Thanks


Title: Re: problems with bitcoin-qt on mac os x
Post by: Caarly on September 28, 2014, 08:32:31 AM
Hi,

please help me. After 12 hours of synchronisation I get a crash.

"System error: Database corrupted"

What should I do now? I have enough space on my MAC.

Thanks a lot!

bests


Title: Re: problems with bitcoin-qt on mac os x
Post by: MangoJ on September 28, 2014, 08:43:51 PM
Hi,

please help me. After 12 hours of synchronisation I get a crash.

"System error: Database corrupted"

What should I do now? I have enough space on my MAC.

Thanks a lot!

bests

Still having trouble?
Did you delete your old block chain data and every file other than your wallet, and redownload the block chain?


Title: Re: problems with bitcoin-qt on mac os x
Post by: Caarly on October 05, 2014, 08:00:28 PM
Hi,

so after 5 days of syncing I got a crash.

First error message:
Failed to write undo data

Second error message:
Ein schwerer Fehler ist  aufgetreten. Bitcoin
kann nicht stabil weiter ausgeführt werden
und wird beendet.

EXCEPTION: 13leveldb_error
Database I/O error
bitcoin in Runaway exception


The note tells me:
The last received block was generated for 260 days.

And then it crashed.

My harddisk has enough space (60 GB).


Please help me.
Best regards


Title: Re: problems with bitcoin-qt on mac os x
Post by: cr1776 on October 06, 2014, 12:54:13 AM
Couple of questions:
1. What version of bitcoin are you running? If it is qt, it may be old.
2. How much memory do you have? ( vs disk space)
3. Have you tried running Disk Utility to check your drive? (Make sure you have a backup).
4. What version of OS X are you running?

Good luck


Hi,

so after 5 days of syncing I got a crash.

First error message:
Failed to write undo data

Second error message:
Ein schwerer Fehler ist  aufgetreten. Bitcoin
kann nicht stabil weiter ausgeführt werden
und wird beendet.

EXCEPTION: 13leveldb_error
Database I/O error
bitcoin in Runaway exception


The note tells me:
The last received block was generated for 260 days.

And then it crashed.

My harddisk has enough space (60 GB).


Please help me.
Best regards



Title: Re: problems with bitcoin-qt on mac os x
Post by: Caarly on October 06, 2014, 01:24:38 PM
Hi,

here are my answers:
1.   QT: Version 4.8.4 – If it’s old what should I do now?
2.   8 GB RAM vs. HDD (25,33 GB free)
3.   No check with a Disk Utility before. Should I do make a Backup first? (Time-Backup?)
Can you prefer a freeware Disk Utility?
4.   OS X version: 10.9.5

Thanx


Title: Re: problems with bitcoin-qt on mac os x
Post by: cr1776 on October 06, 2014, 03:17:09 PM
Hi,
1. I guess I wasn't clear, sorry, if you are running 'Bitcoin Qt' then you are running an old version of bitcoin.  The current version isn't called 'Bitcoin Qt' anymore, but Bitcoin Core.  Are you running 0.9.3?

2. It sounds like you have enough RAM.  I might worry about the amount of disk space remaining given the size of the blockchain and Mac OS X usage etc.  If you run low on disk space, that can cause problems.  I recall OS X needing at least 10 GB of free space (as of a few years ago) to avoid issues.  So, you might think about freeing some space if you intend on running a full node.  Or putting the blockchain on an external drive.  The block chain is around 23GB so if you download it all (and don't have most downloaded already), you'll be running very low on space.

3. I would always make sure I had a backup of my disk and wallet whenever doing any repairs.  Preferably more than one backup if you have important things on it.  Disk Utility is in /Applications/Utilities/ and it is free from Apple.  It can check your disk and repair it - permissions and file structure.  :-)  Time Machine is a good option so you always have a backup available.  This might not be your problem, but it could be.

4. Good it is the current version and not something like 10.1. 



Hi,

here are my answers:
1.   QT: Version 4.8.4 – If it’s old what should I do now?
2.   8 GB RAM vs. HDD (25,33 GB free)
3.   No check with a Disk Utility before. Should I do make a Backup first? (Time-Backup?)
Can you prefer a freeware Disk Utility?
4.   OS X version: 10.9.5

Thanx


Title: Re: problems with bitcoin-qt on mac os x
Post by: Caarly on October 08, 2014, 08:02:55 AM
Hi,

Here are my answers:
1.) Bitcoin-Version v0.8.1-beta
Dieses Programm verwendet Qt Version 4.8.4.
This is the info which I get from the bitcoin software.

What should I do now? I have not Bitcoin Core with version 0.9.3.

Should I download this software and transfer (with copy and paste) it in the program folder and start the sync again?

2.) Is 30 GB less now on my mac?
I have 30 GB free now.

3.) I did a check with disk utility: Here is the result

Volume „Macintosh HD“ überprüfenDateisystem prüfenLive-Verifizierung durchführen.HFS+ Volume (Journaled) überprüfen.Zusatzdatei für Dateiaufbau wird überprüft.Kataloghierarchie wird überprüft.Datei für erweiterte Attribute wird überprüft.Falsche Anzahl an erweiterten Attributen(„432818“ sollte anstelle von „432814“ stehen)Volume-Bitmap wird überprüft.Volume-Bitmap muss aufgrund verwaister Blöcke geringfügig repariert werdenUngültige Anzahl freier Blöcke(„12978214“ sollte anstelle von „7446972“ stehen)Das Volume „Macintosh HD“ ist beschädigt und muss repariert werden.Fehler: Dieses Volume muss unter Verwendung der Wiederherstellungspartition (Recovery HD) repariert werden. Starten Sie den Computer neu und halten Sie die Befehlstaste und die Taste „R“ gedrückt, bis das Apple-Logo angezeigt wird. Wählen Sie im Fenster „OS X Dienstprogramme“ die Option „Festplattendienstprogramm“.

So, I think I have a problem. - So, is this a normal or a serios problem?

Go by restoring lost data? Will my MAC system look different after the restore?


Is it a problem if my wallet is encrypted and locked?


Thanks and

best regards


Title: Re: problems with bitcoin-qt on mac os x
Post by: shorena on October 08, 2014, 01:49:04 PM
Hi,

Here are my answers:
1.) Bitcoin-Version v0.8.1-beta
Dieses Programm verwendet Qt Version 4.8.4.
This is the info which I get from the bitcoin software.

What should I do now? I have not Bitcoin Core with version 0.9.3.

Should I download this software and transfer (with copy and paste) it in the program folder and start the sync again?

You dont have to sync again you can just install it "over" the existing files.

-snip-
3.) I did a check with disk utility: Here is the result

Volume „Macintosh HD“ überprüfenDateisystem prüfenLive-Verifizierung durchführen.HFS+ Volume (Journaled) überprüfen.Zusatzdatei für Dateiaufbau wird überprüft.Kataloghierarchie wird überprüft.Datei für erweiterte Attribute wird überprüft.Falsche Anzahl an erweiterten Attributen(„432818“ sollte anstelle von „432814“ stehen)Volume-Bitmap wird überprüft.Volume-Bitmap muss aufgrund verwaister Blöcke geringfügig repariert werdenUngültige Anzahl freier Blöcke(„12978214“ sollte anstelle von „7446972“ stehen)Das Volume „Macintosh HD“ ist beschädigt und muss repariert werden.Fehler: Dieses Volume muss unter Verwendung der Wiederherstellungspartition (Recovery HD) repariert werden. Starten Sie den Computer neu und halten Sie die Befehlstaste und die Taste „R“ gedrückt, bis das Apple-Logo angezeigt wird. Wählen Sie im Fenster „OS X Dienstprogramme“ die Option „Festplattendienstprogramm“.

So, I think I have a problem. - So, is this a normal or a serios problem?

Go by restoring lost data? Will my MAC system look different after the restore?

If you restore lost data make sure you backup your wallet.dat first. Your HDD seems to have problems.

See here https://en.bitcoin.it/wiki/Data_directory#Mac

You can also start the bitcoin client and use the option the backup the wallet. It will ask you where to store the file. Choose something you will find again and control (e.g. USB Stick)

Is it a problem if my wallet is encrypted and locked?


Thanks and

best regards


No, thats actually a good thing.


Title: Re: problems with bitcoin-qt on mac os x
Post by: cr1776 on October 09, 2014, 12:00:10 AM
...If you restore lost data make sure you backup your wallet.dat first. Your HDD seems to have problems.
...

shorena made all the points I'd have made - just want to emphasize what he says above.  Backup the wallet.dat file in several places.  And make sure that you can unlock it there before you do anything.  It is better to be safe.

(Of course if you have 0.00001 BTC in there, it probably doesn't matter).


Title: Re: problems with bitcoin-qt on mac os x
Post by: Caarly on October 09, 2014, 07:47:07 PM
Hi,

you give me good tips. Thank you!
I will test it soon, but now I have another question:

Is it possible to start the sync with an another bitcoin program, like multibit, under windows 7?
I store before syncing my wallet from the mac os in the multibit file folder. And I store the bootstrap-file (23 GB) which I downloaded with torrent software.

Is this example possible?

thanks and

best regards


Title: Re: problems with bitcoin-qt on mac os x
Post by: Newar on October 09, 2014, 07:59:19 PM
Hi,

you give me good tips. Thank you!
I will test it soon, but now I have another question:

Is it possible to start the sync with an another bitcoin program, like multibit, under windows 7?
I store before syncing my wallet from the mac os in the multibit file folder. And I store the bootstrap-file (23 GB) which I downloaded with torrent software.

Is this example possible?

thanks and

best regards

No, Multibit is not a full client and does not need the blockchain available locally.


Title: Re: problems with bitcoin-qt on mac os x
Post by: Caarly on October 10, 2014, 09:10:12 AM
Hi,

Can You perfer a Win Full Client which does works?

Bests


Title: Re: problems with bitcoin-qt on mac os x
Post by: Newar on October 10, 2014, 09:55:55 AM
Bitcoin Core is the only full client for Windows I believe, at least with a GUI, but get a more recent one than v0.8.1-beta. Why do you use such an outdated one? There have been several major bug fixes since then and the protocol got bumped ahead too.


Title: Re: problems with bitcoin-qt on mac os x
Post by: shorena on October 10, 2014, 09:59:36 AM
Bitcoin Core is the only full client for Windows I believe, at least with a GUI, but get a more recent one than v0.8.1-beta. Why do you use such an outdated one? There have been several major bug fixes since then and the protocol got bumped ahead too.

Well there is armory, but its build on top of bitcoind, so it kinda is the same.



Title: Re: problems with bitcoin-qt on mac os x
Post by: Newar on October 10, 2014, 10:14:47 AM
Bitcoin Core is the only full client for Windows I believe, at least with a GUI, but get a more recent one than v0.8.1-beta. Why do you use such an outdated one? There have been several major bug fixes since then and the protocol got bumped ahead too.

Well there is armory, but its build on top of bitcoind, so it kinda is the same.

True, the advantage of Armory in relation to this OP's particular case is that it nudges you to get a more updated version, as they become available.