# Problem installing HAProxy

**URL:** <https://discourse.haproxy.org/t/problem-installing-haproxy/6024>\
**Category:** Help!\
**Created:** [December 14, 2020, 10:34am UTC](https://discourse.haproxy.org/t/problem-installing-haproxy/6024 "2020-12-14T10:34:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [December 14, 2020, 1:18pm UTC](https://discourse.haproxy.org/t/problem-installing-haproxy/6024/4 "2020-12-14T13:18:41Z")

</div>

> [@Gigazo1d](#):
>
> nothing

Then you do not have a consistent installation. This init.d file is probably from an old installation that has not been properly removed. Now you have an old startup script, a new executable which won’t work.

Refer to the following post to fix your startup script issue:

> [@Failing to start with systemd and unexplained issues](https://discourse.haproxy.org/t/failing-to-start-with-systemd-and-unexplained-issues/849/4):
>
> Do not use the init.d file. You are using systemd, you have use the systemd unit file and wrapper, not the init.d script. rm /etc/init.d/haproxy cd contrib/systemd cp haproxy.service.in /lib/systemd/system/ systemctl daemon-reload systemctl enable haproxy systemctl start haproxy systemctl status haproxy Note: Haproxy 1.8 and later needs to be compiled with USE\_SYSTEMD=1 for the provided systemd unit file to work (needs systemd header files, that would be libsystemd-dev on Debian/Ubuntu or sys…

---

_[View the full topic](https://discourse.haproxy.org/t/problem-installing-haproxy/6024)._
