RADIUS error :: Errors reading dictionary: dict_init: /etc/raddb/dictionary

Aruba Employee
Aruba Employee

While running RADIUS, and looking at RADIUS debug, the following error means that you have a dictionary issue:

FreeRADIUS Version 2.1.10, for host x86_64-redhat-linux-gnu, built on Jun 24 2011 at 10:06:13
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. 
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
You may redistribute copies of FreeRADIUS under the terms of the 
GNU General Public License v2. 
Starting - reading configuration files ...
Errors reading dictionary: dict_init: /etc/raddb/dictionary[88]: dict_addvalue: VALUEs cannot be defined for attributes of type 'string'

This is typically seen on Amigopods after an upgrade from 3.0. After 3.0, there was an Amigopod dictionary upgrade where many of the value types were changed. The way to fix is to reset the dictionary file and then restart RADIUS. Remember to take a configuration backup before making any changes.

Config backup:
Administrator -> Backup & Restore -> Configuration Backup -> Download Backup

Reset the dictionary file:
Go to RADIUS -> Dictionary -> expand More Options (top right of dictionary table) -> Reset to Defaults -> check 'Delete all additions and modifications' -> Reset Dictionary

Restart RADIUS:
Go to RADIUS -> Server Control -> Restart RADIUS Server

After the RADIUS process restarts, you shouldn't see the dictionary errors anymore.

Version history
Revision #:
1 of 1
Last update:
‎06-25-2014 04:15 PM
Updated by:
Labels (1)