Fleet server enrolllment error

Hey team am getting stuck on enrollment of fleet server am trying hard to debug but am get EOF and later

Did you try to install it before and it failed?

The message mentions that Elastic Agent is installed but currently broken, also complains about the elastic-agent.service existing.

What does it return when you run systemctl status elastic-agent ?

I would check this, remove the Elastic Agent paths (/opt/Elastic) and the service if it exists and try again.

idid remove this path /opt/Elastic and still getting EOF

Well, this shows that this server has an Elastic Agent already installed and running.

You cannot install it again if it is already installed.

Why you want to install it again on the same server? You would need to remove it first.

i dont see any server enrolled am unuble to add agents , how do i recovered from this

I would recommend that you uninstall the agent them try to install it again.

The uninstall documentation can be found here.

Your issue is that you are trying to install an agent on a machine that already has one agent installing and running.

thankyu lemi do it , ill provide the feedback.

Note the uninstall command are very specific, execute them exactly as defined in the documentation, do not cd to the installation directory and just execute with relative paths

now i got this one

Hey @stephenb,I’m let you know that the issue has been successfully resolved. Thank you so much for your kind assistance and support.

1 Like