# Can't start Pritunl service - \[ERROR\] Setup web server process exited unexpectedly

**URL:** <https://forum.pritunl.com/t/cant-start-pritunl-service-error-setup-web-server-process-exited-unexpectedly/1481>\
**Category:** Pritunl VPN\
**Created:** [October 19, 2023, 7:48am UTC](https://forum.pritunl.com/t/cant-start-pritunl-service-error-setup-web-server-process-exited-unexpectedly/1481 "2023-10-19T07:48:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venkatsanthosh](https://forum.pritunl.com/user_avatar/forum.pritunl.com/venkatsanthosh/32/622_2.png) [@Venkatsanthosh](https://forum.pritunl.com/u/Venkatsanthosh)\
**Post date:** [October 19, 2023, 7:48am UTC](https://forum.pritunl.com/t/cant-start-pritunl-service-error-setup-web-server-process-exited-unexpectedly/1481/1 "2023-10-19T07:48:29Z")

</div>

Im using ubuntu 20.04 during installation service is not starting up but mongod is running fine. I am new one to this , someone kindly assist me on this

Below are the logs from pritunl.log

[local][2023-10-19 07:23:32,264][INFO] Starting setup server  
[local][2023-10-19 07:23:32,269][INFO] Generating setup server ssl cert  
[local][2023-10-19 07:23:33,061][ERROR] Setup web server process exited unexpectedly  
[local][2023-10-19 07:23:33,069][INFO] Stopping server

---

<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 19, 2023, 5:50pm UTC](https://forum.pritunl.com/t/cant-start-pritunl-service-error-setup-web-server-process-exited-unexpectedly/1481/2 "2023-10-19T17:50:07Z")

</div>

Run `sudo netstat -tulpn` and verify nothing is using port 80 or 443.

---

<div class="post-metadata">

**Author:** ![IxsharpxI](https://forum.pritunl.com/user_avatar/forum.pritunl.com/ixsharpxi/32/562_2.png) [@IxsharpxI](https://forum.pritunl.com/u/IxsharpxI)\
**Post date:** [February 19, 2024, 3:06pm UTC](https://forum.pritunl.com/t/cant-start-pritunl-service-error-setup-web-server-process-exited-unexpectedly/1481/3 "2024-02-19T15:06:55Z")

</div>

I actually have this same issue. However, i can verify that 80/443 are supposedly used by pritunl.

updating, restarting service, and rebooting PC do not fix

 ![image](https://forum-static.pritunl.com/original/1X/75014ea9a622bcb07e09166fffb6b1c93a94a3e5.png)

---

<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:** [February 20, 2024, 3:59am UTC](https://forum.pritunl.com/t/cant-start-pritunl-service-error-setup-web-server-process-exited-unexpectedly/1481/4 "2024-02-20T03:59:16Z")

</div>

There is most likely something attempting to start the service multiple times. This can occur if the system has both systemd and initd.
