<?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[netxms with oracle 10+ backend]]></title><description><![CDATA[<p dir="auto">Can someone create detailed, step-by-step instruction to configure netxms with oracle database as backend?</p>
<p dir="auto">I have spend all day without any progress.  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
]]></description><link>https://forum.netxms.org/topic/2920/netxms-with-oracle-10-backend</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:19:56 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2920.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Feb 2014 22:56:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Thu, 20 Feb 2014 05:58:12 GMT]]></title><description><![CDATA[<p dir="auto">hi Victor,</p>
<p dir="auto">Great help...thanks a lot.<br />
its working now</p>
<p dir="auto">regards  !<br />
Percy</p>
]]></description><link>https://forum.netxms.org/post/12883</link><guid isPermaLink="true">https://forum.netxms.org/post/12883</guid><dc:creator><![CDATA[Percy]]></dc:creator><pubDate>Thu, 20 Feb 2014 05:58:12 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Wed, 19 Feb 2014 23:52:21 GMT]]></title><description><![CDATA[<p dir="auto">Created wiki page.<br />
<a href="http://wiki.netxms.org/wiki/Oracle" rel="nofollow ugc">http://wiki.netxms.org/wiki/Oracle</a><br />
Please if something is incorrect, please apply changes there.</p>
]]></description><link>https://forum.netxms.org/post/12882</link><guid isPermaLink="true">https://forum.netxms.org/post/12882</guid><dc:creator><![CDATA[andrey--k]]></dc:creator><pubDate>Wed, 19 Feb 2014 23:52:21 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Wed, 19 Feb 2014 23:36:10 GMT]]></title><description><![CDATA[<p dir="auto">TO WIKI:<br />
Debian 7<br />
Oracle 11.2g on separate server:</p>
<p dir="auto">#less /etc/netxmsd.conf</p>
<pre><code>DBDriver = /usr/lib/netxms/dbdrv/oracle.ddr
DBServer = ServerIP/Hostname.DomainName #Here is service (full database name), not SID
DBName = netxms
DBLogin = netxms
DBPassword = PaSwD
</code></pre>
<p dir="auto">download from oracle web:<br />
instantclient-basic-linux.x64-11.2.0.4.0<br />
unpak into /opt/instantclient_11_2</p>
<p dir="auto">create file<br />
less /etc/ld.so.conf.d/oracle.conf</p>
<pre><code>/opt/instantclient_11_2
</code></pre>
<p dir="auto">Reload the list of system-wide library paths:</p>
<pre><code>ldconfig
</code></pre>
<p dir="auto">on oracle:</p>
<pre><code>-- USER SQL
CREATE USER netxms IDENTIFIED BY netxms
DEFAULT TABLESPACE USERS
TEMPORARY TABLESPACE TEMP;
-- QUOTAS
ALTER USER netxms QUOTA UNLIMITED ON USERS;
-- ROLES
GRANT RESOURCE TO netxms ;
GRANT CONNECT TO netxms ;
</code></pre>
<p dir="auto">on Debian:</p>
<pre><code>nxdbmgr init /usr/share/netxms/sql/dbinit_oracle.sql
</code></pre>
<p dir="auto">if next errors appeared:</p>
<blockquote>
<p dir="auto">Initializing database...<br />
SQL query failed (ORA-01400: cannot insert NULL into ("NETXMS"."USERS"."FULL_NAME")):<br />
INSERT INTO users (id,name,password,system_access,flags,full_name,                    description,grace_logins,auth_method,guid,                    cert_mapping_method,ce                           rt_mapping_data,                    auth_failures,last_passwd_change,min_passwd_length,                    disabled_until,last_login)    VALUES (0,'admin',            '3A                           445C0072CD69D9030CC6644020E5C4576051B1',            65535,8,'','Built-in system administrator account',5,0,            '00000000-0000-0000-0000-000000000000',0,'',0,0,0,0                           ,0           )<br />
Database initialization failed<br />
andrey@i0debnxms:/usr/share/netxms/sql$ sudo vi db<br />
dbinit_db2.sql       dbinit_mysql.sql     dbinit_pgsql.sql     dbschema_db2.sql     dbschema_mysql.sql   dbschema_pgsql.sql<br />
dbinit_mssql.sql     dbinit_oracle.sql    dbinit_sqlite.sql    dbschema_mssql.sql   dbschema_oracle.sql  dbschema_sqlite.sql<br />
andrey@i0debnxms:/usr/share/netxms/sql$ sudo vi dbinit_oracle.sql<br />
[sudo] password for andrey:<br />
andrey@i0debnxms:/usr/share/netxms/sql$ nxdbmgr init /usr/share/netxms/sql/dbinit_oracle.sql<br />
NetXMS Database Manager Version 1.2.12 Build 7861</p>
<p dir="auto">Initializing database...<br />
SQL query failed (ORA-01400: cannot insert NULL into ("NETXMS"."USERS"."CERT_MAPPING_DATA")):<br />
INSERT INTO users (id,name,password,system_access,flags,full_name,                    description,grace_logins,auth_method,guid,                    cert_mapping_method,cert_mapping_data,                    auth_failures,last_passwd_change,min_passwd_length,                    disabled_until,last_login)    VALUES (0,'admin',            '3A445C0072CD69D9030CC6644020E5C4576051B1',            65535,8,'admin','Built-in system administrator account',5,0,            '00000000-0000-0000-0000-000000000000',0,'',0,0,0,0,0           )<br />
Database initialization failed<br />
andrey@i0debnxms:/usr/share/netxms/sql$ sudo vi dbinit_oracle.sql<br />
andrey@i0debnxms:/usr/share/netxms/sql$ nxdbmgr init /usr/share/netxms/sql/dbinit_oracle.sql<br />
NetXMS Database Manager Version 1.2.12 Build 7861</p>
</blockquote>
<p dir="auto">edit dbinit_oracle.sql<br />
find and change from:</p>
<pre><code>           65535,8,'','Built-in system administrator account',5,0,
           '00000000-0000-0000-0000-000000000000',0,'',0,0,0,0,0
