Results 1 to 2 of 2

Thread: Failed to load module "jradius" freeradius server

Hybrid View

  1. #1
    Join Date
    Mar 2013
    Beans
    3

    Failed to load module "jradius" freeradius server

    HI All,

    I just installed free radius server using apt-get on my ubuntu machine.
    Now i want to configure jradius on my freeradius server.


    I follow step by step from http://coova.org/JRadius/FreeRADIUS.


    Firstly my freeradius server running well, whereas i've configure it with mysql and coovachilli.
    Then i configure with jradius, i inserted module on radius.conf file on module section like bellow :



    Code:
           # configure the rlm_jradius module       
    
    jradius {          
    name      = "radius"                     
    primary   = "localhost"          
    secondary = "192.168.2.3"            
    tertiary  = "192.168.2.3:8002"          
    timeout   = 1                       
    onfail    = NOOP                                                           
                                                                                    
    keepalive = yes                 
    connections = 8                 
       }
    Then i add some authorization on /etc/freeradius/site-avalaible/default like bellow


    Code:
    authorize {
         ... 
         jradius    }
         
    post-auth {
       ... 
      jradius 
              Post-Auth-Type REJECT { 
                            jradius                               } 
              } 
    
    preacct {
       ... 
       jradius 
       }
          
    accounting {
           ... 
          jradius 
       }
    Finally i try to running on foreground to know that my configuration has been success, but i get error message like bellow :



    Code:
    Thu Mar  7 13:56:15 2013 : Debug:  } # modules
    Thu Mar  7 13:56:15 2013 : Debug: } # server
    Thu Mar  7 13:56:15 2013 : Debug: server { # from file /etc/freeradius/radiusd.conf
    Thu Mar  7 13:56:15 2013 : Debug:  modules {
    Thu Mar  7 13:56:15 2013 : Debug:  Module: Checking authenticate {...} for more modules to load
    Thu Mar  7 13:56:15 2013 : Debug:     (Loaded rlm_digest, checking if it's valid)
    Thu Mar  7 13:56:15 2013 : Debug:  Module: Linked to module rlm_digest
    Thu Mar  7 13:56:15 2013 : Debug:  Module: Instantiating module "digest" from file /etc/freeradius/modules/digest
    Thu Mar  7 13:56:15 2013 : Debug:  Module: Checking authorize {...} for more modules to load
    Thu Mar  7 13:56:15 2013 : Debug:     (Loaded rlm_preprocess, checking if it's valid)
    Thu Mar  7 13:56:15 2013 : Debug:  Module: Linked to module rlm_preprocess
    Thu Mar  7 13:56:15 2013 : Debug:  Module: Instantiating module "preprocess" from file /etc/freeradius/modules/preprocess
    Thu Mar  7 13:56:15 2013 : Debug:   preprocess {
    Thu Mar  7 13:56:15 2013 : Debug:     huntgroups = "/etc/freeradius/huntgroups"
    Thu Mar  7 13:56:15 2013 : Debug:     hints = "/etc/freeradius/hints"
    Thu Mar  7 13:56:15 2013 : Debug:     with_ascend_hack = no
    Thu Mar  7 13:56:15 2013 : Debug:     ascend_channels_per_line = 23
    Thu Mar  7 13:56:15 2013 : Debug:     with_ntdomain_hack = no
    Thu Mar  7 13:56:15 2013 : Debug:     with_specialix_jetstream_hack = no
    Thu Mar  7 13:56:15 2013 : Debug:     with_cisco_vsa_hack = no
    Thu Mar  7 13:56:15 2013 : Debug:     with_alvarion_vsa_hack = no
    Thu Mar  7 13:56:15 2013 : Debug:   }
    Thu Mar  7 13:56:15 2013 : Error: /etc/freeradius/radiusd.conf[644]: Failed to link to module 'rlm_jradius': file not found 
    Thu Mar  7 13:56:15 2013 : Error: /etc/freeradius/sites-enabled/default[71]: Failed to load module "jradius".
    Thu Mar  7 13:56:15 2013 : Error: /etc/freeradius/sites-enabled/default[62]: Errors parsing authorize section.



    What this error ?


    How i can solve this issue ?




    Thanks
    Last edited by troya; March 7th, 2013 at 10:42 AM. Reason: Removed font tags; added [code] tags for readability

  2. #2
    Join Date
    Jun 2007
    Location
    Porirua, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Failed to load module "jradius" freeradius server

    Is that a direct copy/paste of the config files? I would have added [code] and [/code] tags, but it still didn't look right....
    Forum DOs and DON'Ts
    Never assume that information you find using a search engine is up-to-date.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •