# Troubleshooting ## General Tips - Check the BigchainDB, Tendermint and MongoDB logs. For help with that, see the page about [Logging and Log Rotation](../appendices/log-rotation). - Try Googling the error message. ## Tendermint Tips * [Configure Tendermint to create no empty blocks](https://tendermint.com/docs/tendermint-core/using-tendermint.html#no-empty-blocks). * Store the Tendermint data on a fast drive. You can do that by changing [the location of TMHOME](https://tendermint.com/docs/tendermint-core/using-tendermint.html#directory-root) to be on the fast drive. See the [Tendermint tips in the vrde/notes repository](https://github.com/vrde/notes/tree/master/tendermint). ## Resolving Tendermint Connectivity Problems To check which nodes your node is connected to (via Tendermint protocols), do: ```text # if you don't have jq installed, then install it sudo apt install jq # then do curl -s localhost:26657/net_info | jq ".result.peers[].node_info | {id, listen_addr, moniker}" ``` Note: Tendermint has other endpoints besides `/net_info`: see [the Tendermint RPC docs](https://tendermint.github.io/slate/?shell#introduction). If you're running your network inside a [private network](https://en.wikipedia.org/wiki/Private_network), e.g. with IP addresses of the form 192.168.x.y, then you may have to change the following setting in `config.toml`: ```text addr_book_strict = false ``` ## Refreshing Your Node If you want to refresh your node back to a fresh empty state, then your best bet is to terminate it and deploy a new machine, but if that's not an option, then you can: * drop the `bigchain` database in MongoDB using `bigchaindb drop` (but that only works if MongoDB is running) * reset Tendermint using `tendermint unsafe_reset_all` * delete the directory `$HOME/.tendermint` ## Shutting Down BigchainDB If you want to stop/kill BigchainDB, you can do so by sending `SIGINT`, `SIGQUIT` or `SIGTERM` to the running BigchainDB process(es). Depending on how you started BigchainDB i.e. foreground or background. e.g. you started BigchainDB in the background as mentioned above in the guide: ```bash $ nohup bigchaindb start 2>&1 > bigchaindb.log & $ # Check the PID of the main BigchainDB process $ ps -ef | grep bigchaindb *