"Unknown action 'rlm_sql_mysql'" in v3 unoffical ubuntu build
I tried installing freeradius 3 using the ppa at: https://launchpad.net/~freeradius/+archive/ubuntu/stable-3.0 Everything works fine (passed all the tests for using the various types of authentication) but when I try to get it to use mysql, I get the following from "freeradius -X": Unknown action 'rlm_sql_mysql' The only idea I have is from http://wiki.freeradius.org/modules/Rlm_sql_mysql which says you should install mysql first so the libmysqlclient* libraries are automatically detected during compile. Dustin p.s.: here is more of the output: # Instantiating module "logintime" from file /etc/freeradius/mods-enabled/logintime } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/freeradius/radiusd.conf } # server server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel # Loading authenticate {...} # Loading authorize {...} /etc/freeradius/sites-enabled/sql[31]: Unknown action 'rlm_sql_mysql'. /etc/freeradius/sites-enabled/inner-tunnel[48]: Errors parsing authorize section.
I tried installing freeradius 3 using the ppa at: https://launchpad.net/~freeradius/+archive/ubuntu/stable-3.0
Everything works fine (passed all the tests for using the various types of authentication) but when I try to get it to use mysql, I get the following from "freeradius -X": Unknown action 'rlm_sql_mysql'
Install the freeradius-mysql package from the same PPA. It contains the mySQL support you need. :-) Stefan Paetow Moonshot Industry & Research Liaison Coordinator t: +44 (0)1235 822 125 gpg: 0x3FCE5142 xmpp: stefanp@jabber.dev.ja.net skype: stefan.paetow.janet jisc.ac.uk Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc¹s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
On 4 May 2016, at 14:34, Stefan Paetow <Stefan.Paetow@jisc.ac.uk> wrote:
I tried installing freeradius 3 using the ppa at: https://launchpad.net/~freeradius/+archive/ubuntu/stable-3.0
Everything works fine (passed all the tests for using the various types of authentication) but when I try to get it to use mysql, I get the following from "freeradius -X": Unknown action 'rlm_sql_mysql'
Install the freeradius-mysql package from the same PPA.
It contains the mySQL support you need. :-)
Yeah, i'm not sure whats sites-enabled/sql is though. Seems like he linked the sql config into the wrong dir. Should be mods-available/sql to mods-enabled/sql. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
participants (3)
-
Arran Cudbard-Bell -
Dustin S -
Stefan Paetow