rc_avpair_new: unknown attribute 1490026597

I have seen this topic before on this forum; but, I haven’t seen a resolution. (Or, maybe I’m just overlooking the obvious.)

My /var/log/messages file is showing this error repeatedly:

  asterisk[1536]: rc_avpair_new: unknown attribute 1490026597

I know it has something to do with radius and cdr; however, after extensive searching and reading, I still don’t see a fix (or suggested procedure for a fix).

I’m running Distro 1.1010.210.62_x86_64.

Any help will be greatly appreciated!

Thanks!

I have the same problem with 2.210.62-5. Any solutions?

Thanks

OK, it seems I was too fast on answering this and there is no way to edit my message :smiley:

The solution I found was at /etc/asterisk/modules.conf add the line noload => cdr_radius.so (add it after autoload=“yes”). This is the module that causes these errors. Don’t forget to restart asterisk.

Regards

1 Like

You don’t have to restart Asterisk, just load the module from the CLI with the module load command.

Or that…:slight_smile:
Unload, not load.

module unload cdr_radius.so

Yes, that would work better if you want to unload it. I was wondering why you had to load RADIUS.

I should slow down and not just skim the posts, it doesn’t seem to be working for me.

It is loaded by default with the installation. I, personally, did not enabled this.

I followed your instructions and still having the problem. I have double checked and cdr_radius isn’t loaded in asterisk but I still get the error. Anyone else have an idea?

Ever call (internal or external) I make causes this error.
Using FreePBX Distro Stable-3.211.63-8

Fresh install of 3.211.63-8
Every time i make a call (internal or external) i see
rc_avpair_new: unknown attribute 1490026597
usually twice per call.

Also i am seeing this but i don’t think it is related.
ERROR[8309][C-00000002]: cdr_mysql.c:203 mysql_log: Cannot connect to database server localhost: (1045) Access denied for user ‘freepbxuser’@‘localhost’ (using password: YES)
after each call.

I restored from backup and hadn’t changed the freepbxuser password into the cdr_mysql.conf file.
Have tried unloading the module cdr_radius.so but this makes no difference.
When I tail /var/log/messages
it is getting full of these messages as seen below.

[[email protected] ~]# tail -f /var/log/messages
Jun 7 11:15:51 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:15:51 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:15:51 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:32 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:33 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:33 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:33 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:33 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:33 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:33 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:50 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:50 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:53 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:53 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:53 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:53 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597
Jun 7 11:29:53 pbx asterisk[1594]: rc_avpair_new: unknown attribute 1490026597

Any other suggestions?

I had to unload both cdr_radius and cel_radius to get this error to stop. I stopped them from loading through the modules.conf method show above.

module unload cel_radius.so in asterisk then added
noload => cel_radius.so below noload => cdr_radius.so in modules.conf.

Thanks

1 Like

I’m able to confirm that the issue reported (if an issue is) could be found also into FreePBX Distro 4.211.64-6 with Asterisk 11.4.0.

I “solved” by unloading those Asterisk modules (loaded by default) through Asterisk’s CLI (module unload name_of_module, with name_of_module equals to what module show like shows) and then adding those two lines:

noload => cel_radius.so
noload => crd_radius.so

into /etc/asterisk/modules.conf file, just at the end of [modules] section before doing an amportal restart (just in case).

Best regards, Davide.

[modules]
autoload=yes
noload => cdr_radius.so
noload => cel_radius.so

Added above lines to /etc/asterisk/modules.conf directly after the autoload statement and then did an amportal restart. This stopped the logs from filling up with the message : pbx asterisk[5157]: rc_avpair_new: unknown attribute

So it’s working with the reported hack.

Hello All,

I’m seeing this as well and more importantly does this affect anything with calls or devices dropping from the system to re-register?

Thanks!

I don’t think CDR and Radius (unload/disabling) could be directly related to devices that de-register from the system.

I have added both unloads as documented previously and restarted the system. Still getting frequent:
asterisk[10554]: rc_avpair_new: unknown attribute 1490026597
in /var/log/messsages log file.
Any suggestions on where else or what to check? Thanks,
jc

Anything? Anyone?

jceleltano, you must not have modified the file correctly. Do a modules show like radius from asterisk

Restarting the system was beyond unnecessary.