Ubiquiti EdgeRouter X as device traker

Most likely the port you have configured in the config.yaml (default is: 514) used by some other application.
You have two options to solve this:

  1. Change the port for erxsyslog to some other port by modifying the config.yaml and obihai syslog port
  2. Change the port of the application which is already using the port you are trying. Depending on which OS you are running you will have to find out the application/process using it.

I am not 100% sure but I remember some other person had to run this with sudo. If you want you can try same command with sudo like:

sudo python3 erx_main.py .

But keep in mind that you are giving root access to the process by running with sudo and this is usually not advisable.

Hope this helps.