# Failed to start confluent-kafka.service : Unit confluent-kafka.service not found

**URL:** <https://forum.confluent.io/t/failed-to-start-confluent-kafka-service-unit-confluent-kafka-service-not-found/2761>\
**Category:** Command Line tools\
**Created:** [15 September 2021 14:27 UTC](https://forum.confluent.io/t/failed-to-start-confluent-kafka-service-unit-confluent-kafka-service-not-found/2761 "2021-09-15T14:27:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jedrekd](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/jedrekd/32/1093_2.png) [@jedrekd](https://forum.confluent.io/u/jedrekd)\
**Post date:** [15 September 2021 14:27 UTC](https://forum.confluent.io/t/failed-to-start-confluent-kafka-service-unit-confluent-kafka-service-not-found/2761/1 "2021-09-15T14:27:14Z")

</div>

I’ve just installed your confluent-platform on Ubuntu by following this documentation [Install Confluent Platform using Systemd on Ubuntu and Debian | Confluent Documentation](https://docs.confluent.io/platform/current/installation/installing_cp/deb-ubuntu.html) and I can’t start kafka. I get an error:

sudo systemctl start confluent-kafka  
Failed to start confluent-kafka.service: Unit confluent-kafka.service not found.

---

<div class="post-metadata">

**Author:** ![mmuehlbeyer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/mmuehlbeyer/32/1088_2.png) [@mmuehlbeyer](https://forum.confluent.io/u/mmuehlbeyer)\
**Post date:** [15 September 2021 14:40 UTC](https://forum.confluent.io/t/failed-to-start-confluent-kafka-service-unit-confluent-kafka-service-not-found/2761/2 "2021-09-15T14:40:14Z")

</div>

Hi,

could you provide some more details?  
starting zookeeper was possible?

could you check the installed packages with

```auto
apt list --installed 

```

---

<div class="post-metadata">

**Author:** ![jedrekd](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/jedrekd/32/1093_2.png) [@jedrekd](https://forum.confluent.io/u/jedrekd)\
**Post date:** [15 September 2021 15:09 UTC](https://forum.confluent.io/t/failed-to-start-confluent-kafka-service-unit-confluent-kafka-service-not-found/2761/3 "2021-09-15T15:09:03Z")

</div>

Yes, I can start zookeeper.

I installed it by floowing your documentation.

wget -qO - [https://packages.confluent.io/deb/6.2/archive.key](https://packages.confluent.io/deb/6.2/archive.key) | sudo apt-key add -  
sudo add-apt-repository “deb [arch=amd64] [https://packages.confluent.io/deb/6.2](https://packages.confluent.io/deb/6.2) stable main”  
sudo apt-get update && sudo apt-get install confluent-platform

apt list --installed | grep confluent

confluent-ce-kafka-http-server/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-cli/stable,now 6.2.0-1 amd64 [zainstalowany,automatycznie]  
confluent-common/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-control-center/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-control-center-fe/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-hub-client/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-kafka-connect-replicator/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-kafka-mqtt/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-kafka-rest/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-ksqldb/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-metadata-service/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-platform/stable,now 6.2.0-1 all [zainstalowany]  
confluent-rebalancer/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-rest-utils/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-schema-registry/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-server/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-server-rest/stable,now 6.2.0-1 all [zainstalowany,automatycznie]  
confluent-telemetry/stable,now 6.2.0-1 all [zainstalowany,automatycznie]

---

<div class="post-metadata">

**Author:** ![mmuehlbeyer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/mmuehlbeyer/32/1088_2.png) [@mmuehlbeyer](https://forum.confluent.io/u/mmuehlbeyer)\
**Post date:** [15 September 2021 19:02 UTC](https://forum.confluent.io/t/failed-to-start-confluent-kafka-service-unit-confluent-kafka-service-not-found/2761/4 "2021-09-15T19:02:48Z")

</div>

mmh as you‘ve installed with

> apt-get install confluent-platform

the correct way to start the env should be

`systemctl start confluent-server`

---

<div class="post-metadata">

**Author:** ![jedrekd](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/jedrekd/32/1093_2.png) [@jedrekd](https://forum.confluent.io/u/jedrekd)\
**Post date:** [15 September 2021 19:14 UTC](https://forum.confluent.io/t/failed-to-start-confluent-kafka-service-unit-confluent-kafka-service-not-found/2761/5 "2021-09-15T19:14:29Z")

</div>

Yeah, but the docs says clearly:  
`systemctl start confluent-server`  
`systemctl start confluent-kafka`

---

<div class="post-metadata">

**Author:** ![mmuehlbeyer](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/mmuehlbeyer/32/1088_2.png) [@mmuehlbeyer](https://forum.confluent.io/u/mmuehlbeyer)\
**Post date:** [15 September 2021 19:57 UTC](https://forum.confluent.io/t/failed-to-start-confluent-kafka-service-unit-confluent-kafka-service-not-found/2761/6 "2021-09-15T19:57:52Z")

</div>

yeah but it states also that it depends on the components you‘ve installed

so imho

sudo systemctl start confluent-server

should be enough
