Ok. I think I'm closer to the problem. I have attached 2 debug files, for 2 different tests I have run. Boths tests have been run with an empty mysql. In the debug_works.txt I have done this: * Start freeradius * Send accounting start record for one user (request (1)). This record is stored in mysql and deleted from the buffered file. * Send another start record for other user from other NAS, the one I want to send later an "Accouting-On" (request (2) and (3)). This record is also stored in the mysql and deleted from the buffered file. * Send "Accouting-On" packet from the same NAS than previous (request (4) and (5)). This requests updates one record in the mysql (line 3443) and is deleted from the buffered file. * Later requests are also processed (I don't have tested this, but as buffered files are empty, it should be no problem to be processed). In the debug_dontwork.txt I have done this: * Start freeradius * Send accounting start record for one user (request (1)). This record is stored in mysql and deleted from the buffered file. This NAS (155.54.213.5) is different than the one sending Accouting-On packets (155.54.213.6) * Send "Accouting-On" packet from other NAS than previous (request (2) and (3)). This request updates no record (line 3267) and is not deleted from the buffered file. It doesn't update any record because I don't any record stored from this NAS, so it's correct not to update any record. * Send accouting stop record for the previous user (request (5)). This request is never been processed from buffered files, because (6) and later always tries to make first the pending "Accouting-On" El 9/11/20 a las 14:55, Alan DeKok escribió:
On Nov 9, 2020, at 8:42 AM, Ángel L. Mateo <amateo@um.es> wrote:
Sorry... I was describing the config, I thought it would be enough. The whole config is:
* this is the server config:
Read this before doing anything else: http://wiki.freeradius.org/list-help
The mailing list strips attachments which are "zip" files. We don't need to see the server configuration. And we REALLY don't need to see the default configuration files. It's a mystery to me why people post the default configuration files to the list. Do people think we haven't seen it before?
We ask for the debug output because NOTHING else lets us figure out what the server is doing. We put this recommendation _everywhere_, and still people don't follow it. And people still don't understand _why_ it's necessary, despite all the documentation explaining it.
20 years of writing documentation and having people ignore it will make anyone cranky.
In short, post the debug output. And when you need to fix an issue, _read_ the debug output. It tells you exactly what the server is doing, and why.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337