</code></pre>
<p dir="auto">to:</p>
<pre><code>           65535,8,'admin','Built-in system administrator account',5,0,
           '00000000-0000-0000-0000-000000000000',0,' ',0,0,0,0,0
</code></pre>
<p dir="auto">!!! here is changed admin as full username and whitespace as sertificate</p>
<p dir="auto">before rerunning nxdbmgr init i have made drop and create user once more.</p>
]]></description><link>https://forum.netxms.org/post/12872</link><guid isPermaLink="true">https://forum.netxms.org/post/12872</guid><dc:creator><![CDATA[andrey--k]]></dc:creator><pubDate>Wed, 19 Feb 2014 23:36:10 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Wed, 19 Feb 2014 10:47:58 GMT]]></title><description><![CDATA[<p dir="auto">You have to install Oracle client manually because it's not an open source software and there are no package in Debian repository for it. I recommend using Instant Client (<a href="http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html" rel="nofollow ugc">http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html</a>) version 11.2.0.4.0. Recommended location - /opt/instantclient_11_2.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12869</link><guid isPermaLink="true">https://forum.netxms.org/post/12869</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 19 Feb 2014 10:47:58 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Wed, 19 Feb 2014 10:41:58 GMT]]></title><description><![CDATA[<p dir="auto">Looks like missing dependencies or not included library:</p>
<p dir="auto">Configuration Debian 7.4, Oracle 11_2 on separate server.</p>
<p dir="auto">$nxdbmgr init /usr/share/netxms/sql/dbinit_oracle.sql<br />
NetXMS Database Manager Version 1.2.12 Build 7861</p>
<p dir="auto">Unable to load and initialize database driver "/usr/lib/netxms/dbdrv/oracle.ddr"</p>
<p dir="auto">$ sudo cat /var/log/netxms</p>
<p dir="auto">[19-Feb-2014 10:25:07.642] Log file opened<br />
[19-Feb-2014 10:25:07.642] [DEBUG] Code page set to ASCII<br />
[19-Feb-2014 10:25:07.643] [INFO ] Platform subagent "/usr/lib/netxms/linux.nsm" successfully loaded<br />
[19-Feb-2014 10:25:07.643] [DEBUG] Debug callback set for DB library<br />
[19-Feb-2014 10:25:07.650] [ERROR] Unable to load database driver module "oracle.ddr": libclntsh.so.11.1: cannot open shared object file: No such file or directory</p>
]]></description><link>https://forum.netxms.org/post/12868</link><guid isPermaLink="true">https://forum.netxms.org/post/12868</guid><dc:creator><![CDATA[andrey--k]]></dc:creator><pubDate>Wed, 19 Feb 2014 10:41:58 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Wed, 19 Feb 2014 09:55:27 GMT]]></title><description><![CDATA[<p dir="auto">For Oracle you have to create database user manually (and this will create schema) and choose "existing database" option.</p>
<p dir="auto">If you are using InstantClient you should specify Oracle connection string in DBServer parameter in form //<em>server_ip</em>/<em>service_name</em></p>
<p dir="auto">To do initialization manually, follow these steps:</p>
<ol>
<li>Connect to Oracle server with sqlplus as sysdba:</li>
</ol>
<pre><code>C:\Source\NetXMS\x64\debug&gt;sqlplus sys/admin@//192.168.64.3 as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 19 11:41:37 2014

