Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th August 2009, 16:15
kdclaver kdclaver is offline
Member
 
Join Date: Nov 2006
Posts: 51
Thanks: 0
Thanked 2 Times in 2 Posts
Unhappy [hardy heron] freeradius-mysql-daloradius

Hello,
I'm trying to install freeradius and daloradius on ubuntu hardy following this howto (http://www.howtoforge.com/setting-up...ith-daloradius).
After applying the different modifications on step3, I try to test via this command: freeradius -X. Then I encounter this error message (see below - More details are present in the attached files (radius-install for error message and radiusd.conf). Before continuing, the howto tell us to modify radius.conf, this file doesn't exist on my installation why I make modification directly in radiusd.conf.

============== error message ===========
rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
rlm_sql (sql): Attempting to connect to root@localhost:/radius
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
rlm_sql_mysql: Starting connect to MySQL server for #0
rlm_sql_mysql: Couldn't connect socket to MySQL server root@localhost:radius
rlm_sql_mysql: Mysql error 'Access denied for user 'root'@'localhost' (using password: YES)'
rlm_sql (sql): Failed to connect DB handle #0
rlm_sql (sql): starting 1
rlm_sql (sql): starting 2
rlm_sql (sql): starting 3
rlm_sql (sql): starting 4
rlm_sql (sql): Failed to connect to any SQL server.
rlm_sql (sql): - generate_sql_clients
rlm_sql (sql): Query: SELECT * FROM nas
rlm_sql (sql): Ignoring unconnected handle 4..
rlm_sql (sql): Ignoring unconnected handle 3..
rlm_sql (sql): Ignoring unconnected handle 2..
rlm_sql (sql): Ignoring unconnected handle 1..
rlm_sql (sql): Ignoring unconnected handle 0..
rlm_sql (sql): There are no DB handles to use! skipped 5, tried to connect 0
rlm_sql (sql): generate_sql_clients() returned error
rlm_sql (sql): Closing sqlsocket 4
rlm_sql (sql): Closing sqlsocket 3
rlm_sql (sql): Closing sqlsocket 2
rlm_sql (sql): Closing sqlsocket 1
rlm_sql (sql): Closing sqlsocket 0
radiusd.conf[14]: sql: Module instantiation failed.
radiusd.conf[1860] Unknown module "sql".
radiusd.conf[1789] Failed to parse authorize section.
======= End of message =========

I need your help to success this installation and follow up the rest of this howto.

Regards !!!!
Attached Files
File Type: txt radius-install.txt (13.0 KB, 298 views)
File Type: txt radiusd.conf.txt (65.5 KB, 308 views)
Reply With Quote
Sponsored Links
  #2  
Old 12th August 2009, 17:31
kdclaver kdclaver is offline
Member
 
Join Date: Nov 2006
Posts: 51
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Hello,
I have found the source of this error message, bad root's password in /etc/freeradius/sql.conf.
I've changed it and now I can follow up.

Thanks more for your care attention !!!!

See you
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[debian] Freeradius with MySQL and daloradius ? GHz HOWTO-Related Questions 29 21st November 2009 13:12
Setting Up A FreeRadius Based AAA Server With MySQL & Management With Daloradius herbie HOWTO-Related Questions 3 15th September 2008 05:37
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
LAMP System Fedora Core 6 MySQL start error gavino HOWTO-Related Questions 13 21st November 2007 19:13
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04


All times are GMT +2. The time now is 16:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.