Problem with template.conf in proxy.conf

Ana Gallardo ana.gallardo.77 at gmail.com
Thu Nov 5 14:19:29 CET 2009


Hello I'm using Freeradius 2.04-3 in Debian.

I'm using a home-server template defined in template.conf:

### /etc/freeradius/templates.conf

templates {

      home_server {
            response_window = 20
            zombie_period = 40
            revive_interval = 120
      }

      home_server tld-rediris {
            type = auth+acct
            port = 1812
            secret = XXX
            response_window = 20
            zombie_period = 40
            revive_interval = 60
            status_check = status-server
            check_interval = 30
            num_answers_to_alive = 3
      }
}

### /etc/freeradius/proxy.conf

home_server tld-rediris1 {
    template = tld-rediris
    ipaddr = ZZZ
}

home_server tld-rediris2 {
        template = tld-rediris
        ipaddr = YYY
}

But Freeradius doesn't run:

/etc/freeradius# freeradius -X
Starting - reading configuration files ...
including configuration file /etc/freeradius/radiusd.conf
including configuration file /etc/freeradius/templates.conf
including configuration file /etc/freeradius/proxy.conf
including configuration file /etc/freeradius/clients.conf
including configuration file /etc/freeradius/snmp.conf
including configuration file /etc/freeradius/ldap.conf
including configuration file /etc/freeradius/sql.conf
including configuration file /etc/freeradius/sql/mysql/dialup.conf
including configuration file /etc/freeradius/policy.conf
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/default
including dictionary file /etc/freeradius/dictionary

...

 home_server tld-rediris1 {
    ipaddr = ZZZ
    port = 0
    response_window = 30
    max_outstanding = 65536
    zombie_period = 40
    status_check = "none"
    ping_check = "none"
    ping_interval = 30
    check_interval = 30
    num_answers_to_alive = 3
    num_pings_to_alive = 3
    revive_interval = 300
    status_check_timeout = 4
 }
/etc/freeradius/proxy.conf[27]: No port, or invalid port defined for home
server tld-rediris1.

Thank you very much.


-- 
____________________

 Ana Gallardo Gómez
____________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091105/47cbf4d9/attachment.html>


More information about the Freeradius-Users mailing list