radiusd.service unit file on ubuntu 16.04

aquilinux aquilinux at gmail.com
Fri Sep 9 15:59:36 CEST 2016

Hi all, i'm trying to setup a unit file for radiusd on ubuntu.
radiusd -X starts the server flawlessly, so does /etc/init.d/radiusd start.
no issue at all

I copied radiusd.service from
my /usr/local/src/freeradius-server-3.0.11/redhat over /etc/systemd/system/
but it won't start, complaining about:

Sep 09 15:41:36 miradius04 radiusd[12660]: Could not link driver
rlm_sql_oracle: libclntsh.so.12.1: cannot open shared object file: No such
file or directory
Sep 09 15:41:36 miradius04 radiusd[12660]: Make sure it (and all its
dependent libraries!) are in the search path of your system's ld
Sep 09 15:41:36 miradius04 radiusd[12660]:
/usr/etc/raddb/mods-enabled/sql[20]: Instantiation failed for module "sql"

# locate libclntsh.so.12.1
# env

so I edited the unit file this way:


and run systemctl daemon-reload.

the file /etc/default/radiusd contains:


but still radiusd service fails to start.
the message is always "Could not link driver rlm_sql_oracle ..."

i know this isn't a FR question but maybe someone can point me the right


"Madness, like small fish, runs in hosts, in vast numbers of instances."

Nessuno mi pettina bene come il vento.

More information about the Freeradius-Users mailing list