<p>I have almost 100% confidence that you compiled your core without wallet. How did you compile it? Your environment has all required decencies? Did you use a custom config flag?</p>

CC BY-SA 4.0
2022-07-06T05:58:28.630Z
I didn't use a costum config flag but I forgot installing sqlite... Dunno how to reconfigure yet though
zerotobtc
CC BY-SA 4.0
2022-07-03T18:19:54.410Z
2022-07-03T18:19:54.410Z
Davidson Souza
<p>I have a headless virtual machine to try out some stuff in testnet. Strangely, I can not use the <code>createwallet</code> command. It gives me the error</p>
<pre><code>error code: -32601
error message:
Method not found
</code></pre>
<p>This is the case for all wallet-related commands. It cannot be because I'm missing Berkeley DB, can it? Because for newly created wallets I read it's not needed.</p>
<p>One additional point: I'm still syncing up with the testnet chain. But this shouldn't be an issue in my opinion.</p>
<p>Maybe I somehow did compile core without a wallet (but I don't know how to disable a wallet during installation)...</p>
<p>Help much appreciated!</p>

CC BY-SA 4.0
2022-07-03T16:12:33.487Z
Berkeley DB is only needed for legacy wallets (not the current wallet) but sqlite3 is needed. You have that installed?
Michael Folkson
CC BY-SA 4.0
2022-07-06T05:57:42.397Z
you're right, I didn't install berkeley DB. Can I fix this without having to setup a totally new node? If yes, how?
zerotobtc
<bitcoin-core><wallet><bitcoin-cli>
CLI command "createwallet" does not work on testnet VM
zerotobtc
# CLI command "createwallet" does not work on testnet VM

(Asked by: username_0 on 2022-07-03)

I have a headless virtual machine to try out some stuff in testnet. Strangely, I can not use the `createwallet` command. It gives me the error

```
error code: -32601
error message:
Method not found

```

This is the case for all wallet-related commands. It cannot be because I'm missing Berkeley DB, can it? Because for newly created wallets I read it's not needed.

One additional point: I'm still syncing up with the testnet chain. But this shouldn't be an issue in my opinion.

Maybe I somehow did compile core without a wallet (but I don't know how to disable a wallet during installation)...

Help much appreciated!

**Tags:** bitcoin-core, wallet, bitcoin-cli

> **Comments:**
> **username_1**: Berkeley DB is only needed for legacy wallets (not the current wallet) but sqlite3 is needed. You have that installed?  
> **username_0**: you're right, I didn't install berkeley DB. Can I fix this without having to setup a totally new node? If yes, how?  

---

## 1 answers

### Answer by username_2 on 2022-07-03. Score: 1

I have almost 100% confidence that you compiled your core without wallet. How did you compile it? Your environment has all required decencies? Did you use a custom config flag?

> **Comments:**
> **username_0**: I didn't use a costum config flag but I forgot installing sqlite... Dunno how to reconfigure yet though  

---

