Hi Harvey Ryu,
By default, when you install a Wazuh Manager in your system, the Manager can monitor the system by itself.
Installing a Wazuh Agent where the Manager is installed is not allowed due to incompatibility between them.
If you run the agent-control binary with the -l flag, you will see that the 000 agent is your Wazuh Manager:
/var/ossec/bin/agent-control -l
The Agents are designed to monitor endpoints and report the collected data to the Manager.
Those errors are because you're trying to install an agent in a system with a Manager installed so probably you're overwriting some files.
As you tried to install the Agent using different options probably the Manager installation has been affected.
So, in order to fix the problem, I would recommend you to uninstall your agent and re-install the Manager in order to avoid future problems due to missing files or permissions in your Manager.
As said before, you can try to install an Agent in a different machine and connect it to the Manager, there you will see that the Agent reports the data to the Manager.
Hope that it helps,
Josemi.