vcash icon indicating copy to clipboard operation
vcash copied to clipboard

Sudden system shutdown and wallet stopped working.

Open JafferWilson opened this issue 7 years ago • 6 comments

Please have a look at the output I got while running the wallet again. My system is Ubuntu 16.04

PC@PC:~/vcash$ ./vcashd 
[INFO] - create_directories: Stack creating path = /home/PC/.Vcash/data/.
[INFO] - create_directories: Stack creating path = /home/PC/.Vcash/data/blockchain/.
[INFO] - create_directories: Stack creating path = /home/PC/.Vcash/data/blockchain/peer/.
[INFO] - backup_last_wallet_file: Stack doesn't need to backup wallet file, too soon.
[INFO] - load: Configuration is loading from disk.
[INFO] - start: Stack loaded configuration from disk.
[INFO] - open: Database environment log path = /home/PC/.Vcash/data/database.
[INFO] - open: Database environment cache size = 25.
[INFO] - start: Stack is loading block index...
[INFO] - load_block_index_guts: Database transaction got genesis block.
[INFO] - load_block_index: DB TX synchronized checkpoint 15e96604fbcf7cd7e93d072a06f07ccfe1f8fd0099270a075c761c447403a783.
[INFO] - load_block_index: DB TX is verifying 1500 blocks at level << 1.
terminate called after throwing an instance of 'std::runtime_error'
  what():  read (file) failed
Aborted (core dumped)

JafferWilson avatar Jan 30 '18 05:01 JafferWilson

Like it says, it couldn't read the file. Are your permissions on the ~/.Vcash dir (or its contents) set to not allow read/write?

sum01 avatar Jan 30 '18 06:01 sum01

@sum01 Is that the only issue? I thought my wallet got corrupted. Let me check it again if t works then I will let you know.

JafferWilson avatar Jan 30 '18 07:01 JafferWilson

@sum01 I tried giving permissions to all the files in the folder. It doesn't work. Please can suggest something other.

JafferWilson avatar Jan 30 '18 09:01 JafferWilson

Hmm. I would try moving your entire ~/.Vcash folder somewhere safe, then starting the daemon to see what happens.

sum01 avatar Jan 30 '18 17:01 sum01

@sum01 If I move it somewhere else or delete the folder, the program creates new ~/.Vcash folder and start all over again. Time consuming and deceitful.

JafferWilson avatar Jan 31 '18 04:01 JafferWilson

I wasn't trying to be decietful, I was just curious as to what happens when it tries to create an entirely new folder.

sum01 avatar Feb 01 '18 17:02 sum01