Good Morning ! We are working on using the RLM_Rest to query a Web Server. When I run radiusd -X we receive the following error. /etc/raddb/mods-enabled/rest[1]: Failed to link to module 'rlm_rest': /usr/lib64/freeradius/rlm_rest.so: cannot open shared object file: No such file or directory Not sure if I am missing a package or if I have to compile something to create the RLM_REST.SO File. I definitely do not have the file in the directory shown below. What is the process to create this file? Thank You Chris Contents of the directory: /usr/lib64/freeradius/ libfreeradius-dhcp.so rlm_chap.so rlm_eap_leap.so rlm_exec.so rlm_pam.so rlm_sqlippool.so libfreeradius-eap.so rlm_counter.so rlm_eap_md5.so rlm_expiration.so rlm_pap.so rlm_sql_mysql.so libfreeradius-radius.so rlm_cram.so rlm_eap_mschapv2.so rlm_expr.so rlm_passwd.so rlm_sql_null.so libfreeradius-server.so rlm_date.so rlm_eap_peap.so rlm_files.so rlm_preprocess.so rlm_sql.so proto_dhcp.so rlm_detail.so rlm_eap_pwd.so rlm_ippool.so rlm_radutmp.so rlm_unix.so proto_vmps.so rlm_dhcp.so rlm_eap_sim.so rlm_ldap.so rlm_realm.so rlm_unpack.so rlm_always.so rlm_digest.so rlm_eap.so rlm_linelog.so rlm_replicate.so rlm_utf8.so rlm_attr_filter.so rlm_dynamic_clients.so rlm_eap_tls.so rlm_logintime.so rlm_soh.so rlm_wimax.so rlm_cache_rbtree.so rlm_eap_fast.so rlm_eap_tnc.so rlm_mschap.so rlm_sometimes.so rlm_yubikey.so rlm_cache.so rlm_eap_gtc.so rlm_eap_ttls.so rlm_otp.so rlm_sqlcounter.so
On Thu, 2018-03-22 at 11:50 -0400, Christian Becerra wrote:
/etc/raddb/mods-enabled/rest[1]: Failed to link to module 'rlm_rest': /usr/lib64/freeradius/rlm_rest.so: cannot open shared object file: No such file or directory
Not sure if I am missing a package or if I have to compile something to create the RLM_REST.SO File.
If you compiled the server from source, likely you didn't have required dependencies installed (curl development library/headers comes to mind) so the module didn't get built. See the configure output and it'll tell you the problem. If installed from a package, you didn't install the rest module package. -- Matthew
Thanks for the reply ! This is what I used: yum -y install freeradius freeradius-utils freeradius-mysql How can I install it manually? Thanks! On Thu, Mar 22, 2018 at 12:14 PM, Matthew Newton <mcn@freeradius.org> wrote:
On Thu, 2018-03-22 at 11:50 -0400, Christian Becerra wrote:
/etc/raddb/mods-enabled/rest[1]: Failed to link to module 'rlm_rest': /usr/lib64/freeradius/rlm_rest.so: cannot open shared object file: No such file or directory
Not sure if I am missing a package or if I have to compile something to create the RLM_REST.SO File.
If you compiled the server from source, likely you didn't have required dependencies installed (curl development library/headers comes to mind) so the module didn't get built. See the configure output and it'll tell you the problem.
If installed from a package, you didn't install the rest module package.
-- Matthew
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
On Thu, 2018-03-22 at 12:30 -0400, Christian Becerra wrote:
Thanks for the reply !
This is what I used:
yum -y install freeradius freeradius-utils freeradius-mysql
yum install freeradius-rest Packages available from NetworkRADIUS if your OS doesn't supply that. http://packages.networkradius.com/ -- Matthew
Thank You - I create a new repo file for free radius and the packages have been updated. I know have the rlm_rest.so file. On Thu, Mar 22, 2018 at 12:37 PM, Matthew Newton <mcn@freeradius.org> wrote:
On Thu, 2018-03-22 at 12:30 -0400, Christian Becerra wrote:
Thanks for the reply !
This is what I used:
yum -y install freeradius freeradius-utils freeradius-mysql
yum install freeradius-rest
Packages available from NetworkRADIUS if your OS doesn't supply that.
http://packages.networkradius.com/
-- Matthew
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
participants (2)
-
Christian Becerra -
Matthew Newton