Couldn't init oracle OCI environment
Hi All, I want to configure the free radius to connect remote machine(where database installed). Getting below error. rlm_sql (sql): starting 0 rlm_sql (sql): Attempting to connect rlm_sql_oracle #0 rlm_sql_oracle: Couldn't init Oracle OCI environment (OCIEnvCreate()) rlm_sql (sql): Failed to connect DB handle #0 rlm_sql (sql): starting 1 rlm_sql (sql): starting 2 rlm_sql (sql): starting 3 rlm_sql (sql): starting 4 rlm_sql (sql): Failed to connect to any SQL server. How do i do that ??? please help.... Thanks, Lakshmi narayana ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/tim/disclaimer.html">http://tim.techmahindra.com/tim/disclaimer.html</a> internally within Tech Mahindra. ============================================================================================================================
On 19 Apr 2013, at 10:14, "Lakshmi Narayana Baliah" <LB0074453@TechMahindra.com> wrote:
Hi All,
I want to configure the free radius to connect remote machine(where database installed). Getting below error.
rlm_sql (sql): starting 0 rlm_sql (sql): Attempting to connect rlm_sql_oracle #0 rlm_sql_oracle: Couldn't init Oracle OCI environment (OCIEnvCreate()) rlm_sql (sql): Failed to connect DB handle #0 rlm_sql (sql): starting 1 rlm_sql (sql): starting 2 rlm_sql (sql): starting 3 rlm_sql (sql): starting 4 rlm_sql (sql): Failed to connect to any SQL server.
How do i do that ??? please help....
You try the new code in FreeRADIUS master branch and see if it fixes the issue or at least provides sane debug output. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
OCIEnvCreate() failure usually means that you have no ORACLE_HOME environment variable set in the radiusd process environment. Under Linux you can look into process environment using cat /proc/<PID>/environ |tr "\0" "\n" Either use Oracle Instant Client or set ORACLE_HOME environment variable in radisd process environment. On 19.04.2013 18:14, Lakshmi Narayana Baliah wrote:
Hi All,
I want to configure the free radius to connect remote machine(where database installed). Getting below error.
rlm_sql (sql): starting 0 rlm_sql (sql): Attempting to connect rlm_sql_oracle #0 rlm_sql_oracle: Couldn't init Oracle OCI environment (OCIEnvCreate()) rlm_sql (sql): Failed to connect DB handle #0 rlm_sql (sql): starting 1 rlm_sql (sql): starting 2 rlm_sql (sql): starting 3 rlm_sql (sql): starting 4 rlm_sql (sql): Failed to connect to any SQL server.
How do i do that ??? please help....
participants (3)
-
Arran Cudbard-Bell -
Iliya Peregoudov -
Lakshmi Narayana Baliah