# 4. Troubleshooting

If you encounter issues while running the Operator:

1. Verify the database and Redis are running:

```
sudo docker ps | grep postgres
sudo docker ps | grep redis
```

2. Check the `.env` file to make sure environment variables are set correctly.
3. Make sure the operator binary has **execute permissions**:

```
chmod +x fiamma-operator
```

4. Review the logs for detailed error messages:

```
tail -f .logs/bitvm-operator/bitvm-operator.$(date +%Y-%m-%d).log
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fiammalabs.io/our-product-suite/pragmatically-trustless-bitvm-bitcoin-bridge/user-guides/mainnet/fiamma-operator/3.-maintenance/4.-troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
