Hello all, I am running FreeRADIUS Version 2.1.8 (built from freebsd ports) I feel like I am missing something blatantly obvious, but just cannot seem to figure it out. Maybe I am just not understanding the documentation. I am setting up a new server with a realm to direct some of it's requests to two existing radius servers (redundant). This is what I think is the relevant part of my proxy.conf: home_server radius1 { type = auth+acct ipaddr = xx.xx.144.5 port = 1645 secret = testing123 } home_server radius2 { type = auth+acct ipaddr = xx.xx.145.5 port = 1645 secret = testing123 } home_server_pool my_server_pool { type = fail-over home_server = radius1 home_server = radius2 } realm mydomain.com { pool = my_server_pool } But when I start the server, 'radiusd -X' dies reporting: /usr/local/etc/raddb/proxy.conf[744]: Duplicate home server ( Line 144 refers to this line "home_server radius2 {" ) As soon as I remove one of the "home_server = radius2" lines from the pool, the server will start fine. Also if I change the ports on my home_server configs, the server will start. Is this not the correct way to setup redundant realm proxying? Thank you in advance, Cody
Cody Ritts wrote:
I am setting up a new server with a realm to direct some of it's requests to two existing radius servers (redundant).
This is what I think is the relevant part of my proxy.conf: ... But when I start the server, 'radiusd -X' dies reporting: /usr/local/etc/raddb/proxy.conf[744]: Duplicate home server
The config you posted works fine.
( Line 144 refers to this line "home_server radius2 {" )
144 or 744? It makes a difference...
As soon as I remove one of the "home_server = radius2" lines from the pool, the server will start fine. Also if I change the ports on my home_server configs, the server will start.
Is this not the correct way to setup redundant realm proxying?
Yes. It should work, if you don't have another copy of the same config in proxy.conf. Alan DeKok.
Thank you Alan. Since you said that it should work, I re-installed from scratch, and then re-configured the settings one by one, and it works. I am looking at the diffs, and I have no idea what I had wrong, but I am happy to know that at least those settings were correct. Thanks again, Cody On 8/3/10 2:13 PM, Alan DeKok wrote:
Cody Ritts wrote:
I am setting up a new server with a realm to direct some of it's requests to two existing radius servers (redundant).
This is what I think is the relevant part of my proxy.conf: ... But when I start the server, 'radiusd -X' dies reporting: /usr/local/etc/raddb/proxy.conf[744]: Duplicate home server
The config you posted works fine.
( Line 144 refers to this line "home_server radius2 {" )
144 or 744? It makes a difference...
As soon as I remove one of the "home_server = radius2" lines from the pool, the server will start fine. Also if I change the ports on my home_server configs, the server will start.
Is this not the correct way to setup redundant realm proxying?
Yes. It should work, if you don't have another copy of the same config in proxy.conf.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Cody Ritts