2.0.0-pre0 from CVS: Invalid version in module
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I don't know if this is better asked on the developers list, but before I bother these guys I will try it here. I've just compiled the CVS version from 20060830 with prefix=/root/bin/freeradius-cvs. When starting radiusd it complains that the compiled modules have the wrong version: - ----8<---- radiusd: entering modules setup Module: Library search path is /root/bin/freeradius-cvs/lib radiusd.conf[1634] Invalid version in module 'rlm_exec' Errors setting up modules - ---->8---- This happens not only for the rlm_exec module, if I comment this out it gives an error for rlm_expr ... a.s.o. I have: radiusd: FreeRADIUS Version 2.0.0-pre0, for host x86_64-unknown-linux-gnu, built on Aug 30 2006 at 12:58:10 And all the modules in lib are freshly build and installed with the server. I have also checked the radiusd.conf for wrong lib paths. Any ideas what happend here? thanks, Christian Hahn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE9Yje6kMW7HW8620RAnmdAKC71GKjxryrD12RczaZInhDNysI3gCfeFWW ExBmtSIHLtV4xvd/0npiLFI= =e4Dt -----END PGP SIGNATURE-----
I've just compiled the CVS version from 20060830 with prefix=/root/bin/freeradius-cvs. When starting radiusd it complains that the compiled modules have the wrong version:
I've been running 2.0.0-pre0 for quite some time, and constanty cvs update too. I'm not sure what exact date my check out is, but I run this and have never seen any problems that you pointed out. ./configure --prefix=/usr \ --libexecdir=/usr/sbin \ --localstatedir=/var \ --sysconfdir=/etc \ --with-raddbdir=/srv/radiusd \ --with-docdir=/usr/share/doc/freeradius-2.0.0-pre0 \ --with-logdir=/var/log \ --with-radacctdir=/srv/radiusd/acct \ --with-gnu-ld \ --without-rlm_x99_token && make && make install &&
- ----8<---- radiusd: entering modules setup Module: Library search path is /root/bin/freeradius-cvs/lib radiusd.conf[1634] Invalid version in module 'rlm_exec' Errors setting up modules - ---->8----
This happens not only for the rlm_exec module, if I comment this out it gives an error for rlm_expr ... a.s.o. I have:
radiusd: FreeRADIUS Version 2.0.0-pre0, for host x86_64-unknown-linux-gnu, built on Aug 30 2006 at 12:58:10
And all the modules in lib are freshly build and installed with the server. I have also checked the radiusd.conf for wrong lib paths.
Any ideas what happend here?
thanks, Christian Hahn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE9Yje6kMW7HW8620RAnmdAKC71GKjxryrD12RczaZInhDNysI3gCfeFWW ExBmtSIHLtV4xvd/0npiLFI= =e4Dt -----END PGP SIGNATURE----- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Christian Hahn <hahn@berkom.de> wrote:
I've just compiled the CVS version from 20060830 with prefix=/root/bin/freeradius-cvs. When starting radiusd it complains that the compiled modules have the wrong version:
- ----8<---- radiusd: entering modules setup Module: Library search path is /root/bin/freeradius-cvs/lib radiusd.conf[1634] Invalid version in module 'rlm_exec' Errors setting up modules
You've installed the CVS version on a box which already had 1.1.3, and it's picking up the old modules. Those modules are incompatible, hence the error message.
And all the modules in lib are freshly build and installed with the server. I have also checked the radiusd.conf for wrong lib paths.
The only other thing is that maybe it's a 64 bit issue? The CVS version works fine for me, but I don't run on a 64-bit platform. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alan DeKok wrote:
Christian Hahn <hahn@berkom.de> wrote:
I've just compiled the CVS version from 20060830 with prefix=/root/bin/freeradius-cvs. When starting radiusd it complains that the compiled modules have the wrong version:
- ----8<---- radiusd: entering modules setup Module: Library search path is /root/bin/freeradius-cvs/lib radiusd.conf[1634] Invalid version in module 'rlm_exec' Errors setting up modules
You've installed the CVS version on a box which already had 1.1.3, and it's picking up the old modules. Those modules are incompatible, hence the error message. You are right there is a v1.1.3 installed, but I configured the CVS version with completely different prefix and the lib path points only to /root/bin/freeradius-cvs/lib , so I thought this would be enough.
I've just got around this by commenting out the user=radiusd and group=radiusd statements in the radiusd.conf. If I start the server with root privileges it don't complains about the modules. But I would not do this longer then for testing purposes.
And all the modules in lib are freshly build and installed with the server. I have also checked the radiusd.conf for wrong lib paths.
The only other thing is that maybe it's a 64 bit issue? The CVS version works fine for me, but I don't run on a 64-bit platform.
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE9qyG6kMW7HW8620RAoqGAJ4vUimIvVmSGzsSwb5e3ub1/EtxKwCgzJON AcIqjl5UHZ4Funp/fnzKFcw= =lR4d -----END PGP SIGNATURE-----
participants (3)
-
Alan DeKok -
Christian Hahn -
Duane Cox