-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Compilation works but there is still a problem. Starting the agent causes a segfault:
./wazuh-agentd -dddd -f
2025/03/01 18:25:59 wazuh-agentd[15012] debug_op.c:305 at os_logging_config(): DEBUG: (1228): Element 'log_format' without any option.
2025/03/01 18:25:59 wazuh-agentd[15012] debug_op.c:116 at _log_function(): DEBUG: Logging module auto-initialized
2025/03/01 18:25:59 wazuh-agentd[15012] main.c:197 at main(): DEBUG: Wazuh home directory: /var/ossec
2025/03/01 18:25:59 wazuh-agentd[15012] main.c:199 at main(): DEBUG: Started (pid: 15012).
2025/03/01 18:25:59 wazuh-agentd[15012] agentd.c:57 at AgentdStart(): INFO: (1410): Reading authentication keys file.
2025/03/01 18:25:59 wazuh-agentd[15012] keys.c:336 at OS_ReadKeys(): DEBUG: (1751): File client.keys not found or empty.
2025/03/01 18:25:59 wazuh-agentd[15012] agentd.c:60 at AgentdStart(): INFO: Using notify time: 10 and max time to reconnect: 60
2025/03/01 18:25:59 wazuh-agentd[15012] agentd.c:68 at AgentdStart(): INFO: Version detected -> OpenBSD |dufr |7.6 |GENERIC.MP#338 |amd64 [OpenBSD|openbsd: 7.6] - Wazuh v4.10.1
2025/03/01 18:25:59 wazuh-agentd[15012] agentd.c:96 at AgentdStart(): INFO: Started (pid: 15012).
2025/03/01 18:25:59 wazuh-agentd[15012] pthreads_op.c:45 at CreateThreadJoinable(): DEBUG: Thread stack size set to: 8192 KiB
2025/03/01 18:25:59 wazuh-agentd[15012] buffer.c:75 at buffer_init(): DEBUG: Agent buffer created.
2025/03/01 18:25:59 wazuh-agentd[15012] pthreads_op.c:45 at CreateThreadJoinable(): DEBUG: Thread stack size set to: 8192 KiB
2025/03/01 18:25:59 wazuh-agentd[15012] rotate_log.c:44 at w_rotate_log_thread(): DEBUG: Log rotating thread started.
2025/03/01 18:25:59 wazuh-agentd[15012] pthreads_op.c:45 at CreateThreadJoinable(): DEBUG: Thread stack size set to: 8192 KiB
2025/03/01 18:25:59 wazuh-agentd[15012] mq_op.c:52 at StartMQWithSpecificOwnerAndPerms(): DEBUG: Connected succesfully to 'queue/alerts/execq' after 0 attempts
2025/03/01 18:25:59 wazuh-agentd[15012] mq_op.c:53 at StartMQWithSpecificOwnerAndPerms(): DEBUG: (unix_domain) Maximum send buffer set to: '65792'.
2025/03/01 18:25:59 wazuh-agentd[15012] state.c:50 at state_main(): DEBUG: State file updating thread started.
2025/03/01 18:25:59 wazuh-agentd[15012] enrollment_op.c:129 at w_enrollment_request_key(): INFO: Requesting a key from server: X.X.X.X
2025/03/01 18:25:59 wazuh-agentd[15012] state.c:78 at write_state(): DEBUG: Updating state file.
Segmentation fault
What to try next ? Same Problem on OpenBSD current.