rlm_python crash on reload

Nicolas Castel castelnicolas at gmail.com
Thu Apr 19 10:03:18 CEST 2007


Hi,

FreeRADIUS still crashes on reload with predefined configuration
(without python module this time).
Is there a workaround to reload FreeRADIUS configuration without stopping
FreeRADIUS server ?

Some logs follow :

$ radiusd -d <configuration directory>
Wed Apr 18 15:27:01 2007 : Info: Starting - reading configuration files ...
$ tail -f /exec/products/freeradius/v116/var/log/radius/radius.log
Wed Apr 18 15:27:01 2007 : Info: Using deprecated naslist file.  Support for
this will go away soon.
Wed Apr 18 15:27:01 2007 : Info: rlm_exec: Wait=yes but no output defined.
Did you mean output=none?
Wed Apr 18 15:27:01 2007 : Info: Ready to process requests.
$ ps aux | grep -v grep | grep radiusd | awk '{print $2}'
9804

/* Access-Request sending */
/* Access-Reject received */

$ kill -HUP 9804

$ tail -f /exec/products/freeradius/v116/var/log/radius/radius.log
Wed Apr 18 15:31:34 2007 : Info: Reloading configuration files.
$ ps aux | grep -v grep | grep radiusd | awk '{print $2}'
9804

/* Access-Request sending */
/* no response */

$ ps aux | grep -v grep | grep radiusd | awk '{print $2}'
<nothing>

-------------------------------------------------------------------------------
/* FreeRADIUS archive : freeradius-1.1.6.tar.gz retrieved on April 16th
(md5sum a053d353ce5f393cb70795fd363a586f) */

/* FreeRADIUS server compilation and installation */
$ ./configure --prefix=/exec/products/freeradius/v<VERSION>\
                --exec-prefix=/exec/products/freeradius/v<VERSION> \
                --with-openssl-includes=/usr/include/openssl \
                --with-openssl-libraries=/usr/lib
$ make
$ make install

Platform : RedHat AS4 Update 3

Installed RPM :
    - python-devel-2.3.4-14.1.i386.rpm
    - zlib-devel-1.2.1.2-1.2.i386.rpm
    - e2fsprogs-devel-1.35-12.3.EL4.i386.rpm
    - krb5-devel-1.3.4-27.i386.rpm
    - openssl-devel-0.9.7a-43.8.i386.rpm
    - glibc-headers-2.3.4-2.19.i386.rpm
    - glibc-devel-2.3.4-2.19.i386.rpm
    - gcc-3.4.5-2.i386.rpm

-------------------------------------------------------------------------------

Thanks.

2007/4/10, Alan DeKok <aland at deployingradius.com>:
>
> Nicolas Castel wrote:
> > I tried to use the rlm_python module, but it seems to get the freeradius
> > server crash when i send a SIGHUP to radiusd process. The test has been
> > done with the head of freeradius 1.1 branch and with the default
> > configuration. I just wanted to print some info about the request thanks
> > to  the rlm_python module. Is it a known bug ?
>
>   Yes.  There is a work-around in 1.1.6, which should be released this
> week.
>
>   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/devel.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20070419/d1e6f581/attachment.html>


More information about the Freeradius-Devel mailing list