Non-Breaking Accounting Response Handling

null) (null kckong1 at yahoo.com
Thu Mar 13 01:02:32 UTC 2025


I have the accounting {} setting in /etc/raddb/sites-available/default.
How can I prevent this configuration from breaking the accounting response if an SQL connection error occurs or radutmp fails to write to the file? The accounting response should continue even if there are logging errors.

accounting {
	if ("%{User-Name}" =~ /@/) {
		radutmp
		sql_Fradius_log
    	}
	exec
	attr_filter.accounting_response
	log_accounting
}

FreeRADIUS Version 3.2.7


More information about the Freeradius-Users mailing list