FreeRadius Fresh installation 3.0.23 "${dialect}" Reference "${dialect}" not found

Pizu pizpower at gmail.com
Thu Sep 23 15:07:35 CEST 2021


Hi,

Debugging Logs with -X -xx

root at tstmstfreerad01:/etc/freeradius# freeradius -X -xx
Thu Sep 23 15:06:32 2021 : Debug: Server was built with:
Thu Sep 23 15:06:32 2021 : Debug:   accounting               : yes
Thu Sep 23 15:06:32 2021 : Debug:   authentication           : yes
Thu Sep 23 15:06:32 2021 : Debug:   ascend-binary-attributes : yes
Thu Sep 23 15:06:32 2021 : Debug:   coa                      : yes
Thu Sep 23 15:06:32 2021 : Debug:   control-socket           : yes
Thu Sep 23 15:06:32 2021 : Debug:   detail                   : yes
Thu Sep 23 15:06:32 2021 : Debug:   dhcp                     : yes
Thu Sep 23 15:06:32 2021 : Debug:   dynamic-clients          : yes
Thu Sep 23 15:06:32 2021 : Debug:   osfc2                    : no
Thu Sep 23 15:06:32 2021 : Debug:   proxy                    : yes
Thu Sep 23 15:06:32 2021 : Debug:   regex-pcre               : no
Thu Sep 23 15:06:32 2021 : Debug:   regex-posix              : yes
Thu Sep 23 15:06:32 2021 : Debug:   regex-posix-extended     : yes
Thu Sep 23 15:06:32 2021 : Debug:   session-management       : yes
Thu Sep 23 15:06:32 2021 : Debug:   stats                    : yes
Thu Sep 23 15:06:32 2021 : Debug:   systemd                  : yes
Thu Sep 23 15:06:32 2021 : Debug:   tcp                      : yes
Thu Sep 23 15:06:32 2021 : Debug:   threads                  : yes
Thu Sep 23 15:06:32 2021 : Debug:   tls                      : yes
Thu Sep 23 15:06:32 2021 : Debug:   unlang                   : yes
Thu Sep 23 15:06:32 2021 : Debug:   vmps                     : yes
Thu Sep 23 15:06:32 2021 : Debug:   developer                : no
Thu Sep 23 15:06:32 2021 : Debug: Server core libs:
Thu Sep 23 15:06:32 2021 : Debug:   freeradius-server        : 3.0.23
Thu Sep 23 15:06:32 2021 : Debug:   talloc                   : 2.3.*
Thu Sep 23 15:06:32 2021 : Debug:   ssl                      : 1.1.1f
release
Thu Sep 23 15:06:32 2021 : Debug: Endianness:
Thu Sep 23 15:06:32 2021 : Debug:   little
Thu Sep 23 15:06:32 2021 : Debug: Compilation flags:
Thu Sep 23 15:06:32 2021 : Debug:   cppflags : -Wdate-time
-D_FORTIFY_SOURCE=2
Thu Sep 23 15:06:32 2021 : Debug:   cflags   : -I. -Isrc -include
src/freeradius-devel/autoconf.h -include src/freeradius-devel/build.h
-include src/freeradius-devel/features.h -include
src/freeradius-devel/radpaths.h -fno-strict-aliasing -g -O2
-fdebug-prefix-map=/srv/jenkins/workspace/freeradius-release-3.0/build-packages/platforms/ubuntu20/freeradius-server=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -O2 -Wall -std=c99 -D_GNU_SOURCE -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -DNDEBUG -DIS_MODULE=1
Thu Sep 23 15:06:32 2021 : Debug:   ldflags  :  -Wl,-Bsymbolic-functions
-Wl,-z,relro -Wl,-z,now
Thu Sep 23 15:06:32 2021 : Debug:   libs     : -lcrypto -lssl -ltalloc
-latomic -lcap -lnsl -lresolv -ldl -lpthread -lreadline
Thu Sep 23 15:06:32 2021 : Debug:
Thu Sep 23 15:06:32 2021 : Info: FreeRADIUS Version 3.0.23
Thu Sep 23 15:06:32 2021 : Info: Copyright (C) 1999-2021 The FreeRADIUS
server project and contributors
Thu Sep 23 15:06:32 2021 : Info: There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A
Thu Sep 23 15:06:32 2021 : Info: PARTICULAR PURPOSE
Thu Sep 23 15:06:32 2021 : Info: You may redistribute copies of FreeRADIUS
under the terms of the
Thu Sep 23 15:06:32 2021 : Info: GNU General Public License
Thu Sep 23 15:06:32 2021 : Info: For more information about these matters,
see the file named COPYRIGHT
Thu Sep 23 15:06:32 2021 : Info: Starting - reading configuration files ...
Thu Sep 23 15:06:32 2021 : Debug: including dictionary file
/usr/share/freeradius/dictionary
Thu Sep 23 15:06:32 2021 : Debug: including dictionary file
/usr/share/freeradius/dictionary.dhcp
Thu Sep 23 15:06:32 2021 : Debug: including dictionary file
/usr/share/freeradius/dictionary.vqp
Thu Sep 23 15:06:32 2021 : Debug: including dictionary file
/etc/freeradius/dictionary
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/radiusd.conf
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/proxy.conf
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/clients.conf
Thu Sep 23 15:06:32 2021 : Debug: including files in directory
/etc/freeradius/mods-enabled/
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/echo
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/ntlm_auth
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/sradutmp
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/soh
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/date
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/radutmp
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/exec
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/passwd
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/chap
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/dynamic_clients
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/always
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/pap
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/totp
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/mschap
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/digest
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/files
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/utf8
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/linelog
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/ldap
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/replicate
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/logintime
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/unpack
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/preprocess
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/detail
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/unix
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/expiration
Thu Sep 23 15:06:32 2021 : Debug: including configuration file
/etc/freeradius/mods-enabled/sql
Thu Sep 23 15:06:32 2021 : Error: /etc/freeradius/mods-enabled/sql[365]:
Reference "${dialect}" not found
Thu Sep 23 15:06:32 2021 : Error: Errors reading or parsing
/etc/freeradius/radiusd.conf

Regards,




On Thu, 23 Sept 2021 at 15:03, Alan DeKok <aland at deployingradius.com> wrote:

> On Sep 23, 2021, at 8:50 AM, Pizu <pizpower at gmail.com> wrote
> > Steps from documentation I did when installing my other 2 freeradius
> > servers.. (which are working)
> >
> > The only difference between the other 2 servers and this is that this is
> a
> > physical server and the others are VM(s)
>
>   That shouldn't matter.
>
> > Instructions from "https://networkradius.com/packages/"
> > apt install freeradius freeradius-mysql freeradius-krb5 freeradius-ldap
> > mariadb-server mariadb-client
> >
> > cd /etc/freeradius/sites-enabled
> > ln -s ../sites-available/status status
> >
> > cd /etc/freeradius/mods-enabled
> > ln -s ../mods-available/ldap ldap
> > ln -s ../mods-available/sql sql
> >
> > on all servers I don't have the /modules/ folder or the /3.0/ folder.
>
>   The default Debian / Ubuntu packages put the configuration into
> /etc/freeradius/3.0.  The Network RADIUS packages don't.
>
> > This is very strange :(
>
>   It is exceedingly strange that there's a magic "modules/main" thing
> added there.
>
>   At this point, I'd suggest posting the entire debug output.  There's
> something broken in your system.  Maybe the debug output is more
> informative.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list