I haven't used my wallet in a year in a half and wanted to check on some bitcoin I purchased in there. When I opened the bitcoin core wallet, it told me I had to upgrade it and I did. It must have been downloading the ledger and while it did so I probably put the computer to sleep. When it came back on I kept getting this "fatal error". I would try to redownload it and it would download, but at one point it would stop and give me the error. I have a back up of my wallet just in case.
Here is the debug log information:
2017-01-03 16:11:45 UpdateTip: new best=000000000000000002288f9e93864cff2a48eacfc691eb72b25d5cd555d64a9b height=377128 version=0x00000003 log2_work=83.421778 tx=86232885 date='2015-10-02 14:01:23' progress=0.674183 cache=272.1MiB(162856tx)
2017-01-03 16:11:48 Corruption: block checksum mismatch
2017-01-03 16:11:48 *** System error while flushing: Database corrupted
2017-01-03 16:11:51 Failed to connect best blocktor: Thread interrupt
2017-01-03 16:11:51 torcontrol thread exit
2017-01-03 16:11:51 scheduler thread interrupt
2017-01-03 16:11:51 addcon thread interrupt
2017-01-03 16:11:51 opencon thread interrupt
2017-01-03 16:11:51 msghand thread interrupt
2017-01-03 16:11:51 net thread interrupt
2017-01-03 16:11:51 Shutdown: In progress...
2017-01-03 16:11:51 StopNode()
2017-01-03 16:11:51 UPNP_DeletePortMapping() returned: 0
2017-01-03 16:11:51 upnp thread interrupt
2017-01-03 16:11:52 Corruption: block checksum mismatch
2017-01-03 16:11:52 *** System error while flushing: Database corrupted
2017-01-03 16:11:54 Shutdown: done
Any clue what I can do?
Could be faulty RAM or faulty hard drive. If you don't already have a backup of your wallet.dat file, do it now.