freeradius3 dhcp.dictionary error
Darrel
levitch at iglou.com
Thu Jan 23 13:18:26 UTC 2014
>>
>> installed 3 onto a system that had 2.x ? the dictionaries dont get
>> overwritten.
>> it appears you have v2 dictionary - which FR3 really wont like.
>> -----------------------------------------------------------------------
>> Yes. It works in the default distribution.
>>
>> Please try downloading the "tar" file from the freeradius.org site.
>> Do the normal "./configure; make; make install". Then try to run the
>> server.
>>
>> If it works, file a bug with the FreeBSD people. They've mangaged to
>> break the server.
>>
>> If it doesn't work, I'll see if I have a FreeBSD system around
>> somewhere for testing.
>> -----------------------------------------------------------------------
>> Darrel
>
> I suspect that net/freeradius3 was installed on a system with
> net/freeradius2 already installed on it. It looks like the CONFLICTS
> line was not correct after a commit was made to net/freeradius3.
>
> If you had pkg_delete'd the existing port before installing 3.0.0, I
> suspect everything would have gone as expected.
>
> I've updated the CONFLICTS line to resolve this.
>
This is actually an installation of FreeBSD10 release, upgraded from a
release candidate, -rc4 if I recall correctly. It never had freeradius
until version 3.
So, I ran this:
# cd /usr/ports/net/freeradius
# rm -rf /usr/local/etc/raddb
!-- my rm is aliased to srm. not significant
# portsnap fetch update
# make install clean
# radiusd -XC
Errors reading dictionary: dict_init:
/usr/local/share/freeradius/dictionary.dhcp[208]: Type "tlv" can only be
for "format=1,1"
dictionary.dhcp is dated 2011.
Same error. Also, someone from FreeRadius list mentioned that there *is
no* such information on line 208.
I am surprised to be the only one seeing this. Perhaps the FreeRadius
admins are comfy with their old installations?
Darrel
More information about the freebsd-stable
mailing list