Copyright (c) 1982, 2010, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL&gt;
</code></pre>
<ol start="2">
<li>Create user and grant necessary rights:</li>
</ol>
<pre><code>SQL&gt; create user netxms identified by netxms;

User created.

SQL&gt; grant create session to netxms;

Grant succeeded.

SQL&gt; grant resource to netxms;

Grant succeeded.

SQL&gt; grant create view to netxms;

Grant succeeded.

SQL&gt;
</code></pre>
<ol start="3">
<li>Set correct values in netxmsd.conf. In my case it will be</li>
</ol>
<pre><code>DBDriver = oracle.ddr
DBServer = //192.168.64.3/XE

DBLogin = netxms
DBPassword = netxms
</code></pre>
<ol start="4">
<li>Initialize database:</li>
</ol>
<pre><code>C:\Source\NetXMS\x64\debug&gt;nxdbmgr init ..\..\sql\dbinit_oracle.sql
NetXMS Database Manager Version 1.2.12 Build 7861

Initializing database...
Database initialized successfully

C:\Source\NetXMS\x64\debug&gt;
</code></pre>
<p dir="auto">Also, it seems that initialization script shipped with NetXMS installer may contain errors and database initialization will fail with "cannot insert NULL" error. In that case, please use attached initialization script.</p>
<p dir="auto">Best regards,<br />
Victor</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001617-dbinit_oracle.sql">dbinit_oracle.sql</a></p>
]]></description><link>https://forum.netxms.org/post/12859</link><guid isPermaLink="true">https://forum.netxms.org/post/12859</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 19 Feb 2014 09:55:27 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Wed, 19 Feb 2014 06:48:50 GMT]]></title><description><![CDATA[<p dir="auto">hi victor,<br />
Sorry for the late reply . i have attached the netxmsd.conf, tnsnames.ora, Listener.ora file.<br />
when i start <strong>Server Configuration Wizard</strong> to select the <strong>Data base Engine</strong> i selct the <strong>Oracle</strong> than <strong>Create new database</strong>  become disable.<br />
in case of Postgresql netxms create its database names Netxms_db and its required schema. why in case of oracle create new database become Disable.</p>
<p dir="auto">thank you<br />
Percy</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001612-netxmsd.conf">netxmsd.conf</a></p>
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001613-tnsnames.ora">tnsnames.ora</a></p>
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001614-listener.ora">listener.ora</a></p>
]]></description><link>https://forum.netxms.org/post/12852</link><guid isPermaLink="true">https://forum.netxms.org/post/12852</guid><dc:creator><![CDATA[Percy]]></dc:creator><pubDate>Wed, 19 Feb 2014 06:48:50 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Mon, 17 Feb 2014 11:03:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Seems that you've made a mistake in configuration. Please provide your netxmsd.conf and Oracle server parameters (address and service name). Also, what Oracle client you are using?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12802</link><guid isPermaLink="true">https://forum.netxms.org/post/12802</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 17 Feb 2014 11:03:18 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Mon, 17 Feb 2014 09:47:49 GMT]]></title><description><![CDATA[<p dir="auto">hi Victor,</p>
<p dir="auto">i am using NetXMS 1.2.11 with Postgres as Backend database. it is  working Properly. now i have another test machine with Oracle as Backend Database but netxms is not able to connect to the Oracle Database. it shows the error message like</p>
<p dir="auto"><strong>Unable to Connect to database : ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA</strong></p>
<p dir="auto">Machine Details<br />
OS- Windows Server 2008 r2 64 Arch,<br />
RAM - 16GB,<br />
Database - Oracle 11g<br />
NetXMS 1.2.11</p>
<p dir="auto">Thanks<br />
Percy</p>
]]></description><link>https://forum.netxms.org/post/12800</link><guid isPermaLink="true">https://forum.netxms.org/post/12800</guid><dc:creator><![CDATA[Percy]]></dc:creator><pubDate>Mon, 17 Feb 2014 09:47:49 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Sun, 16 Feb 2014 00:34:04 GMT]]></title><description><![CDATA[<p dir="auto">Looks like checkinstall cannot handle it correctly. make install supposed to install nxmibc and after that post installation hook is called which will compile MIBs using just installed nxmibc.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12797</link><guid isPermaLink="true">https://forum.netxms.org/post/12797</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 16 Feb 2014 00:34:04 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Sun, 16 Feb 2014 00:33:27 GMT]]></title><description><![CDATA[<p dir="auto">just tried make install - finished without errors</p>
]]></description><link>https://forum.netxms.org/post/12796</link><guid isPermaLink="true">https://forum.netxms.org/post/12796</guid><dc:creator><![CDATA[andrey--k]]></dc:creator><pubDate>Sun, 16 Feb 2014 00:33:27 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Sun, 16 Feb 2014 00:24:07 GMT]]></title><description><![CDATA[<p dir="auto">checkinstall - debian utility which does make install and creates deb package</p>
]]></description><link>https://forum.netxms.org/post/12795</link><guid isPermaLink="true">https://forum.netxms.org/post/12795</guid><dc:creator><![CDATA[andrey--k]]></dc:creator><pubDate>Sun, 16 Feb 2014 00:24:07 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Sun, 16 Feb 2014 00:20:09 GMT]]></title><description><![CDATA[<p dir="auto">What is checkinstall?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12794</link><guid isPermaLink="true">https://forum.netxms.org/post/12794</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 16 Feb 2014 00:20:09 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Sat, 15 Feb 2014 23:50:32 GMT]]></title><description><![CDATA[<p dir="auto">checkinstall fails with next error:</p>
<p dir="auto">make[3]: Entering directory `/opt/netxms-1.2.11'<br />
if test "xyes" = "xyes"; then LD_LIBRARY_PATH="/usr/local/lib:" /usr/local/bin/nxmibc -d /usr/local/share/netxms/mibs -o /usr/local/share/netxms/mibs/netxms.mib; fi<br />
/bin/bash: /usr/local/bin/nxmibc: No such file or directory</p>
]]></description><link>https://forum.netxms.org/post/12793</link><guid isPermaLink="true">https://forum.netxms.org/post/12793</guid><dc:creator><![CDATA[andrey--k]]></dc:creator><pubDate>Sat, 15 Feb 2014 23:50:32 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Sat, 15 Feb 2014 20:24:47 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I assume you are not on Windows <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /> We don't have binary distribution for Oracle driver yet - if you need Oracle support, you have to built NetXMS from sources. I recommend using Oracle InstantClient instead of full client. Instruction is following:</p>
<ol>
<li>Download instantclient-basic and instantclient-sdk archives from <a href="http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html" rel="nofollow ugc">http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html</a> and unpack both into same directory. I usually unpack them inside /opt - then you'll get something like /opt/instantclient_11_2</li>
<li>Configure NetXMS sources as usual, and add --with-oracle=/opt/instantclient_11_2</li>
<li>Do make and make install as usual</li>
<li>In netxmsd.conf, set DBServer as //<em>oracle_server_ip</em>//<em>oracle_sid</em> (DBName is ignored by oracle.ddr server).</li>
</ol>
<p dir="auto">Now you should be able to initialize database with nxdbmgr and start server.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12792</link><guid isPermaLink="true">https://forum.netxms.org/post/12792</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 15 Feb 2014 20:24:47 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Sat, 15 Feb 2014 19:40:09 GMT]]></title><description><![CDATA[<p dir="auto">Firstly - I can not find oracle.ddr file.<br />
I have tried to setup via unixodbc, but I stuck on its configs <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
]]></description><link>https://forum.netxms.org/post/12791</link><guid isPermaLink="true">https://forum.netxms.org/post/12791</guid><dc:creator><![CDATA[andrey--k]]></dc:creator><pubDate>Sat, 15 Feb 2014 19:40:09 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Sat, 15 Feb 2014 11:10:12 GMT]]></title><description><![CDATA[<p dir="auto">And what exactly this problem is?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12789</link><guid isPermaLink="true">https://forum.netxms.org/post/12789</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 15 Feb 2014 11:10:12 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Sat, 15 Feb 2014 06:55:53 GMT]]></title><description><![CDATA[<p dir="auto">hi,<br />
i am also facing the same Problem.<br />
Percy</p>
]]></description><link>https://forum.netxms.org/post/12788</link><guid isPermaLink="true">https://forum.netxms.org/post/12788</guid><dc:creator><![CDATA[Percy]]></dc:creator><pubDate>Sat, 15 Feb 2014 06:55:53 GMT</pubDate></item><item><title><![CDATA[Reply to netxms with oracle 10+ backend on Fri, 14 Feb 2014 11:14:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">There should not be much differences with any other database. What operating system and installer you are using? Is there any specific error you stuck with?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12785</link><guid isPermaLink="true">https://forum.netxms.org/post/12785</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 14 Feb 2014 11:14:46 GMT</pubDate></item></channel></rss>