Hi Aurelio, The fix is already in the HEAD. But, you could fix it locally keeping the "localhost" host entry in clients.conf and remove the duplicated from the table "nas”. Or build your own package from the v3.0.x/HEAD -- Jorge Pereira jpereira@networkradius.com
On 5 Feb 2020, at 07:33, Aurélio de Souza Ribeiro Neto <netolistas@mpc.com.br> wrote:
Hi Jorge,
Thanks!
Before sent mail to list, I was did my homework and I was take a look in log output.
You could inform when fix will be available?
Aurélio
Em 04/02/2020 16:25, Jorge Pereira escreveu:
Hi Aurelio,
No worries. We found a way to reproduce it. Thanks for the report and the fix will be available soon.
-- Jorge Pereira jpereira@networkradius.com
On 4 Feb 2020, at 15:46, Jorge Pereira <jpereira@freeradius.org> wrote:
Aurelio,
Not sure if you can, but if yes. can you share with us the output of "SELECT id, nasname, shortname, type, secret, server FROM nas” ? -- Jorge Pereira jpereira@networkradius.com
On 4 Feb 2020, at 11:24, Aurélio de Souza Ribeiro Neto <netolistas@mpc.com.br> wrote:
Hello All,
I'm trying to upgrade from 3.0.19 to 3.0.20 and I'm having this problem:
Tue Feb 4 10:40:53 2020 : Debug: rlm_sql (sql): Processing generate_sql_clients Tue Feb 4 10:40:53 2020 : Debug: rlm_sql (sql) in generate_sql_clients: query is SELECT id, nasname, shortname, type, secret, server FROM nas Tue Feb 4 10:40:53 2020 : Debug: rlm_sql (sql): Reserved connection (0) Tue Feb 4 10:40:53 2020 : Debug: rlm_sql (sql): Executing select query: SELECT id, nasname, shortname, type, secret, server FROM nas Tue Feb 4 10:40:53 2020 : Debug: rlm_sql (sql): Adding client 127.0.0.1 (Local Host) to global clients list Tue Feb 4 10:40:53 2020 : Debug: Adding client 127.0.0.1/32 (127.0.0.1) to prefix tree 32 Tue Feb 4 10:40:53 2020 : Error: Failed to add duplicate client Local Host Tue Feb 4 10:40:53 2020 : Warning: Failed to add client, possible duplicate? Bad talloc magic value - unknown value talloc abort: Bad talloc magic value - unknown value Aborted (core dumped)
Full log attached.
In 3.0.19 I don't have this issue using the same settings and database.
Any hint?
Thanks <full_log_3020.txt>- 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