<p>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.</p>

CC BY-SA 3.0
2014-03-09T15:11:45.117Z
2014-03-09T15:11:45.117Z
hafnero
<p>I got the following error </p>

<pre><code>Error initializing database environment /home/rune/.bitcoin!  
To recover, BACKUP THAT DIRECTORY, then remove everything from it except for wallet.dat.  
</code></pre>

<p>when I run bitcoin-qt..<br>
I am using Ubuntu.  </p>

CC BY-SA 3.0
2013-02-24T07:42:52.800Z
Is this the first time (i.e. with an empty wallet) or were you using it and then now get this error?
Stephen Gornick
CC BY-SA 3.0
2013-02-25T15:58:11.883Z
Could you post the contents of `debug.log` when starting with the `-debug` command line option?
cdecker
<bitcoin-core><error>
how to solve this error ? and use detachdb?
ben
# how to solve this error ? and use detachdb?

(Asked by: username_0 on 2013-02-24)

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.

**Tags:** bitcoin-core, error

> **Comments:**
> **username_1**: Is this the first time (i.e. with an empty wallet) or were you using it and then now get this error?  
> **username_2**: Could you post the contents of `debug.log` when starting with the `-debug` command line option?  

---

## 1 answers

### Answer by username_3 on 2014-03-09. Score: 1

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.


---

