I got the following error
Error initializing database environment /home/rune/.bitcoin! To recover, BACKUP THAT DIRECTORY, then remove everything from it except for wallet.dat.
when I run bitcoin-qt..
I am using Ubuntu.
back up all the files in .bitcoin. then delete them all restart the wallet see if it errors. If it does, re-download / re-install the client otherwise corupt configs.