# No connection to the database after installation.

**URL:** <https://forum.pritunl.com/t/no-connection-to-the-database-after-installation/2467>\
**Category:** Pritunl VPN\
**Created:** [October 8, 2024, 5:03pm UTC](https://forum.pritunl.com/t/no-connection-to-the-database-after-installation/2467 "2024-10-08T17:03:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![konde](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/k/85f322/32.png) [@konde](https://forum.pritunl.com/u/konde)\
**Post date:** [October 8, 2024, 5:03pm UTC](https://forum.pritunl.com/t/no-connection-to-the-database-after-installation/2467/1 "2024-10-08T17:03:17Z")

</div>

Good day. I installed it, everything went without errors. Then a window appears where I need to insert the key. I do it through the console, then insert it. After pressing the button, an error is written.

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [October 9, 2024, 9:03pm UTC](https://forum.pritunl.com/t/no-connection-to-the-database-after-installation/2467/2 "2024-10-09T21:03:03Z")

</div>

Check `/var/log/pritunl.log` for the error then run `sudo pritunl reconfigure` to restart the configuration. If the database is local verify the service is running with `sudo systemctl status mongod`.

---

<div class="post-metadata">

**Author:** ![konde](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/k/85f322/32.png) [@konde](https://forum.pritunl.com/u/konde)\
**Post date:** [October 13, 2024, 12:18pm UTC](https://forum.pritunl.com/t/no-connection-to-the-database-after-installation/2467/3 "2024-10-13T12:18:22Z")

</div>

Thank you, I’ll try it now
