<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Initialization of subagent "ORACLE" failed]]></title><description><![CDATA[<p dir="auto">Hi, we have installed agent on Linux and trying to add subagent Oracle.</p>
<p dir="auto">Core agent version 4.3-243-g93e41d8</p>
<p dir="auto">config:</p>
<p dir="auto">SubAgent=/opt/netxms/lib/netxms/oracle.nsm<br />
DBDriver=/opt/netxms/lib/netxms/dbdrv/oracle.ddr</p>
<p dir="auto">During startup, agent rising error:<br />
2024.01.19 14:43:13.683 *D* [db.drv.oracle      ] OCI version 19.21.0.0.0<br />
2024.01.19 14:43:13.686 *E* [db.drv.oracle      ] Cannot allocate Oracle environment handle<br />
2024.01.19 14:43:13.686 *E* [db.drv            ] Database driver "oracle.ddr" initialization failed<br />
2024.01.19 14:43:13.686 *D* [dload              ] DLClose: module=0x1b69f20<br />
2024.01.19 14:43:13.687 *E* [oracle            ] Cannot load Oracle database driver<br />
2024.01.19 14:43:13.687 *E* [subagents          ] Initialization of subagent "ORACLE" (/opt/netxms/lib/netxms/oracle.nsm) failed</p>
<p dir="auto">Please advice.</p>
]]></description><link>https://forum.netxms.org/topic/7852/initialization-of-subagent-oracle-failed</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:21:49 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7852.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Jan 2024 12:04:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Initialization of subagent "ORACLE" failed on Wed, 07 Feb 2024 14:04:43 GMT]]></title><description><![CDATA[<p dir="auto">Can you show full agent config?</p>
]]></description><link>https://forum.netxms.org/post/33180</link><guid isPermaLink="true">https://forum.netxms.org/post/33180</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 07 Feb 2024 14:04:43 GMT</pubDate></item><item><title><![CDATA[Reply to Initialization of subagent "ORACLE" failed on Tue, 23 Jan 2024 08:21:26 GMT]]></title><description><![CDATA[<p dir="auto">I've run ldd under root.<br />
Also i've added ORACLE_HOME and LD_LIBRARY_PATH into agent config file.<br />
It was read by agent and written in log.<br />
But driver initialization failed and there is no other errors or messages even in debug 9.</p>
<p dir="auto">That is why i've started this topic.</p>
]]></description><link>https://forum.netxms.org/post/33145</link><guid isPermaLink="true">https://forum.netxms.org/post/33145</guid><dc:creator><![CDATA[IhOl]]></dc:creator><pubDate>Tue, 23 Jan 2024 08:21:26 GMT</pubDate></item><item><title><![CDATA[Reply to Initialization of subagent "ORACLE" failed on Mon, 22 Jan 2024 16:26:16 GMT]]></title><description><![CDATA[<p dir="auto">You've executed  ldd oracle.ddr |grep 19 under root or some other user? nxagentd is probably running under root, which can have different env variables set.</p>
<p dir="auto">For the agent config, you can specify env variables in [env] section, e.g.</p>
<p dir="auto">[env]<br />
ORACLE_HOME=/uat/db/19c<br />
LD_LIBRARY_PATH=/uat/db/19c/lib</p>
<p dir="auto">but I am not sure, if this affects database drivers, or only processes that agent launches after it has started (e.g. external metrics).</p>
]]></description><link>https://forum.netxms.org/post/33144</link><guid isPermaLink="true">https://forum.netxms.org/post/33144</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 22 Jan 2024 16:26:16 GMT</pubDate></item><item><title><![CDATA[Reply to Initialization of subagent "ORACLE" failed on Mon, 22 Jan 2024 09:47:25 GMT]]></title><description><![CDATA[<p dir="auto">Do you have more ideas?</p>
]]></description><link>https://forum.netxms.org/post/33140</link><guid isPermaLink="true">https://forum.netxms.org/post/33140</guid><dc:creator><![CDATA[IhOl]]></dc:creator><pubDate>Mon, 22 Jan 2024 09:47:25 GMT</pubDate></item><item><title><![CDATA[Reply to Initialization of subagent "ORACLE" failed on Fri, 19 Jan 2024 14:02:53 GMT]]></title><description><![CDATA[<p dir="auto">It is Oracle DB server where DB is running.<br />
I've added into agent config file</p>
<p dir="auto">ORACLE_HOME=/uat/db/19c<br />
LD_LIBRARY_PATH=/uat/db/19c/lib</p>
<p dir="auto">Also<br />
ldd oracle.ddr |grep 19</p>
<p dir="auto">libclntshcore.so.19.1 =&gt; /uat/db/19c/lib/libclntshcore.so.19.1 (0x00007f75e4403000)</p>
<p dir="auto">So i guess all libs should be available</p>
]]></description><link>https://forum.netxms.org/post/33136</link><guid isPermaLink="true">https://forum.netxms.org/post/33136</guid><dc:creator><![CDATA[IhOl]]></dc:creator><pubDate>Fri, 19 Jan 2024 14:02:53 GMT</pubDate></item><item><title><![CDATA[Reply to Initialization of subagent "ORACLE" failed on Fri, 19 Jan 2024 12:54:52 GMT]]></title><description><![CDATA[<p dir="auto">Make sure that either InstantClient or full Oracle client is installed and available in libpath.</p>
]]></description><link>https://forum.netxms.org/post/33135</link><guid isPermaLink="true">https://forum.netxms.org/post/33135</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Fri, 19 Jan 2024 12:54:52 GMT</pubDate></item></channel></rss>