Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ossec-agentd on arm64 generates incorrectly formatted messages #2079

Open
afunix opened this issue Mar 19, 2023 · 1 comment
Open

ossec-agentd on arm64 generates incorrectly formatted messages #2079

afunix opened this issue Mar 19, 2023 · 1 comment

Comments

@afunix
Copy link

afunix commented Mar 19, 2023

ossec-remoted runs on CentOS7 on x86_64.
When ossec-agentd runs on Raspberry Pi with armv7l kernel (5.15.84-v7l+), agent is able to communicate with the server.
When ossec-agentd runs on Raspberry Pi with aarch64 kernel (6.1.19-v8+), server complains:

2023/03/19 09:55:52 ossec-remoted(1403): ERROR: Incorrectly formatted message from 'any'.

ossec-agentd-s are compiled from source locally on Pis.

@wolle604
Copy link

Hey,
Try the following:

  1. /var/ossec/bin/ossec-control stop
  2. rm /var/ossec/queue/rids/<agent id>
  3. /var/ossec/bin/ossec-control start
    I had the same problem and it worked for me.
    Best wishes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants