# Printunl installation crash

**URL:** <https://forum.pritunl.com/t/printunl-installation-crash/3235>\
**Category:** Pritunl VPN\
**Created:** [April 13, 2025, 9:33pm UTC](https://forum.pritunl.com/t/printunl-installation-crash/3235 "2025-04-13T21:33:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![realchampion](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/r/c67d28/32.png) [@realchampion](https://forum.pritunl.com/u/realchampion)\
**Post date:** [April 13, 2025, 9:33pm UTC](https://forum.pritunl.com/t/printunl-installation-crash/3235/1 "2025-04-13T21:33:40Z")

</div>

Hi,

Im trying to install Printunl on Ubuntu, to run it simultaneously to Apache. I manage to install it to [vpn.mydomain.de](http://vpn.mydomain.de) and i see the installation screen. I insert my setup key and leave the other setting on default because I have no idea what that is and how i find out what goes in there and press on save. then i see for one second a updating database… message, but then I just see the Apache Service Unavailable screen. All of the services appear to be running, but I cant figure out what went wrong. Thanks in advance

---

<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:** [April 14, 2025, 12:13am UTC](https://forum.pritunl.com/t/printunl-installation-crash/3235/2 "2025-04-14T00:13:37Z")

</div>

This is likely another service interfering with the Pritunl web server. The Pritunl web server doesn’t use Apache. Check `/var/logs/pritunl.log` for errors.

---

<div class="post-metadata">

**Author:** ![realchampion](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/r/c67d28/32.png) [@realchampion](https://forum.pritunl.com/u/realchampion)\
**Post date:** [April 14, 2025, 8:16am UTC](https://forum.pritunl.com/t/printunl-installation-crash/3235/3 "2025-04-14T08:16:04Z")

</div>

Yes but I want to use both Apache and Printunl. I use a different Port for Printunl and I can access the web interface, I just receive a crash after clicking save. This is my log file:

```auto
[local][2025-04-13 21:16:29,582][INFO] Starting setup server
[local][2025-04-13 21:16:29,584][INFO] Generating setup server ssl cert
[local][2025-04-13 21:16:30,369][ERROR] Setup web server process exited unexpectedly
[local][2025-04-13 21:16:30,370][INFO] Stopping server
[local][2025-04-13 21:17:18,561][INFO] Starting setup server
[patient-plains-7348][2025-04-13 21:20:32,845][INFO] Starting server
  selinux_context = "none"
  ssl_version = "OpenSSL 3.0.13 30 Jan 2024"
[patient-plains-7348][2025-04-13 21:20:32,849][INFO] Generating server certificate...
[patient-plains-7348][2025-04-13 21:20:34,499][ERROR] Web server process exited unexpectedly
[patient-plains-7348][2025-04-13 21:20:36,875][INFO] Server restarting...
[patient-plains-7348][2025-04-13 21:20:36,885][INFO] Starting server
  selinux_context = "none"
  ssl_version = "OpenSSL 3.0.13 30 Jan 2024"
[patient-plains-7348][2025-04-13 21:20:37,644][ERROR] Web server process exited unexpectedly

```

The log continues by trying to start the server and then crashing with the `Web server process exited unexpectedly` message.

---

<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:** [April 14, 2025, 2:09pm UTC](https://forum.pritunl.com/t/printunl-installation-crash/3235/4 "2025-04-14T14:09:46Z")

</div>

Run `sudo pritunl set-mongodb mongodb://localhost:27017/pritunl` then `sudo systemctl restart pritunl` to configure the server without the web setup.

After a few seconds run the commands below to change the web server port and disable the HTTP to HTTPS redirect server on port 80.

```auto
sudo pritunl set app.redirect_server false
sudo pritunl set app.server_port 8443
sudo systemctl restart pritunl

```
