wazuh / wazuh-agent

Wazuh agent, the Wazuh agent for endpoints.
GNU Affero General Public License v3.0
21 stars 12 forks source link

Missing WazuhSvc Service after remote windows agent upgrade via dashboard or console | Wazuh Server 4.9.0 #153

Open glosappio opened 3 weeks ago

glosappio commented 3 weeks ago

Remotely upgrading windows agents via Dashboard or via /var/ossec/bin/agent_upgrade in same cases would cause the agent to disconnect after upgrade. In those cases I noticed the Wazuhsvc service is missing and trying to start the agent from the client would return the message Unable to start agent (check config). I could solve it by executing on prompt command C:\Program Files (x86)\ossec-agent>wazuh-agent.exe install-service

CKatzsch commented 4 days ago

We have the same error.

The server was originally installed with version 4.8.0 and then updated to version 4.8.1 and finally to 4.9.0. After the update to version 4.8.1, the problem occurred that the EXE file for the service disappeared after the remote update. The remaining files are still available.

Get-Service WazuhSvc Get-Service: Cannot find any service with service name 'WazuhSvc'.

The server is installed using the ova file on VMware esxi for evaluation purposes.