SQLite sql: ERROR: Hit reconnection limit
carlitonueno at gmail.com
Fri Jan 18 04:57:56 CET 2019
Only FreeRADIUS is reading and writing to the database. Do you think,
FreeRADIUS is not able to connect to SQL database since it's outside the
container. I am doing this to expose host db file to FR container:
Running container by:
docker run --name radiustest -p 1813:1813/udp -p 1812:1812/udp -v
/home/cn/radius/db:/opt/db -t -d baseradius -X
On Thu, Jan 17, 2019 at 7:42 PM Alan DeKok <aland at deployingradius.com>
> On Jan 17, 2019, at 10:32 PM, Carlito Nueno <carlitonueno at gmail.com>
> > I am running FreeRadius in a docker container and am sharing radius.db
> > from the host (outside the container) with FreeRadius inside the
> > The database file is located and accessed by FreeRadius from
> > "/opt/db/radius.db". I am also trying to use tunnel-password.
> sqlite is an embedded database. It can only have one writer at a time.
> If you want multiple writers to the same SQL database, use a database
> which supports multiple writers.
> > (0) sql: ERROR: Hit reconnection limit
> That error is from FreeRADIUS. It tries multiple times to write the
> data to SQL. If FreeRADIUS can't connect to the SQL database after
> multiple retries, it prints that message.
> Use a database that supports multiple writers. Or, if you need to use
> sqlite, ensure that only FreeRADIUS is using the DB.
> Alan DeKok.
> List info/subscribe/unsubscribe? See
More information about the Freeradius-Users