3.0.3 Segmentation fault (core dumped)
Hello, Running 3.0.3... from ppa:freeradius/stable-3.0 /usr/sbin/freeradius -v freeradius: FreeRADIUS Version 3.0.3, for host x86_64-pc-linux-gnu, built on May 20 2014 at 11:59:21 Am running four instances (in docker containers) on two VMs... behind a load balancer. After running for a couple hundred hours, instances start hitting seg faults... restarting the instances gets them going again for few hundred hours... How would you debug this in production settings? should I upgrade to newer version first? Thanks, Mohamed.
This ppa seems to only have 3.0.3: https://launchpad.net/~freeradius/+archive/ubuntu/stable-3.0 I see there is a test version with has 3.1.x : https://launchpad.net/~freeradius/+archive/ubuntu/testing-3.x The latter is probably not a good idea :) I am gonna learn howto build from source... but if there is a ppa or yum repo for latest 3.x I would love to try that instead. Thanks, Mohamed. On Thu, Apr 30, 2015 at 1:19 PM, Alan DeKok <aland@deployingradius.com> wrote:
On Apr 30, 2015, at 12:57 PM, Mohamed Lrhazi < Mohamed.Lrhazi@georgetown.edu> wrote:
How would you debug this in production settings? should I upgrade to newer version first?
Yes, upgrade.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On 30 Apr 2015, at 14:28, Mohamed Lrhazi <Mohamed.Lrhazi@georgetown.edu> wrote:
This ppa seems to only have 3.0.3: https://launchpad.net/~freeradius/+archive/ubuntu/stable-3.0
I see there is a test version with has 3.1.x : https://launchpad.net/~freeradius/+archive/ubuntu/testing-3.x
The latter is probably not a good idea :)
I am gonna learn howto build from source... but if there is a ppa or yum repo for latest 3.x I would love to try that instead.
make deb Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
2015-04-30 20:28 GMT+02:00 Mohamed Lrhazi <Mohamed.Lrhazi@georgetown.edu>:
This ppa seems to only have 3.0.3: https://launchpad.net/~freeradius/+archive/ubuntu/stable-3.0
I see there is a test version with has 3.1.x : https://launchpad.net/~freeradius/+archive/ubuntu/testing-3.x
The latter is probably not a good idea :)
I am gonna learn howto build from source... but if there is a ppa or yum repo for latest 3.x I would love to try that instead.
Following this guide it is easy as apt-get install :) http://wiki.freeradius.org/building/Build#Building-Debian-packages
Thanks, Mohamed.
On Thu, Apr 30, 2015 at 1:19 PM, Alan DeKok <aland@deployingradius.com> wrote:
On Apr 30, 2015, at 12:57 PM, Mohamed Lrhazi < Mohamed.Lrhazi@georgetown.edu> wrote:
How would you debug this in production settings? should I upgrade to newer version first?
Yes, upgrade.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Thanks guys.. got it to build and install cleanly with the bellow Dockerfile... "make deb" works too, but decided to use make install instead. I notice it installs as /etc/raddb... instead of the /etc/freeradius the previous package I was using used... also the binary is radiusd, instead of freeradius... is there a switch to ./configure to change these things? Thanks a lot, Mohamed. FROM ubuntu:latest # Run upgrades RUN apt-get update && apt-get -y upgrade # Install dependencies RUN apt-get install -y software-properties-common build-essential checkinstall libssl1.0.0 libssl-dev libtalloc-dev debhelper quilt autotools-dev libcurl4-gnutls-dev libcap-dev libgdbm-dev libiodbc2-dev libjson-c-dev libkrb5-dev libldap2-dev libpam0g-dev libpcap-dev libperl-dev libmysqlclient-dev libpq-dev libreadline-dev libsasl2-dev libsqlite3-dev libwbclient-dev libyubikey-dev python-dev RUN mkdir /src ADD files/freeradius-server-3.0.8.tar.gz /src RUN cd /src/freeradius-server-3.0.8 && ./configure --prefix=/ && make && make install On Thu, Apr 30, 2015 at 5:05 PM, Ben Humpert <ben@an3k.de> wrote: > 2015-04-30 20:28 GMT+02:00 Mohamed Lrhazi <Mohamed.Lrhazi@georgetown.edu>: > > This ppa seems to only have 3.0.3: > > https://launchpad.net/~freeradius/+archive/ubuntu/stable-3.0 > > > > I see there is a test version with has 3.1.x : > > https://launchpad.net/~freeradius/+archive/ubuntu/testing-3.x > > > > The latter is probably not a good idea :) > > > > I am gonna learn howto build from source... but if there is a ppa or yum > > repo for latest 3.x I would love to try that instead. > > Following this guide it is easy as apt-get install :) > http://wiki.freeradius.org/building/Build#Building-Debian-packages > > > Thanks, > > Mohamed. > > > > > > On Thu, Apr 30, 2015 at 1:19 PM, Alan DeKok <aland@deployingradius.com> > > wrote: > > > >> On Apr 30, 2015, at 12:57 PM, Mohamed Lrhazi < > >> Mohamed.Lrhazi@georgetown.edu> wrote: > >> > How would you debug this in production settings? should I upgrade to > >> newer > >> > version first? > >> > >> Yes, upgrade. > >> > >> Alan DeKok. > >> > >> > >> - > >> List info/subscribe/unsubscribe? See > >> http://www.freeradius.org/list/users.html > >> > > - > > 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 01-05-15 00:31, Mohamed Lrhazi wrote:
Thanks guys.. got it to build and install cleanly with the bellow Dockerfile... "make deb" works too, but decided to use make install instead.
I notice it installs as /etc/raddb... instead of the /etc/freeradius the previous package I was using used... also the binary is radiusd, instead of freeradius... is there a switch to ./configure to change these things?
Those are Debian-defined locations. There is no configure switch, but you could apply the patch from debian/patches/radiusd-to-freeradius.diff before compiling, but building deb-packages is really a better idea. -- Herwin Weststrate
Thanks guys.. got it to build and install cleanly with the bellow Dockerfile... "make deb" works too, but decided to use make install instead.
Deciding to 'make install' means you are *not* building it for Debian (i.e. with specific changes for Debian, like the name of the binary and some other oddities). 'make deb' does.
I notice it installs as /etc/raddb... instead of the /etc/freeradius the previous package I was using used... also the binary is radiusd, instead of freeradius... is there a switch to ./configure to change these things?
See above. Using the Debian-specific scripts and commands will build FR for Debian (and its specific changes). Stefan Paetow Moonshot Industry & Research Liaison Coordinator t: +44 (0)1235 822 125 gpg: 0x3FCE5142 xmpp: stefanp@jabber.dev.ja.net skype: stefan.paetow.janet Lumen House, Library Avenue, Harwell Oxford, Didcot, OX11 0SG jisc.ac.uk Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800. Jisc Collections and Janet Ltd. is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under Company No. number 2881024, VAT No. GB 197 0632 86. The registered office is: Lumen House, Library Avenue, Harwell, Didcot, Oxfordshire, OX11 0SG. T 01235 822200.
Hi,
Running 3.0.3... from ppa:freeradius/stable-3.0
old. many bugs
How would you debug this in production settings? should I upgrade to newer version first?
upgrade first - you'll probably find the issue is already fixed (read release notes/big fixes for 3.0.4, 3.0.5, 3.0.6, 3.0.7 and 3.0.8 if you want to see how many fixes have been put in since 3.0.3 :/ ) alan
Thanks. We'll move to latest. On Thursday, April 30, 2015, <A.L.M.Buxey@lboro.ac.uk> wrote:
Hi,
Running 3.0.3... from ppa:freeradius/stable-3.0
old. many bugs
How would you debug this in production settings? should I upgrade to newer version first?
upgrade first - you'll probably find the issue is already fixed (read release notes/big fixes for 3.0.4, 3.0.5, 3.0.6, 3.0.7 and 3.0.8 if you want to see how many fixes have been put in since 3.0.3 :/ )
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Sent from Gmail Mobile
participants (7)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Arran Cudbard-Bell -
Ben Humpert -
Herwin Weststrate -
Mohamed Lrhazi -
Stefan Paetow