Fri Apr 17 23:08:10 2015 : Debug: rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 0 Fri Apr 17 23:08:10 2015 : Debug: (1005) sql_instance_dsl: SQL query returned: success Fri Apr 17 23:08:10 2015 : Debug: (1005) sql_instance_dsl: 1 record(s) updated Fri Apr 17 23:08:10 2015 : Debug: rlm_sql (sql_instance_dsl): Released connection (0) Fri Apr 17 23:08:10 2015 : Debug: (1005) modsingle[accounting]: returned from sql_instance_dsl (rlm_sql) for request 1005 Fri Apr 17 23:08:10 2015 : Debug: (1005) [sql_instance_dsl] = ok Fri Apr 17 23:08:10 2015 : Debug: (1005) if (noop) { Fri Apr 17 23:08:10 2015 : Debug: (1005) if (noop) -> FALSE Fri Apr 17 23:08:10 2015 : Debug: (1005) } # accounting = ok Fri Apr 17 23:08:10 2015 : Debug: (1005) Received response for request 1005. Will read the next packet in 0 seconds Fri Apr 17 23:08:10 2015 : Debug: (1005) Sent Accounting-Response Id 2 from 127.0.0.0:1024 to 255.255.255.255:1024 length 0 Fri Apr 17 23:08:10 2015 : Debug: (1005) Finished request Fri Apr 17 23:08:10 2015 : Warning: Failed marking detail request as done: Bad file descriptor Fri Apr 17 23:08:10 2015 : Debug: Detail - unlinking /var/log/freeradius/radacct/detail.dsl/detail.work Fri Apr 17 23:08:10 2015 : Debug: Polling for detail file /var/log/freeradius/radacct/detail.dsl/detail-* Fri Apr 17 23:08:10 2015 : Debug: Detail listener /var/log/freeradius/radacct/detail.dsl/detail-* state unopened waiting 5.197627 sec
Can you look and see if there's anything obviously wrong before that error? Like complaints from other areas of the code. Seems like something close the file descriptor for the current work file.
Just a short question: where is the information about the las processed packet from the detail file stored?
IIRC the timestamps in the packet headers are overwritten. If the process restarts it checks each header and skips the packet if it's already been processed. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2