FreeRadius - Failed to bind authentication address

When I run the following command, I can get a successful result.

root @ubuntu: / home / can # radtest user password 127.0.0.1 1812 testing123

Sending an access request from a port with a code from 78 to 127.0.0.1 1812

User-Name = "user"
User-Password = "password"
NAS-IP-Address = 127.0.1.1
NAS-Port = 1812
Message-Authenticator = 0x00000000000000000000000000000000

rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id = 78, length = 20


However, when I run "freeradius -X", I get an error message as follows:

.....

Failed to bind to authentication address * port 1812: address already in use /etc/freeradius/radiusd.conf[250]: Port bind error for port 0.0.0.0 1812

Please help me

Thank you for your efforts.

Can

+4
source share
5

' freeradius restart' ' freeradius stop'. 'freeradius -X' .

+9

radiusd . sudo service freeradius stop freeradius -X /, RADIUS.

+7

, . zumbi- :

[root@localhost sites-enabled]# ps aux | grep radi
radiusd   25042  0.0  0.7 186360 14980 ?        Ssl  Fev17   0:00 /usr/sbin/radiusd -d /etc/raddb

[root@localhost sites-enabled]# kill -9 25042

.

+3

, , freeradius, freeradius. freeradius .

0

I am also trying to change the storage path of accounting logs ... / detail-% Y% m% d to something like detail123-% Y% m% d. This did not work, so I restarted the process, as you all mentioned above. My changes have been canceled. How do I change the log path?

0
source

All Articles