Faild binding to auth address error
Hello, Got a newly built Freeradius server running on Ubuntu server that is showing the following error; radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } Failed binding to auth address * port 1812 bound to server default: Address already in use /etc/freeradius/3.0/sites-enabled/default[59]: Error binding to port for 0.0.0.0 port 1812 By stopping the service, the error goes away, but as soon as the service is restarted the error is back, see below output of the running instances. administrator@zotacradius:~$ sudo ps ax | grep radius 2366 ? Ssl 0:00 /usr/sbin/freeradius -f 2986 pts/1 S+ 0:00 grep --color=auto radius administrator@zotacradius:~$ sudo systemctl stop freeradius administrator@zotacradius:~$ sudo ps ax | grep radius 3022 pts/1 S+ 0:00 grep --color=auto radius After spending a lot of time looking for ways to resolve this issue today, they all talk about processes already using the ports, assuming I'm reading this correctly, then that's not what I'm seeing as there is only the active instance and the grep process. Has anyone got any suggestions on how to resolve this at all? Regards Matt
On Apr 14, 2022, at 3:34 PM, Matthew Budrey <jazzman20014@gmail.com> wrote:
Got a newly built Freeradius server running on Ubuntu server that is showing the following error; ... Failed binding to auth address * port 1812 bound to server default: Address already in use
There's already a server running. You can't run the server in daemon mode and in debug mode at the same time.
By stopping the service, the error goes away, but as soon as the service is restarted the error is back, see below output of the running instances.
I'm not sure what you expect it to do.
After spending a lot of time looking for ways to resolve this issue today, they all talk about processes already using the ports, assuming I'm reading this correctly, then that's not what I'm seeing as there is only the active instance and the grep process.
Has anyone got any suggestions on how to resolve this at all?
Resolve what? You can't run two copies of the server at the same time, and have them listen on the same ports. If you want to run the server in debug mode, then you have to stop the background process / daemon. This is how things work. Alan DeKok.
participants (2)
-
Alan DeKok -
Matthew Budrey