radiusd.service unit file on ubuntu 16.04
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 /usr/lib/oracle/12.1/client64/lib/libclntsh.so.12.1 # env [..] ORACLE_HOME=/usr/lib/oracle/12.1/client64 [..] so I edited the unit file this way: EnvironmentFile=/etc/default/radiusd and run systemctl daemon-reload. the file /etc/default/radiusd contains: ORACLE_HOME=/usr/lib/oracle/12.1/client64 LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib 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 way. thanks! -- "Madness, like small fish, runs in hosts, in vast numbers of instances." Nessuno mi pettina bene come il vento.
participants (1)
-
aquilinux