I found the answers, It when you fill out "radiusSecret" in switches.conf and you doesn't use 802.1X
Thanks anyway Derek ! Derek Wuelfrath <[email protected]> a écrit : > Hello Remi, > > Are those three clients configured in your switches.conf ? > Seems like the problem is refering to FreeRadius tries to load the > same client twice. > > Sat Jun 2 23:16:13 2012 : Error: Failed to add duplicate client 1.2.3.4 > Sat Jun 2 23:16:13 2012 : Error: Failed to load clients from SQL. > > > If so, please remove (by commenting) the clients in your RADIUS > clients.conf and try to start it. > > Thanks > > > On 6/4/12 04:41 , [email protected] wrote: >> Hi everyone, >> >> Friday my PacketFence box crash, and I decide to rebuild from scratch >> a PacketFence (it was a test box). >> >> So I follow the admin guide again (with my personal notes ^^) >> >> Everything works fine, excepts radius, in clients.conf I have 3 client : >> >> client WLC-5500 { >> ipaddr = 1.2.3.4 >> secret = secret >> nastype = cisco >> } >> >> client AP-wifi { >> ipaddr = 1.2.3.5 >> secret = secret >> nastype = cisco >> } >> >> client Cisco-3560 { >> ipaddr = 1.2.3.6 >> secret = secret >> nastype = cisco >> } >> >> and in the radius.log I have this : >> Sat Jun 2 23:16:13 2012 : Info: Loaded virtual server<default> >> Sat Jun 2 23:16:13 2012 : Info: Loaded virtual server inner-tunnel >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Driver rlm_sql_mysql >> (module rlm_sql_mysql) loaded and linked >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Attempting to connect >> to pf@localhost:/pf >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Attempting to connect >> rlm_sql_mysql #0 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql_mysql: Starting connect to >> MySQL server for #0 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Connected new DB handle, #0 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Attempting to connect >> rlm_sql_mysql #1 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql_mysql: Starting connect to >> MySQL server for #1 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Connected new DB handle, #1 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Attempting to connect >> rlm_sql_mysql #2 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql_mysql: Starting connect to >> MySQL server for #2 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Connected new DB handle, #2 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Attempting to connect >> rlm_sql_mysql #3 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql_mysql: Starting connect to >> MySQL server for #3 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Connected new DB handle, #3 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Attempting to connect >> rlm_sql_mysql #4 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql_mysql: Starting connect to >> MySQL server for #4 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Connected new DB handle, #4 >> Sat Jun 2 23:16:13 2012 : Error: Failed to add duplicate client 1.2.3.4 >> Sat Jun 2 23:16:13 2012 : Error: Failed to load clients from SQL. >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Closing sqlsocket 4 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Closing sqlsocket 3 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Closing sqlsocket 2 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Closing sqlsocket 1 >> Sat Jun 2 23:16:13 2012 : Info: rlm_sql (sql): Closing sqlsocket 0 >> Sat Jun 2 23:16:13 2012 : Error: /etc/raddb/sql.conf[1]: >> Instantiation failed for module "sql" >> Sat Jun 2 23:16:13 2012 : Error: >> /etc/raddb/sites-enabled/packetfence[32]: Failed to load module "sql". >> Sat Jun 2 23:16:13 2012 : Error: >> /etc/raddb/sites-enabled/packetfence[29]: Errors parsing accounting >> section. >> Sat Jun 2 23:16:13 2012 : Error: Failed to load virtual server packetfence >> >> >> I've just follow the admin guide and modify /etc/raddb/sql.conf, >> packetfence.pm and add a user in /etc/raddb/users >> >> >> thanks ! >> >> PS : I tried to shutdown iptables for test in iptables.conf with >> -P INPUT ACCEPT >> -P OUTPUT ACCEPT >> -F >> but it doesn't work, do you have a tips ? >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> PacketFence-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/packetfence-users > > -- > Derek Wuelfrath > [email protected] <mailto:[email protected]> :: > +1.514.447.4918 x110 :: www.inverse.ca <http://www.inverse.ca> > Inverse inc. :: Leaders behind SOGo (www.sogo.nu > <http://www.sogo.nu>) and PacketFence (www.packetfence.org > <http://www.packetfence.org>) > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
