Bitcoin Forum
May 06, 2024, 06:17:21 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: encrypted wallet.dat in windows, error message in linux  (Read 695 times)
Altoidnerd (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 251


http://altoidnerd.com


View Profile WWW
February 07, 2014, 11:02:20 PM
 #1

Want to use my wallet.dat in ubuntu which was encrypted using the windows QT

I renamed the default wallet in my ubuntu box

Code:
mv wallet.dat wallet.default

Then I copied the desired (windows encrypted) wallet.dat file over to my ubuntu desktop and just moved it into the directory ./bitcoin

Code:
sudo cp wallet.dat /home/altoidnerd/.bitcoin

now sure enough, the wallet.dat file (which was encrypted in windows) is there in the ./bitcoin directory

Code:
altoidnerd@altoidnerd-HP-EliteBook-8570w:~/.bitcoin$ ls -la
total 4304
drwxrwxr-x  4 altoidnerd altoidnerd    4096 Feb  7 17:49 .
drwxr-xr-x 33 altoidnerd altoidnerd    4096 Feb  6 18:31 ..
-rw-rw-r--  1 altoidnerd altoidnerd      77 Feb  3 01:37 bitcoin.conf
drwx------  3 altoidnerd altoidnerd   12288 Feb  3 17:35 blocks
drwx------  2 altoidnerd altoidnerd   12288 Feb  7 17:43 chainstate
-rw-------  1 altoidnerd altoidnerd       0 Feb  2 23:15 db.log
-rw-------  1 altoidnerd altoidnerd  464548 Feb  7 17:43 debug.log
-rw-------  1 altoidnerd altoidnerd       0 Feb  2 23:15 .lock
-rw-------  1 altoidnerd altoidnerd  999338 Feb  7 17:43 peers.dat
-rw-r--r--  1 root       root       2826240 Feb  7 17:49 wallet.dat
-rw-------  1 altoidnerd altoidnerd   73728 Feb  7 17:43 wallet.default


But it won't recognize it; when I start qt I get

Code:
A fatal error occurred. Bitcoin can no longer continue safely and will quit.

EXCEPTION: St13runtime_error      
CDB() : can't open database file wallet.dat, error 13      
bitcoin in Runaway exception  
   

The root priv. looks suspicious, but this is where my linux confidence ends.

Do you even mine?
http://altoidnerd.com 
12gKRdrz7yy7erg5apUvSRGemypTUvBRuJ
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715019441
Hero Member
*
Offline Offline

Posts: 1715019441

View Profile Personal Message (Offline)

Ignore
1715019441
Reply with quote  #2

1715019441
Report to moderator
1715019441
Hero Member
*
Offline Offline

Posts: 1715019441

View Profile Personal Message (Offline)

Ignore
1715019441
Reply with quote  #2

1715019441
Report to moderator
Foxpup
Legendary
*
Offline Offline

Activity: 4354
Merit: 3042


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
February 09, 2014, 02:21:07 AM
 #2

The root priv. looks suspicious, but this is where my linux confidence ends.
It's not suspicious at all. For reasons which are currently inscrutable, but no doubt made sense at the time, you deliberately copied the file as root:
Code:
sudo cp wallet.dat /home/altoidnerd/.bitcoin

Too bad Bitcoin needs write access to the file, and can't get it since it's not running as root. To correct the file ownership, run:
Code:
sudo chown altoidnerd:altoidnerd /home/altoidnerd/.bitcoin/wallet.dat

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
Altoidnerd (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 251


http://altoidnerd.com


View Profile WWW
February 09, 2014, 07:04:15 PM
 #3

Alright thanks! Yeah I have no idea why I copied it as root.  I just redid the process without sudo and it was fine.  

Do you even mine?
http://altoidnerd.com 
12gKRdrz7yy7erg5apUvSRGemypTUvBRuJ
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!