RE: Unknown attribute "Max-All-Session"
From: flache4@hotmail.com To: flache4@hotmail.com Subject: RE: Unknown attribute "Max-All-Session" Date: Fri, 31 Jul 2009 15:56:03 +0000 thanks for reply i have install freeradius2 and configure it like http://wiki.freeradius.org/Rlm_sqlcounter and i get error when i start it. Fri Jul 31 15:55:36 2009 : Info: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked Fri Jul 31 15:55:36 2009 : Info: rlm_sql (sql): Attempting to connect to root@localhost:/radius Fri Jul 31 15:55:36 2009 : Info: rlm_sql_mysql: Starting connect to MySQL server for #0 Fri Jul 31 15:55:36 2009 : Info: rlm_sql_mysql: Starting connect to MySQL server for #1 Fri Jul 31 15:55:36 2009 : Info: rlm_sql_mysql: Starting connect to MySQL server for #2 Fri Jul 31 15:55:36 2009 : Info: rlm_sql_mysql: Starting connect to MySQL server for #3 Fri Jul 31 15:55:36 2009 : Info: rlm_sql_mysql: Starting connect to MySQL server for #4 Fri Jul 31 15:55:36 2009 : Error: /etc/raddb/users[204]: Parse error (check) for entry test0001: Invalid octet string "540" for attribute name "Max-All-Session" Fri Jul 31 15:55:36 2009 : Error: Errors reading /etc/raddb/users Fri Jul 31 15:55:36 2009 : Error: /etc/raddb/modules/files[7]: Instantiation failed for module "files" Fri Jul 31 15:55:36 2009 : Error: /etc/raddb/sites-enabled/inner-tunnel[111]: Failed to find module "files". Fri Jul 31 15:55:36 2009 : Error: /etc/raddb/sites-enabled/inner-tunnel[34]: Errors parsing authorize section. Fri Jul 31 15:55:36 2009 : Error: Failed to load virtual server inner-tunnel Fri Jul 31 15:55:36 2009 : Error: Errors initializing modules thanks in advance Avec Windows Live, vous organisez, retouchez et partagez vos photos. _________________________________________________________________ Sur Windows Live Ideas, découvrez en exclusivité de nouveaux services en ligne... si nouveaux qu'ils ne sont pas encore sortis officiellement sur le marché ! http://ideas.live.com
i have install freeradius2 and configure it like http://wiki.freeradius.org/Rlm_sqlcounter and i get error when i start it.
Fri Jul 31 15:55:36 2009 : Info: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked Fri Jul 31 15:55:36 2009 : Info: rlm_sql (sql): Attempting to connect to root@localhost:/radius Fri Jul 31 15:55:36 2009 : Info: rlm_sql_mysql: Starting connect to MySQL server for #0 Fri Jul 31 15:55:36 2009 : Info: rlm_sql_mysql: Starting connect to MySQL server for #1 Fri Jul 31 15:55:36 2009 : Info: rlm_sql_mysql: Starting connect to MySQL server for #2 Fri Jul 31 15:55:36 2009 : Info: rlm_sql_mysql: Starting connect to MySQL server for #3 Fri Jul 31 15:55:36 2009 : Info: rlm_sql_mysql: Starting connect to MySQL server for #4 Fri Jul 31 15:55:36 2009 : Error: /etc/raddb/users[204]: Parse error (check) for entry test0001: Invalid octet string "540" for attribute name "Max-All-Session"
You haven't instatiated sqlcounter. Add it to the instatiate section of radiusd.conf. Ivan Kalik Kalik Informatika ISP
On Sat, Aug 1, 2009 at 12:00 AM, boroba --<flache4@hotmail.com> wrote:
________________________________ From: flache4@hotmail.com To: flache4@hotmail.com Subject: RE: Unknown attribute "Max-All-Session" Date: Fri, 31 Jul 2009 15:56:03 +0000
thanks for reply
i have install freeradius2 and configure it like http://wiki.freeradius.org/Rlm_sqlcounter and i get error when i start it.
I guess you don't need to do it by hand anymore. The counter is already included in the freeradius2 IFAIK. Have a look at /etc/raddb/sql/mysql/counter.conf. It is just a matter of including those modules in your configuration (radiusd.conf and sql.conf) Plus you need to add "Max-All-Session" attribute in dictionary file like: (this is causing your error) ==================================== ATTRIBUTE Max-All-Session 3000 Integer ==================================== Regards ============================== Registered Linux User #460714 Currently Using Fedora 10, CentOS 5.3 ==============================
Plus
you need to add "Max-All-Session" attribute in dictionary file like: (this is causing your error)
==================================== ATTRIBUTE Max-All-Session 3000 Integer ====================================
You don't. Server will create this attribute on startup when it instantiates the module. Ivan Kalik Kalik Informatika ISP
On Sat, Aug 1, 2009 at 9:53 PM, Ivan Kalik<tnt@kalik.net> wrote:
Plus
you need to add "Max-All-Session" attribute in dictionary file like: (this is causing your error)
==================================== ATTRIBUTE Max-All-Session 3000 Integer ====================================
You don't. Server will create this attribute on startup when it instantiates the module.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Sorry I forgot to take note the version boroba was using and blindly assumed that v2. I am using FR2 and I was getting same error when the attribute is not included in dictionary? why is so? Thanks! -- ============================== Registered Linux User #460714 Currently Using Fedora 10, CentOS 5.3 ==============================
participants (3)
-
boroba -- -
Deepak -
Ivan Kalik