Failed to load module "jradius" freeradius server

Iftakhul Anwar anwar at meruvian.org
Fri Mar 8 02:30:30 CET 2013


I try to downgrade to freeradius-server-2.1.1 as following from
http://coova.org/JRadius/FreeRADIUS

But when i try to running radiusd on foregound i got error message like
bellow :

radiusd -X
FreeRADIUS Version 2.1.1, for host x86_64-unknown-linux-gnu, built on Mar
 8 2013 at 08:13:26
Copyright (C) 1999-2008 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file /usr/local/etc/raddb/radiusd.conf
including configuration file /usr/local/etc/raddb/proxy.conf
including configuration file /usr/local/etc/raddb/clients.conf
including files in directory /usr/local/etc/raddb/modules/
including configuration file /usr/local/etc/raddb/modules/detail
including configuration file /usr/local/etc/raddb/modules/exec
including configuration file /usr/local/etc/raddb/modules/mac2vlan
including configuration file /usr/local/etc/raddb/modules/ippool
including configuration file /usr/local/etc/raddb/modules/always
including configuration file /usr/local/etc/raddb/modules/sql_log
including configuration file /usr/local/etc/raddb/modules/ldap
including configuration file /usr/local/etc/raddb/modules/mschap
including configuration file /usr/local/etc/raddb/modules/realm
including configuration file /usr/local/etc/raddb/modules/logintime
including configuration file /usr/local/etc/raddb/modules/expr
including configuration file /usr/local/etc/raddb/modules/attr_filter
including configuration file /usr/local/etc/raddb/modules/smbpasswd
including configuration file /usr/local/etc/raddb/modules/krb5
including configuration file /usr/local/etc/raddb/modules/echo
including configuration file /usr/local/etc/raddb/modules/files
including configuration file /usr/local/etc/raddb/modules/detail.example.com
including configuration file /usr/local/etc/raddb/modules/inner-eap
including configuration file /usr/local/etc/raddb/modules/radutmp
including configuration file /usr/local/etc/raddb/modules/pam
including configuration file /usr/local/etc/raddb/modules/mac2ip
including configuration file /usr/local/etc/raddb/modules/acct_unique
including configuration file /usr/local/etc/raddb/modules/detail.log
including configuration file /usr/local/etc/raddb/modules/passwd
including configuration file /usr/local/etc/raddb/modules/linelog
including configuration file /usr/local/etc/raddb/modules/pap
including configuration file /usr/local/etc/raddb/modules/preprocess
including configuration file /usr/local/etc/raddb/modules/checkval
including configuration file /usr/local/etc/raddb/modules/unix
including configuration file /usr/local/etc/raddb/modules/wimax
including configuration file /usr/local/etc/raddb/modules/counter
including configuration file /usr/local/etc/raddb/modules/attr_rewrite
including configuration file /usr/local/etc/raddb/modules/sradutmp
including configuration file /usr/local/etc/raddb/modules/digest
including configuration file /usr/local/etc/raddb/modules/etc_group
including configuration file /usr/local/etc/raddb/modules/chap
including configuration file /usr/local/etc/raddb/modules/expiration
including configuration file /usr/local/etc/raddb/modules/policy
including configuration file /usr/local/etc/raddb/eap.conf
including configuration file /usr/local/etc/raddb/sql.conf
including configuration file /usr/local/etc/raddb/sql/mysql/dialup.conf
including configuration file /usr/local/etc/raddb/sql/mysql/counter.conf
including configuration file /usr/local/etc/raddb/policy.conf
including files in directory /usr/local/etc/raddb/sites-enabled/
including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel
including configuration file /usr/local/etc/raddb/sites-enabled/default
including dictionary file /usr/local/etc/raddb/dictionary
main {
prefix = "/usr/local"
localstatedir = "/usr/local/var"
logdir = "/usr/local/var/log/radius"
libdir = "/usr/local/lib"
radacctdir = "/usr/local/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
allow_core_dumps = no
pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
checkrad = "/usr/local/sbin/checkrad"
debug_level = 0
proxy_requests = yes
 log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
 }
 security {
max_attributes = 200
reject_delay = 1
status_server = yes
 }
}
 client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "testing123"
