LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-25-2009, 04:47 AM   #1
cezaronne
LQ Newbie
 
Registered: Jan 2008
Distribution: slackware
Posts: 6

Rep: Reputation: 0
Freeradius with Mysql not working on Fedora 10


Hi,


I have installed Freeradius (yum) 2.1.3-1.fc10.i386.With local users (users file)everythings is fine:
[root@localhost]# radtest test testing localhost 1812 testing123
Sending Access-Request of id 75 to 127.0.0.1 port 1812
User-Name = "test"
User-Password = "testing"
NAS-IP-Address = 127.0.0.1
NAS-Port = 1812
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=75, length=20

I have configured mysql to work with Radius:
-modified /etc/raddb/sql.conf with the login details and database name
-uncomment in /etc/raddb/sites-enabled/default the sql line in the authorize{} section.


After radiusd -X I get the following output:

/etc/raddb/sites-enabled/default[152]: Failed to find module "sql".
/etc/raddb/sites-enabled/default[62]: Errors parsing authorize section.
}
Errors initializing modules



Can you please help me ?


Thank you.
 
Old 03-25-2009, 06:06 AM   #2
Japie
LQ Newbie
 
Registered: Mar 2009
Posts: 27

Rep: Reputation: 16
try installing mysql-devel

rgrds
Japie
 
Old 03-25-2009, 06:54 AM   #3
cezaronne
LQ Newbie
 
Registered: Jan 2008
Distribution: slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Hi,

It is installed


Package mysql-devel-5.0.67-2.fc10.i386 already installed and latest version
 
Old 03-26-2009, 02:44 AM   #4
Japie
LQ Newbie
 
Registered: Mar 2009
Posts: 27

Rep: Reputation: 16
Did you compile Freeradius ? Or did you use a package ?

Maybe you forgot to compile it with the mysql options, or you forgot to install the module ?

I'm using mostly debian and you can then apt-get freeradius-mysql, on top of freeradius..

What OS are you using ?
 
Old 03-26-2009, 03:41 AM   #5
Japie
LQ Newbie
 
Registered: Mar 2009
Posts: 27

Rep: Reputation: 16
Just saw the topic title. So it's fedora 10.

Did jou install freeradius-mysql ?

You can find it here :

http://rpmfind.net/linux/rpm2html/se...eeradius-mysql
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wifi + FreeRadius + MySQL saman Linux - Wireless Networking 17 09-14-2008 11:40 AM
freeradius-server-2.0.5 + mysql + Segmentation fault conesh Linux - Newbie 0 08-19-2008 01:39 PM
help needed for a mysql freeradius simple management tanoatlq Programming 0 05-27-2008 03:42 PM
MySQL and FreeRadius Connectivity how to?? AZIMBD03 Linux - Networking 1 02-04-2007 04:57 AM
Poptop + Freeradius + MySQL + DNAT emphaze Linux - Networking 4 01-04-2006 03:55 PM


All times are GMT -5. The time now is 02:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration