I've tried doing a yum install of freeRadius on a centos 5 machine, but the latest version I could get was 1.1.3, which is no longer supported, and doesn't work properly for my needs. FR 1.1.3 with mysql 5 gives me these errors: Error: rlm_sql (sql): stop packet with zero session length. Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0 So I was hoping that updating might fix this problem, only to find that I can't seem to find an update for my machine. If not via yum, at least is there a repo or RPM for getting it on the CentOS? -Alex -- View this message in context: http://www.nabble.com/FR-on-CentOS-5-via-yum--tp18242950p18242950.html Sent from the FreeRadius - User mailing list archive at Nabble.com.
AlexDreadd wrote:
I've tried doing a yum install of freeRadius on a centos 5 machine, but the latest version I could get was 1.1.3, which is no longer supported, and doesn't work properly for my needs.
FR 1.1.3 with mysql 5 gives me these errors: Error: rlm_sql (sql): stop packet with zero session length. Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0
So I was hoping that updating might fix this problem, only to find that I can't seem to find an update for my machine. If not via yum, at least is there a repo or RPM for getting it on the CentOS? -Alex
The reason you can't find a more recent version for centos 5 is because that is an enterprise distribution which in the interest of stability does not introduce new versions of packages. However, you should be able to build a current Fedora RPM on a centos (e.g. RHEL) OS. You can find the fedora source rpm's on Koji http://koji.fedoraproject.org/koji The most recent Fedora 9 version is here: http://koji.fedoraproject.org/koji/buildinfo?buildID=53909 Download the source rpm (filename ends with .src.rpm) Install the src rpm % rpm -ihv freeradius-XXX.src.rpm Then build the src rpm with rpmbuild % rpmbuild -ba XXX/freeradius.spec Then install the resulting binary rpm's NOTE: The Fedora src rpms's were never meant to build on RHEL (centos), you may encounter build problems as a consequence. YMMV, you're on your own :-) -- John Dennis <jdennis@redhat.com>
On Mon, Jul 07, 2008 at 02:27:18PM -0400, John Dennis wrote:
NOTE: The Fedora src rpms's were never meant to build on RHEL (centos), you may encounter build problems as a consequence. YMMV, you're on your own :-)
I have recently built the Fedora 2.0.5-1 src.rpm on RHEL4, so it will probably also build ok on RHEL5. For RHEL4 I had to comment out the following lines in the spec file: BuildRequires: libtool-ltdl-devel BuildRequires: perl-devel Furthermore, comment out the first line of %post ("chown ..."), as this is a bug and will be removed in the next Fedora RPM. -- -- Jos Vos <jos@xos.nl> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204
On Mon, 2008-07-07 at 20:51 +0200, Jos Vos wrote:
On Mon, Jul 07, 2008 at 02:27:18PM -0400, John Dennis wrote:
NOTE: The Fedora src rpms's were never meant to build on RHEL (centos), you may encounter build problems as a consequence. YMMV, you're on your own :-)
I have recently built the Fedora 2.0.5-1 src.rpm on RHEL4, so it will probably also build ok on RHEL5.
For RHEL4 I had to comment out the following lines in the spec file:
BuildRequires: libtool-ltdl-devel
BuildRequires: perl-devel
Furthermore, comment out the first line of %post ("chown ..."), as this is a bug and will be removed in the next Fedora RPM.
Likewise we have CentOS 5.2 servers, but have rebuilt FR 5.0.1 from the source RPM from a Fedora 10 mirror. For that just comment out the 'perl-devel' from the spec file, run 'rpmbuild -ba freeradius.spec', then install the 'freeradius', 'freeradius-libs' and 'freeradius-utils' RPMs. It works fine. John. -- --------------------------------------------------------------- John Horne, University of Plymouth, UK Tel: +44 (0)1752 587287 E-mail: John.Horne@plymouth.ac.uk Fax: +44 (0)1752 587001
CentOS 5.1 also cames with 1.1.3. (I posted this on FreeRadius Wiki. ) So it is good idea to upgrade... AlexDreadd wrote:
I've tried doing a yum install of freeRadius on a centos 5 machine, but the latest version I could get was 1.1.3, which is no longer supported, and doesn't work properly for my needs.
FR 1.1.3 with mysql 5 gives me these errors: Error: rlm_sql (sql): stop packet with zero session length. Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0
So I was hoping that updating might fix this problem, only to find that I can't seem to find an update for my machine. If not via yum, at least is there a repo or RPM for getting it on the CentOS? -Alex
participants (5)
-
AlexDreadd -
John Dennis -
John Horne -
Jos Vos -
Marinko Tarlac