phew .... finally ... I did it ... now want to share with you:- petunjuk berikut sangat membantu: http://lists.cistron.nl/pipermail/freeradius-users/2003-March/017153.html from: Carlo Tovazzi [EMAIL PROTECTED] try to launch ./configure in /freeradius-0.8.1/src/modules/rlm_sql/ probably is absent the rlm module for sql
kmd saya check cd /usr/local/freeradius-0.9.1/src/modules/rlm_sql/drivers/rlm_sql_mysql [EMAIL PROTECTED] rlm_sql_mysql]# ll total 88 -rw-r--r-- 1 root root 1063 Oct 6 15:16 config.cache -rw-r--r-- 1 root root 1142 Oct 6 16:38 config.log -rwxr-xr-x 1 root root 4953 Oct 6 16:38 config.status -rwxr-xr-x 1 aris 504 40469 Sep 4 23:14 configure -rw-r--r-- 1 aris 504 2805 Jul 12 2001 configure.in -rw-r--r-- 1 aris 504 4641 Jul 11 22:00 db_mysql.sql -rw-r--r-- 1 root root 257 Oct 6 16:38 Makefile -rw-r--r-- 1 aris 504 198 Jul 30 2002 Makefile.in -rw-r--r-- 1 aris 504 10811 Jul 10 04:46 sql_mysql.c ternyata memang nggak ada "rlm module for sql". [EMAIL PROTECTED] rlm_sql]# pwd /usr/local/freeradius-0.9.1/src/modules/rlm_sql [EMAIL PROTECTED] rlm_sql]# ./configure --disable-shared [EMAIL PROTECTED] rlm_sql]# make [EMAIL PROTECTED] rlm_sql]# make install check lagi: cd /usr/local/freeradius-0.9.1/src/modules/rlm_sql/drivers/rlm_sql_mysql [EMAIL PROTECTED] rlm_sql_mysql]# ll total 272 -rw-r--r-- 1 root root 1063 Oct 6 15:16 config.cache -rw-r--r-- 1 root root 1142 Oct 6 16:38 config.log -rwxr-xr-x 1 root root 4953 Oct 6 16:38 config.status -rwxr-xr-x 1 aris 504 40469 Sep 4 23:14 configure -rw-r--r-- 1 aris 504 2805 Jul 12 2001 configure.in -rw-r--r-- 1 aris 504 4641 Jul 11 22:00 db_mysql.sql -rw-r--r-- 1 root root 257 Oct 6 16:38 Makefile -rw-r--r-- 1 aris 504 198 Jul 30 2002 Makefile.in -rw-r--r-- 1 root root 54794 Oct 6 16:39 rlm_sql_mysql.a -rw-r--r-- 1 root root 789 Oct 6 16:39 rlm_sql_mysql.la -rw-r--r-- 1 aris 504 10811 Jul 10 04:46 sql_mysql.c -rw-r--r-- 1 root root 55372 Oct 6 16:39 sql_mysql.lo -rw-r--r-- 1 root root 54644 Oct 6 16:39 sql_mysql.o kesalahan yg saya lakukan sebelumnya, saya run "./configure" di: /usr/local/freeradius-0.9.1/src/modules/rlm_sql/drivers/rlm_sql_mysql padahal harusnya di : /usr/local/freeradius-0.9.1/src/modules/rlm_sql stl itu, bisa running radiusd dg lancar: ... rlm_sql (sql): Attempting to connect rlm_sql_mysql #4 rlm_sql_mysql: Starting connect to MySQL server for #4 rlm_sql (sql): Connected new DB handle, #4 Module: Instantiated sql (sql) ... Listening on IP address *, ports 1812/udp and 1813/udp, with proxy on 1814/udp. Ready to process requests. Hints lain yg bisa dicoba: http://lists.cistron.nl/pipermail/freeradius-users/2003-March/017156.html Did you install MySQL by compiling from source, or using a precompiled binary distribution from www.mysql.com ? You might want to try compiling from source if you haven't done so. I have observed on a recent FreeRADIUS upgrade that using the MySQL 3.23.55 precompiled binary distribution (at least for FreeBSD 4.x), that some libraries that FreeRADIUS rlm_mysql requires to compile are not included in the package. Compiling MySQL from source made all of the libraries that were needed and I was able to install FreeRADIUS with MySQL support after that. Cheers @rs-,-'-- -----Original Message----- From: Aris Prasetya NCS [mailto:[EMAIL PROTECTED] ... saat run "radiusd -X" ternyata ada error spt ini: rlm_sql (sql): Could not link driver rlm_sql_mysql: file not found rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search path of your system's ld. radiusd.conf[14]: sql: Module instantiation failed. -- Berhenti langganan: [EMAIL PROTECTED] Arsip dan info: http://linux.or.id/milis.php FAQ: [EMAIL PROTECTED]