nastype = "other"
 }
radiusd: #### Loading Realms and Home Servers ####
 proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
 }
 home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = "testing123"
response_window = 20
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
num_answers_to_alive = 3
num_pings_to_alive = 3
revive_interval = 120
status_check_timeout = 4
 }
 home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
 }
 realm example.com {
auth_pool = my_auth_failover
 }
 realm LOCAL {
 }
Segmentation fault (core dumped)


I'm running on ubuntu 12.04 machine.

Any suggestion what should i do in order  to jradius running on my radius
server ?



On Fri, Mar 8, 2013 at 7:21 AM, Iftakhul Anwar <anwar at meruvian.org> wrote:

> i've found rlm_jradius on src/modules.
>
> But after i ./configure and make and make install i can't found jradius
> modules on my radiusd installation.
>
> Then I try to configure with command :  ./configure
> --with-experimental-modules=yes
>
> but i got error like bellow :
>
> if [ "xrlm_cram" != "x" ]; then \
>      /home/iam/Downloads/freeradius-server-2.2.0/libtool --mode=install
> /home/iam/Downloads/freeradius-server-2.2.0/install-sh -c -c \
>  rlm_cram.la /usr/local/lib/rlm_cram.la || exit $?; \
>      rm -f /usr/local/lib/rlm_cram-2.2.0.la; \
>      ln -s rlm_cram.la /usr/local/lib/rlm_cram-2.2.0.la || exit $?; \
>  fi
> libtool: install: `rlm_cram.la' is not a valid libtool archive
> Try `libtool --help --mode=install' for more information.
> make[6]: *** [install] Error 1
> make[6]: Leaving directory
> `/home/iam/Downloads/freeradius-server-2.2.0/src/modules/rlm_cram'
> make[5]: *** [rlm_cram] Error 2
> make[5]: Leaving directory
> `/home/iam/Downloads/freeradius-server-2.2.0/src/modules'
> make[4]: *** [install] Error 2
> make[4]: Leaving directory
> `/home/iam/Downloads/freeradius-server-2.2.0/src/modules'
> make[3]: *** [modules] Error 2
> make[3]: Leaving directory
> `/home/iam/Downloads/freeradius-server-2.2.0/src'
> make[2]: *** [install] Error 2
> make[2]: Leaving directory
> `/home/iam/Downloads/freeradius-server-2.2.0/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/home/iam/Downloads/freeradius-server-2.2.0'
>
>
> i'm running on ubuntu 12.04
>
> is there bug of freeradius 2.2.0 for this ubuntu version
>
>
> On Fri, Mar 8, 2013 at 7:17 AM, Fajar A. Nugraha <list at fajar.net> wrote:
>
>> On Fri, Mar 8, 2013 at 3:02 AM, Arran Cudbard-Bell
>> <a.cudbardb at freeradius.org> wrote:
>> >
>> > On 7 Mar 2013, at 10:55, Iftakhul Anwar <anwar at meruvian.org> wrote:
>> >
>> >> Actually i install freeradius from apt-get ,
>> >
>> > Right, so jradius won't have been built.
>>
>> Actually, it should be available. That is, if you use Ubuntu Quantal,
>> or Debian Testing.
>>
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599067
>>
>> http://changelogs.ubuntu.com/changelogs/pool/main/f/freeradius/freeradius_2.1.12+dfsg-1.1/changelog
>>
>> If you use older version of the distro (e.g. Ubuntu precise) then you
>> either need to rebuild the source package, or learn how to install
>> packages from other distro/versions. Both are outside the scope of
>> this list, but should be easy to do with the help of Google search.
>>
>> --
>> Fajar
>> -
>> 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
>
>


-- 
*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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130308/6200e701/attachment-0001.html>


More information about the Freeradius-Users mailing list