# Fleet Server not available after reboot

**URL:** <https://discuss.elastic.co/t/fleet-server-not-available-after-reboot/279604>\
**Category:** Kibana\
**Tags:** fleet\
**Created:** [July 26, 2021, 8:25am UTC](https://discuss.elastic.co/t/fleet-server-not-available-after-reboot/279604 "2021-07-26T08:25:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam1325](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@sam1325](https://discuss.elastic.co/u/sam1325)\
**Post date:** [July 26, 2021, 8:25am UTC](https://discuss.elastic.co/t/fleet-server-not-available-after-reboot/279604/1 "2021-07-26T08:25:47Z")

</div>

Hello there,

Server info:  
1 - I´m running ubuntu 20.04  
2 - Elk stack running on 7.13.3 version

I´m trying to add a fleet server on a self managed host. This works great after installing, but after restarting the host, fleet stays offline. Here is what I did:

1 - Downloaded the elastic agent to the same elk server (DEB x64 version)  
2 - Generated the token  
3 - Followed the instructions for the commands to be used:  
`sudo elastic-agent enroll -f --fleet-server-es=http://localhost:9200 --fleet-server-service-token=XXX --fleet-server-policy=XXX`  
4 - Enable service:  
`sudo systemctl enable elastic-agent`  
5 - Verify in Kibana that agent is healthy and working  
6 - Reboot host

After rebooting, kibana shows the agent as offline. Running "sudo systemctl start elastic-agent" does nothing.

Can anyone help?

Thanks!

---

<div class="post-metadata">

**Author:** ![blaker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blaker/32/65621_2.png) [@blaker](https://discuss.elastic.co/u/blaker)\
**Post date:** [July 26, 2021, 12:47pm UTC](https://discuss.elastic.co/t/fleet-server-not-available-after-reboot/279604/2 "2021-07-26T12:47:40Z")

</div>

Can you provide the logs from the Elastic Agent? Logs from `journalctl` would also be helpful.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 23, 2021, 12:48pm UTC](https://discuss.elastic.co/t/fleet-server-not-available-after-reboot/279604/3 "2021-08-23T12:48:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
