Bitcoin Forum
November 19, 2017, 05:28:31 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: encrypted wallet.dat in windows, error message in linux  (Read 592 times)
Altoidnerd
Sr. Member
****
Offline Offline

Activity: 406


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
1511069311
Hero Member
*
Offline Offline

Posts: 1511069311

View Profile Personal Message (Offline)

Ignore
1511069311
Reply with quote  #2

1511069311
Report to moderator
1511069311
Hero Member
*
Offline Offline

Posts: 1511069311

View Profile Personal Message (Offline)

Ignore
1511069311
Reply with quote  #2

1511069311
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511069311
Hero Member
*
Offline Offline

Posts: 1511069311

View Profile Personal Message (Offline)

Ignore
1511069311
Reply with quote  #2

1511069311
Report to moderator
1511069311
Hero Member
*
Offline Offline

Posts: 1511069311

View Profile Personal Message (Offline)

Ignore
1511069311
Reply with quote  #2

1511069311
Report to moderator
Foxpup
Legendary
*
Offline Offline

Activity: 2016



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 unverifiable things (while actually eating an enchilada-style burrito) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
Altoidnerd
Sr. Member
****
Offline Offline

Activity: 406


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!