Re: Freeradius with either LDAP or Mysql Error lib not found

2013-03-08 Thread Muhammad Nadeem
Fri Mar  8 13:44:46 2013 : Error: Could not link driver rlm_sql_mysql:
rlm_sql_mysql.so: cannot open shared object file: No such file or directory
It seems that your mysql drivers have not been installed successfully,
thanks to freeradius, it has the option to install mysql server along free
radius . (use this command sudo apt-get install mysql-server (somthing like
that if not work,, google it).
Hopefully problem will be solve


On Fri, Mar 8, 2013 at 12:51 PM, Iftakhul Anwar an...@meruvian.org wrote:

 Hi All

 I just try to config freeradius using either Mysql or LDAP.

 But i get same error like bellow :

 [errror Mysq]

 Fri Mar  8 13:44:46 2013 : Error: Could not link driver rlm_sql_mysql:
 rlm_sql_mysql.so: cannot open shared object file: No such file or directory
 Fri Mar  8 13:44:46 2013 : Error: Make sure it (and all its dependent
 libraries!) are in the search path of your system's ld.
 Fri Mar  8 13:44:46 2013 : Error: /usr/local/etc/raddb/sql.conf[22]:
 Instantiation failed for module sql
 Fri Mar  8 13:44:46 2013 : Error:
 /usr/local/etc/raddb/sites-enabled/default[177]: Failed to find sql in
 the modules section.
 Fri Mar  8 13:44:46 2013 : Error:
 /usr/local/etc/raddb/sites-enabled/default[69]: Errors parsing authorize
 section.

 i've read in some article that it's solved by installed  mysql-devel
 package.
 In this case i've installed  libmysqlclient-dev on my ubuntu 12.04

 But still get same error.

 It's also happen on my freeradius ldap?

 [error LDAP]
 /usr/local/etc/raddb/modules/ldap[29]: Failed to link to module
 'rlm_ldap': rlm_ldap.so: cannot open shared object file: No such file or
 directory
 /usr/local/etc/raddb/sites-enabled/default[305]: Failed to find ldap in
 the modules section.
 /usr/local/etc/raddb/sites-enabled/default[305]: Failed to parse ldap

 How i can solve this issue ?

 Thanks

 --
 *M.Iftakhul Anwar*
 Meruvian Integrator
 High Performance Computing / Cloud Computing (HPC/CC)


 Office Phone  : 021-93586577
 Mobile Phone : 085215331477
 Blog   :  http://blog.mervpolis.com/roller/anwar
 FB :  http://www.facebook.com/troya.adromeda
 Website : www.meruvian.org


 -
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html




-- 
Best Regards
Muhammad Nadeem
Muhammad Ali Jinnah University
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius with either LDAP or Mysql Error lib not found

2013-03-08 Thread Iftakhul Anwar
I've installed mysql-server on my system even before i installed freeradius
server.

Any another tips to solve this ?

On Fri, Mar 8, 2013 at 2:59 PM, Muhammad Nadeem mnadeem8...@gmail.comwrote:

 Fri Mar  8 13:44:46 2013 : Error: Could not link driver rlm_sql_mysql:
 rlm_sql_mysql.so: cannot open shared object file: No such file or directory
 It seems that your mysql drivers have not been installed successfully,
 thanks to freeradius, it has the option to install mysql server along free
 radius . (use this command sudo apt-get install mysql-server (somthing
 like that if not work,, google it).
 Hopefully problem will be solve


 On Fri, Mar 8, 2013 at 12:51 PM, Iftakhul Anwar an...@meruvian.orgwrote:

 Hi All

 I just try to config freeradius using either Mysql or LDAP.

 But i get same error like bellow :

 [errror Mysq]

  Fri Mar  8 13:44:46 2013 : Error: Could not link driver rlm_sql_mysql:
 rlm_sql_mysql.so: cannot open shared object file: No such file or directory
 Fri Mar  8 13:44:46 2013 : Error: Make sure it (and all its dependent
 libraries!) are in the search path of your system's ld.
 Fri Mar  8 13:44:46 2013 : Error: /usr/local/etc/raddb/sql.conf[22]:
 Instantiation failed for module sql
 Fri Mar  8 13:44:46 2013 : Error:
 /usr/local/etc/raddb/sites-enabled/default[177]: Failed to find sql in
 the modules section.
 Fri Mar  8 13:44:46 2013 : Error:
 /usr/local/etc/raddb/sites-enabled/default[69]: Errors parsing authorize
 section.

 i've read in some article that it's solved by installed  mysql-devel
 package.
 In this case i've installed  libmysqlclient-dev on my ubuntu 12.04

 But still get same error.

 It's also happen on my freeradius ldap?

 [error LDAP]
 /usr/local/etc/raddb/modules/ldap[29]: Failed to link to module
 'rlm_ldap': rlm_ldap.so: cannot open shared object file: No such file or
 directory
 /usr/local/etc/raddb/sites-enabled/default[305]: Failed to find ldap in
 the modules section.
 /usr/local/etc/raddb/sites-enabled/default[305]: Failed to parse ldap

 How i can solve this issue ?

 Thanks

 --
 *M.Iftakhul Anwar*
 Meruvian Integrator
 High Performance Computing / Cloud Computing (HPC/CC)


 Office Phone  : 021-93586577
 Mobile Phone : 085215331477
 Blog   :  http://blog.mervpolis.com/roller/anwar
 FB :  http://www.facebook.com/troya.adromeda
 Website : www.meruvian.org


 -
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html




 --
 Best Regards
 Muhammad Nadeem
 Muhammad Ali Jinnah University

 -
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html




-- 
*M.Iftakhul Anwar*
Meruvian Integrator
High Performance Computing / Cloud Computing (HPC/CC)


Office Phone  : 021-93586577
Mobile Phone : 085215331477
Blog   :  http://blog.mervpolis.com/roller/anwar
FB :  http://www.facebook.com/troya.adromeda
Website : www.meruvian.org
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius with either LDAP or Mysql Error lib not found

2013-03-08 Thread Muhammad Nadeem
Ok man..
set LD_LIBRARY_PATH to your mysql drivers,,
like for oracle it will be SET PATH=LD_LIBRARY_PATH=$ORACLE_HOME/lib


On Fri, Mar 8, 2013 at 1:02 PM, Iftakhul Anwar an...@meruvian.org wrote:

 I've installed mysql-server on my system even before i installed
 freeradius server.

 Any another tips to solve this ?


 On Fri, Mar 8, 2013 at 2:59 PM, Muhammad Nadeem mnadeem8...@gmail.comwrote:

 Fri Mar  8 13:44:46 2013 : Error: Could not link driver rlm_sql_mysql:
 rlm_sql_mysql.so: cannot open shared object file: No such file or directory
 It seems that your mysql drivers have not been installed successfully,
 thanks to freeradius, it has the option to install mysql server along free
 radius . (use this command sudo apt-get install mysql-server (somthing
 like that if not work,, google it).
 Hopefully problem will be solve


 On Fri, Mar 8, 2013 at 12:51 PM, Iftakhul Anwar an...@meruvian.orgwrote:

  Hi All

 I just try to config freeradius using either Mysql or LDAP.

 But i get same error like bellow :

 [errror Mysq]

  Fri Mar  8 13:44:46 2013 : Error: Could not link driver rlm_sql_mysql:
 rlm_sql_mysql.so: cannot open shared object file: No such file or directory
 Fri Mar  8 13:44:46 2013 : Error: Make sure it (and all its dependent
 libraries!) are in the search path of your system's ld.
 Fri Mar  8 13:44:46 2013 : Error: /usr/local/etc/raddb/sql.conf[22]:
 Instantiation failed for module sql
 Fri Mar  8 13:44:46 2013 : Error:
 /usr/local/etc/raddb/sites-enabled/default[177]: Failed to find sql in
 the modules section.
 Fri Mar  8 13:44:46 2013 : Error:
 /usr/local/etc/raddb/sites-enabled/default[69]: Errors parsing authorize
 section.

 i've read in some article that it's solved by installed  mysql-devel
 package.
 In this case i've installed  libmysqlclient-dev on my ubuntu 12.04

 But still get same error.

 It's also happen on my freeradius ldap?

 [error LDAP]
 /usr/local/etc/raddb/modules/ldap[29]: Failed to link to module
 'rlm_ldap': rlm_ldap.so: cannot open shared object file: No such file or
 directory
 /usr/local/etc/raddb/sites-enabled/default[305]: Failed to find ldap
 in the modules section.
 /usr/local/etc/raddb/sites-enabled/default[305]: Failed to parse ldap

 How i can solve this issue ?

 Thanks

 --
 *M.Iftakhul Anwar*
 Meruvian Integrator
 High Performance Computing / Cloud Computing (HPC/CC)


 Office Phone  : 021-93586577
 Mobile Phone : 085215331477
 Blog   :  http://blog.mervpolis.com/roller/anwar
 FB :  http://www.facebook.com/troya.adromeda
 Website : www.meruvian.org


 -
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html




 --
 Best Regards
 Muhammad Nadeem
 Muhammad Ali Jinnah University

 -
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html




 --
 *M.Iftakhul Anwar*
 Meruvian Integrator
 High Performance Computing / Cloud Computing (HPC/CC)


 Office Phone  : 021-93586577
 Mobile Phone : 085215331477
 Blog   :  http://blog.mervpolis.com/roller/anwar
 FB :  http://www.facebook.com/troya.adromeda
 Website : www.meruvian.org


 -
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html




-- 
Best Regards
Muhammad Nadeem
Muhammad Ali Jinnah University
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius with either LDAP or Mysql Error lib not found

2013-03-08 Thread Fajar A. Nugraha
If you install using packages, it's usually contained on separate
packages. For example:
http://packages.ubuntu.com/search?suite=quantalkeywords=freeradius

i.e. freeradius-mysql, freeradius-ldap.

-- 
Fajar



On Fri, Mar 8, 2013 at 7:02 PM, Iftakhul Anwar an...@meruvian.org wrote:
 I've installed mysql-server on my system even before i installed freeradius
 server.

 Any another tips to solve this ?


 On Fri, Mar 8, 2013 at 2:59 PM, Muhammad Nadeem mnadeem8...@gmail.com
 wrote:

 Fri Mar  8 13:44:46 2013 : Error: Could not link driver rlm_sql_mysql:
 rlm_sql_mysql.so: cannot open shared object file: No such file or directory
 It seems that your mysql drivers have not been installed successfully,
  thanks to freeradius, it has the option to install mysql server along free
  radius . (use this command sudo apt-get install mysql-server (somthing 
  like
  that if not work,, google it).
 Hopefully problem will be solve


 On Fri, Mar 8, 2013 at 12:51 PM, Iftakhul Anwar an...@meruvian.org
 wrote:

 Hi All

 I just try to config freeradius using either Mysql or LDAP.

 But i get same error like bellow :

 [errror Mysq]

 Fri Mar  8 13:44:46 2013 : Error: Could not link driver rlm_sql_mysql:
 rlm_sql_mysql.so: cannot open shared object file: No such file or directory
 Fri Mar  8 13:44:46 2013 : Error: Make sure it (and all its dependent
 libraries!) are in the search path of your system's ld.
 Fri Mar  8 13:44:46 2013 : Error: /usr/local/etc/raddb/sql.conf[22]:
 Instantiation failed for module sql
 Fri Mar  8 13:44:46 2013 : Error:
 /usr/local/etc/raddb/sites-enabled/default[177]: Failed to find sql in the
 modules section.
 Fri Mar  8 13:44:46 2013 : Error:
 /usr/local/etc/raddb/sites-enabled/default[69]: Errors parsing authorize
 section.

 i've read in some article that it's solved by installed  mysql-devel
 package.
 In this case i've installed  libmysqlclient-dev on my ubuntu 12.04

 But still get same error.

 It's also happen on my freeradius ldap?

 [error LDAP]
 /usr/local/etc/raddb/modules/ldap[29]: Failed to link to module
 'rlm_ldap': rlm_ldap.so: cannot open shared object file: No such file or
 directory
 /usr/local/etc/raddb/sites-enabled/default[305]: Failed to find ldap in
 the modules section.
 /usr/local/etc/raddb/sites-enabled/default[305]: Failed to parse ldap
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Freeradius with either LDAP or Mysql Error lib not found

2013-03-08 Thread Alan Buxey
As Fajar says, some distros split up the functions into separate packages (so 
you don't need to install loads of things just to have a basic server) use your 
package manager to find/install the sub packages


alan

--
This smartphone uses free WiFi around the world with eduroam, now that's what I 
call smart.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius with either LDAP or Mysql Error lib not found

2013-03-08 Thread Iftakhul Anwar
HI All,

I just recompile my freeadius with specific directory library.I use command
:

 ./configure --with-mysql-lib-dir=/usr/lib/mysql
--with-ldap-lib-dir=/usr/lib/ldap

Now ldap and mysql running well :D

Thanks all

On Fri, Mar 8, 2013 at 3:41 PM, Alan Buxey a.l.m.bu...@lboro.ac.uk wrote:

  As Fajar says, some distros split up the functions into separate packages
 (so you don't need to install loads of things just to have a basic server)
 use your package manager to find/install the sub packages


 alan

 --
 This smartphone uses free WiFi around the world with eduroam, now that's
 what I call smart.




-- 
*M.Iftakhul Anwar*
Meruvian Integrator
High Performance Computing / Cloud Computing (HPC/CC)


Office Phone  : 021-93586577
Mobile Phone : 085215331477
Blog   :  http://blog.mervpolis.com/roller/anwar
FB :  http://www.facebook.com/troya.adromeda
Website : www.meruvian.org
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Freeradius with either LDAP or Mysql Error lib not found

2013-03-07 Thread Iftakhul Anwar
Hi All

I just try to config freeradius using either Mysql or LDAP.

But i get same error like bellow :

[errror Mysq]

Fri Mar  8 13:44:46 2013 : Error: Could not link driver rlm_sql_mysql:
rlm_sql_mysql.so: cannot open shared object file: No such file or directory
Fri Mar  8 13:44:46 2013 : Error: Make sure it (and all its dependent
libraries!) are in the search path of your system's ld.
Fri Mar  8 13:44:46 2013 : Error: /usr/local/etc/raddb/sql.conf[22]:
Instantiation failed for module sql
Fri Mar  8 13:44:46 2013 : Error:
/usr/local/etc/raddb/sites-enabled/default[177]: Failed to find sql in
the modules section.
Fri Mar  8 13:44:46 2013 : Error:
/usr/local/etc/raddb/sites-enabled/default[69]: Errors parsing authorize
section.

i've read in some article that it's solved by installed  mysql-devel
package.
In this case i've installed  libmysqlclient-dev on my ubuntu 12.04

But still get same error.

It's also happen on my freeradius ldap?

[error LDAP]
/usr/local/etc/raddb/modules/ldap[29]: Failed to link to module 'rlm_ldap':
rlm_ldap.so: cannot open shared object file: No such file or directory
/usr/local/etc/raddb/sites-enabled/default[305]: Failed to find ldap in
the modules section.
/usr/local/etc/raddb/sites-enabled/default[305]: Failed to parse ldap

How i can solve this issue ?

Thanks

-- 
*M.Iftakhul Anwar*
Meruvian Integrator
High Performance Computing / Cloud Computing (HPC/CC)


Office Phone  : 021-93586577
Mobile Phone : 085215331477
Blog   :  http://blog.mervpolis.com/roller/anwar
FB :  http://www.facebook.com/troya.adromeda
Website : www.meruvian.org
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html