i originally installed CentOS 7.1 with FreeRadius V3.0.4. I then upgraded to V3.0.8 and am receiving the the below message. The application and the module numbers do not match. I don’t know how to correct this? /etc/raddb/mods-enabled/always[35]: Application and rlm_always magic number (version) mismatch. application: 30008 module: 30004
you need to remove ALL of files referenced to old version. e.g: *.so find / -iname "rlm_*.so" find / -iname freeradius-* look the path and notice if have mixed version installed in the same host. -- Jorge Pereira On Thu, Jul 2, 2015 at 2:45 PM, Kris Armstrong <kris.armstrong@me.com> wrote:
i originally installed CentOS 7.1 with FreeRadius V3.0.4. I then upgraded to V3.0.8 and am receiving the the below message. The application and the module numbers do not match. I don’t know how to correct this?
/etc/raddb/mods-enabled/always[35]: Application and rlm_always magic number (version) mismatch. application: 30008 module: 30004 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
HI Jorge Thanks for the response. here is what I am seeing. I think the /usr/local/lib is the “New Version 3.0.8” and the /usr/lib64/freeradius/ is the old. I pointed radius.conf to /usr/lib/64/freeradius/ which results in the original error. The problem Im seeing is the new lib location does not have the rim_mysql.so? Should I delete the usr/lib64/freeradius? then run a ./configure and make and make install again? /usr/lib64/freeradius/rlm_yubikey.so /usr/lib64/freeradius/rlm_sql_mysql.so /usr/lib64/freeradius/rlm_always.so /usr/lib64/freeradius/rlm_attr_filter.so /usr/lib64/freeradius/rlm_cache.so /usr/lib64/freeradius/rlm_chap.so /usr/lib64/freeradius/rlm_counter.so /usr/lib64/freeradius/rlm_cram.so /usr/lib64/freeradius/rlm_date.so /usr/lib64/freeradius/rlm_detail.so /usr/lib64/freeradius/rlm_dhcp.so /usr/lib64/freeradius/rlm_digest.so /usr/lib64/freeradius/rlm_dynamic_clients.so /usr/lib64/freeradius/rlm_eap.so /usr/lib64/freeradius/rlm_eap_gtc.so /usr/lib64/freeradius/rlm_eap_leap.so /usr/lib64/freeradius/rlm_eap_md5.so /usr/lib64/freeradius/rlm_eap_mschapv2.so /usr/lib64/freeradius/rlm_eap_peap.so /usr/lib64/freeradius/rlm_eap_pwd.so /usr/lib64/freeradius/rlm_eap_sim.so /usr/lib64/freeradius/rlm_eap_tls.so /usr/lib64/freeradius/rlm_eap_tnc.so /usr/lib64/freeradius/rlm_eap_ttls.so /usr/lib64/freeradius/rlm_exec.so /usr/lib64/freeradius/rlm_expiration.so /usr/lib64/freeradius/rlm_expr.so /usr/lib64/freeradius/rlm_files.so /usr/lib64/freeradius/rlm_ippool.so /usr/lib64/freeradius/rlm_linelog.so /usr/lib64/freeradius/rlm_logintime.so /usr/lib64/freeradius/rlm_mschap.so /usr/lib64/freeradius/rlm_otp.so /usr/lib64/freeradius/rlm_pam.so /usr/lib64/freeradius/rlm_pap.so /usr/lib64/freeradius/rlm_passwd.so /usr/lib64/freeradius/rlm_preprocess.so /usr/lib64/freeradius/rlm_radutmp.so /usr/lib64/freeradius/rlm_realm.so /usr/lib64/freeradius/rlm_replicate.so /usr/lib64/freeradius/rlm_soh.so /usr/lib64/freeradius/rlm_sometimes.so /usr/lib64/freeradius/rlm_sql.so /usr/lib64/freeradius/rlm_sql_null.so /usr/lib64/freeradius/rlm_sqlcounter.so /usr/lib64/freeradius/rlm_sqlippool.so /usr/lib64/freeradius/rlm_unix.so /usr/lib64/freeradius/rlm_unpack.so /usr/lib64/freeradius/rlm_utf8.so /usr/lib64/freeradius/rlm_wimax.so /usr/local/lib/rlm_sql.so /usr/local/lib/rlm_test.so /usr/local/lib/rlm_unpack.so /usr/local/lib/rlm_realm.so /usr/local/lib/rlm_date.so /usr/local/lib/rlm_cache.so /usr/local/lib/rlm_eap_gtc.so /usr/local/lib/rlm_eap_sim.so /usr/local/lib/rlm_mschap.so /usr/local/lib/rlm_eap_tls.so /usr/local/lib/rlm_digest.so /usr/local/lib/rlm_eap_mschapv2.so /usr/local/lib/rlm_chap.so /usr/local/lib/rlm_krb5.so /usr/local/lib/rlm_eap_pwd.so /usr/local/lib/rlm_detail.so /usr/local/lib/rlm_eap_leap.so /usr/local/lib/rlm_pap.so /usr/local/lib/rlm_eap_md5.so /usr/local/lib/rlm_expr.so /usr/local/lib/rlm_eap_ttls.so /usr/local/lib/rlm_passwd.so /usr/local/lib/rlm_eap_peap.so /usr/local/lib/rlm_sqlippool.so /usr/local/lib/rlm_utf8.so /usr/local/lib/rlm_dhcp.so /usr/local/lib/rlm_always.so /usr/local/lib/rlm_files.so /usr/local/lib/rlm_eap.so /usr/local/lib/rlm_logintime.so /usr/local/lib/rlm_attr_filter.so /usr/local/lib/rlm_soh.so /usr/local/lib/rlm_expiration.so /usr/local/lib/rlm_exec.so /usr/local/lib/rlm_unix.so /usr/local/lib/rlm_cram.so /usr/local/lib/rlm_otp.so /usr/local/lib/rlm_wimax.so /usr/local/lib/rlm_cache_rbtree.so /usr/local/lib/rlm_linelog.so /usr/local/lib/rlm_replicate.so /usr/local/lib/rlm_sometimes.so /usr/local/lib/rlm_dynamic_clients.so /usr/local/lib/rlm_radutmp.so /usr/local/lib/rlm_preprocess.so /usr/local/lib/rlm_sqlcounter.so /usr/local/lib/rlm_yubikey.so /usr/local/lib/rlm_sql_null.so > On Jul 2, 2015, at 12:41 PM, Jorge Pereira <jpereiran@gmail.com> wrote: > > you need to remove ALL of files referenced to old version. e.g: *.so > > find / -iname "rlm_*.so" > find / -iname freeradius-* > > look the path and notice if have mixed version installed in the same host. > > -- > Jorge Pereira > > On Thu, Jul 2, 2015 at 2:45 PM, Kris Armstrong <kris.armstrong@me.com> > wrote: > >> i originally installed CentOS 7.1 with FreeRadius V3.0.4. I then upgraded >> to V3.0.8 and am receiving the the below message. The application and the >> module numbers do not match. I don’t know how to correct this? >> >> /etc/raddb/mods-enabled/always[35]: Application and rlm_always magic >> number (version) mismatch. application: 30008 module: 30004 >> - >> List info/subscribe/unsubscribe? See >> http://www.freeradius.org/list/users.html > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Jul 2, 2015, at 5:27 PM, Kris Armstrong <kris.armstrong@me.com> wrote:
Thanks for the response. here is what I am seeing. I think the /usr/local/lib is the “New Version 3.0.8” and the /usr/lib64/freeradius/ is the old.
I pointed radius.conf to /usr/lib/64/freeradius/ which results in the original error. The problem Im seeing is the new lib location does not have the rim_mysql.so?
Because you don't have the MySQL client libraries or headers installed.
Should I delete the usr/lib64/freeradius? then run a ./configure and make and make install again?
You should build an RPM. See the "redhat" directory. The instructions are also on the Wiki. Alan DeKok.
On Thu, Jul 02, 2015 at 03:27:08PM -0600, Kris Armstrong wrote:
Should I delete the usr/lib64/freeradius? then run a ./configure and make and make install again?
I would remove everything installed and start again. When you start getting problems loading the right libraries that's probably your cleanest way to get back to something that works. Before you configure and make, ensure that the mysql development files are installed (check the output of configure), otherwise yes, you'll build a copy without support for mysql. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
participants (4)
-
Alan DeKok -
Jorge Pereira -
Kris Armstrong -
Matthew Newton