Freeradius - 認証アドレスバインディングに失敗しました。

Freeradius - 認証アドレスバインディングに失敗しました。

このトピックが何度も議論されたことはわかっていますが、メーリングリストで見つけたすべての解決策/答えは私にはうまくいきませんでした(もちろん私のせいです!)

サービスを停止して実行すると、freeradius -xxxメッセージは次のようになります。

Thu Nov 26 15:14:25 2015 : Info:  ... adding new socket proxy address * port 47256
Thu Nov 26 15:14:25 2015 : Debug: Listening on authentication address * port 1812
Thu Nov 26 15:14:25 2015 : Debug: Listening on accounting address * port 1813
Thu Nov 26 15:14:25 2015 : Debug: Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel
Thu Nov 26 15:14:25 2015 : Debug: Listening on proxy address * port 1814
Thu Nov 26 15:14:25 2015 : Info: Ready to process requests.

次に radius を起動し、そうしようとすると、radtest次のエラーが発生します。

root@raspberrypi:~# /etc/init.d/freeradius start
[ ok ] Starting FreeRADIUS daemon: freeradius.
root@raspberrypi:~# radtest "John Doe" hello 127.0.0.1 0 testing123
Sending Access-Request of id 126 to 127.0.0.1 port 1812
        User-Name = "John Doe"
        User-Password = "hello"
        NAS-IP-Address = 127.0.1.1
        NAS-Port = 0
        Message-Authenticator = 0x00000000000000000000000000000000
rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=126, length=20

2番目のデバッグを見ると、次の内容が表示されます。

Thu Nov 26 15:15:06 2015 : Debug: radiusd: #### Opening IP addresses and Ports ####
Thu Nov 26 15:15:06 2015 : Debug: listen {
Thu Nov 26 15:15:06 2015 : Debug:       type = "auth"
Thu Nov 26 15:15:06 2015 : Debug:       ipaddr = *
Thu Nov 26 15:15:06 2015 : Debug:       port = 0
Thu Nov 26 15:15:06 2015 : Error: Failed binding to authentication address * port 1812: Address already in use
Thu Nov 26 15:15:06 2015 : Error: /etc/freeradius/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812

私は何が間違っていましたか?私にはポート1812がfreeradius使用されているので、使用しているのが正常です!

ありがとうございます!

ベストアンサー1

おすすめ記事