Send Freeradius-Users mailing list submissions to
freeradius-users@lists.freeradius.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freeradius.org/mailman/listinfo/freeradius-users
or, via email, send a message with subject or body 'help' to
freeradius-users-request@lists.freeradius.org
You can reach the person managing the list at
freeradius-users-owner@lists.freeradius.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Freeradius-Users digest..."
Today's Topics:
1. Re: Very pleased with 2.2.4 (Alan DeKok)
2. Re: mschap Freeradius 3 (Arran Cudbard-Bell)
3. RE: Re: mschap Freeradius 3 (nicolas.clo@ricoh-industrie.fr)
4. Re: Core dump on start of FR3.0.1 (Alan DeKok)
5. undefined reference to 'pthread_' (Marco Marino)
6. RE: Core dump on start of FR3.0.1 (Palmer J.D.F.)
7. Re: undefined reference to 'pthread_' (Alan DeKok)
----------------------------------------------------------------------
Message: 1
Date: Mon, 20 Jan 2014 09:32:11 -0500
From: Alan DeKok <aland@deployingradius.com>
To: FreeRadius users mailing list
<freeradius-users@lists.freeradius.org>
Subject: Re: Very pleased with 2.2.4
Message-ID: <52DD336B.5090303@deployingradius.com>
Content-Type: text/plain; charset=ISO-8859-1
Rui Ribeiro wrote:
> I?d like to congratulate you for the excellent work in freeradius and
> the last 2.2.4 update.
> Finally our freeradius doesnt stop work every x hours, and instead logs
> an error and resumes working.
>
> Now instead of giving every couple of hours the errors:
>
> Thu Nov 7 18:32:09 2013 : Error: rlm_sql (sql): Failed to connect DB
> handle #1
Those messages indicate issues with the database. They should be
fixed, rather than ignored.
> It just says:
>
> at Jan 18 09:22:26 2014 : Error: [sql] Couldn't insert SQL accounting
> START record - Deadlock found when trying to get lock; try restarting
> transaction
Those messages indicate problems with the database. As Arran said,
nothing changed to account for this.
I'd suggest ensuring that your database is fast enough to handle the load.
Alan DeKok.
------------------------------
Message: 2
Date: Mon, 20 Jan 2014 14:42:30 +0000
From: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
To: FreeRadius users mailing list
<freeradius-users@lists.freeradius.org>
Subject: Re: mschap Freeradius 3
Message-ID: <F877BA52-7537-4034-B9B1-1F9EA89EB617@freeradius.org>
Content-Type: text/plain; charset="iso-8859-1"
On 20 Jan 2014, at 14:22, nicolas.clo@ricoh-industrie.fr wrote:
> It seems to miss the dollar's value at end.
What do you mean by that...
Ready to process requests
rad_recv: Access-Request packet from host 127.0.0.1 port 54106, id=127, length=38
User-Name = 'host/foo.boo.moo'
(0) # Executing section authorize from file /usr/local/freeradius/etc/raddb/sites-enabled/default
(0) authorize {
(0) update request {
(0) expand: "%{mschap:User-Name}" -> 'foo$'
(0) Tmp-String-0 := "foo$"
(0) } # update request = noop
Arran Cudbard-Bell <a.cudbardb@freeradius.org>
FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140120/edec9cb2/attachment-0001.pgp>
------------------------------
Message: 3
Date: Mon, 20 Jan 2014 15:56:38 +0100
From: nicolas.clo@ricoh-industrie.fr
To: FreeRadius users mailing list
<freeradius-users@lists.freeradius.org>
Subject: RE: Re: mschap Freeradius 3
Message-ID:
<OF0CCB2CA6.F717431C-ONC1257C66.0051DA89-C1257C66.005215DF@ricoh-industrie.fr>
Content-Type: text/plain; charset="iso-8859-1"
Sorry, I have made a stupid error.
Thanks.
>On 20 Jan 2014, at 14:22, nicolas.clo@ricoh-industrie.fr wrote:
> It seems to miss the dollar's value at end.
>What do you mean by that...
>Ready to process requests
>rad_recv: Access-Request packet from host 127.0.0.1 port 54106, id=127, length=38
> User-Name = 'host/foo.boo.moo'
>(0) # Executing section authorize from file /usr/local/freeradius/etc/raddb/sites-enabled/default
>(0) authorize {
>(0) update request {
>(0) expand: "%{mschap:User-Name}" -> 'foo$'
>(0) Tmp-String-0 := "foo$"
>(0) } # update request = noop
>Arran Cudbard-Bell <a.cudbardb@freeradius.org>
>FreeRADIUS Development Team
>FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
>[pi?ce jointe "signature.asc" supprim?e par Nicolas Clo/RIF] -
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140120/fc6d0867/attachment-0001.html>
------------------------------
Message: 4
Date: Mon, 20 Jan 2014 10:27:18 -0500
From: Alan DeKok <aland@deployingradius.com>
To: FreeRadius users mailing list
<freeradius-users@lists.freeradius.org>
Subject: Re: Core dump on start of FR3.0.1
Message-ID: <52DD4056.7030602@deployingradius.com>
Content-Type: text/plain; charset=ISO-8859-1
Palmer J.D.F. wrote: talloc_free(*q);
> (gdb) p*q
> $1 = 0x8 <Address 0x8 out of bounds>
> (gdb) p *q
Hmm... that's very wrong.
> How would I go about checking this?
You look at /usr/lib (or where ever you installed the libraries), and
ensure that there are no 3.0.0 libraries around.
> I have ran 'make uninstall' from both fr3.0.0 and fr3.0.1 source directories; then ran make install again from 3.0.1 but I still get a segfault.
> To confirm, if I then re-install fr3.0.0 it runs.
There is no "make uninstall" target. Running it does nothing. You
need to administer the system yourself.
If you install from packages, this is all handled for you.
I'm going to put this problem down as a shared library conflict. It's
simple enough that if it was real, *everyone* would be seeing it. And
they don't.
Alan DeKok.
------------------------------
Message: 5
Date: Mon, 20 Jan 2014 16:58:40 +0100
From: Marco Marino <marino.mrc@gmail.com>
To: freeradius-users@lists.freeradius.org
Subject: undefined reference to 'pthread_'
Message-ID:
<CAFHVVuKA8Uk=PtbdOYo9ygnQa56NEtVpbas3_J8PLi7k_B=4Yg@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I'm trying to compile freeradius 2.2.3 on ubuntu 13.10 (64 bit) with
./configure
make
but i have:
gcc -o .libs/rlm_dbm_parser .libs/rlm_dbm_parser.o
/home/ntt/freeradius-server-2.2.3/src/lib/.libs/libfreeradius-radius.so
-lgdbm_compat -lssl -lcrypto -lnsl -lresolv -lpthread
/home/ntt/freeradius-server-2.2.3/src/lib/.libs/libfreeradius-radius.so:
undefined reference to `pthread_getspecific'
/home/ntt/freeradius-server-2.2.3/src/lib/.libs/libfreeradius-radius.so:
undefined reference to `pthread_key_create'
/home/ntt/freeradius-server-2.2.3/src/lib/.libs/libfreeradius-radius.so:
undefined reference to `pthread_once'
/home/ntt/freeradius-server-2.2.3/src/lib/.libs/libfreeradius-radius.so:
undefined reference to `pthread_setspecific'
I'm using
apt-get build-dep freeradius, so i think there are all deps.
Why this happens?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140120/25be5802/attachment-0001.html>
------------------------------
Message: 6
Date: Mon, 20 Jan 2014 16:02:57 +0000
From: "Palmer J.D.F." <J.D.F.Palmer@swansea.ac.uk>
To: FreeRadius users mailing list
<freeradius-users@lists.freeradius.org>
Subject: RE: Core dump on start of FR3.0.1
Message-ID:
<237A0FDCB0029842806224B30DCB81654ADB0207@ISS-MBX04.tawe.swan.ac.uk>
Content-Type: text/plain; charset="us-ascii"
>
> You look at /usr/lib (or where ever you installed the libraries), and ensure that
> there are no 3.0.0 libraries around.
Libraries are installed to /usr/local/lib
If I rename that directory and recreate it, then reinstall fr3.0.1 I get the same problem.
>
> There is no "make uninstall" target. Running it does nothing. You need to
> administer the system yourself.
Odd, if I run make uninstall it definitely removes the radiusd executable , and if I strace it, it does plenty.
radiusd exists...
[root@radauth3 freeradius-server-3.0.1]# which radiusd
/usr/local/sbin/radiusd
Run make uninstall
[root@radauth3 freeradius-server-3.0.1]# make uninstall
Radiusd doesn't exist...
[root@radauth3 freeradius-server-3.0.1]# which radiusd
/usr/bin/which: no radiusd in (/usr/local/pgsql/bin/:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root@radauth3 freeradius-server-3.0.1]# ls -lrat /usr/local/sbin/radiusd
ls: cannot access /usr/local/sbin/radiusd: No such file or directory
> If you install from packages, this is all handled for you.
I prefer to use source.
>
> I'm going to put this problem down as a shared library conflict. It's simple
> enough that if it was real, *everyone* would be seeing it. And they don't.
I'll compile it on another machine which has had no FR previously.
Thanks,
Jezz.
------------------------------
Message: 7
Date: Mon, 20 Jan 2014 11:12:45 -0500
From: Alan DeKok <aland@deployingradius.com>
To: FreeRadius users mailing list
<freeradius-users@lists.freeradius.org>
Subject: Re: undefined reference to 'pthread_'
Message-ID: <52DD4AFD.1040405@deployingradius.com>
Content-Type: text/plain; charset=ISO-8859-1
Marco Marino wrote:
> Hi,
> I'm trying to compile freeradius 2.2.3 on ubuntu 13.10 (64 bit) with
> ./configure
> make
>
> but i have:
> gcc -o .libs/rlm_dbm_parser .libs/rlm_dbm_parser.o
> /home/ntt/freeradius-server-2.2.3/src/lib/.libs/libfreeradius-radius.so
> -lgdbm_compat -lssl -lcrypto -lnsl -lresolv -lpthread
> /home/ntt/freeradius-server-2.2.3/src/lib/.libs/libfreeradius-radius.so:
> undefined reference to `pthread_getspecific'
Your system is broken. It's being asked to link to "-lpthread", but
for some reason it's not finding the pthread systems in the pthread library.
Alan DeKok.
------------------------------
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
End of Freeradius-Users Digest, Vol 105, Issue 66
*************************************************