<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SMO: Error while creating new Profile on Oracle Linux 7.4 in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/SMO-Error-while-creating-new-Profile-on-Oracle-Linux-7-4/m-p/139834#M11877</link>
    <description>&lt;P&gt;...just guessing, ORA-00300 says something about&amp;nbsp;redo log block size. Is the Oracle-DB in archivelog mode? any other archivelog issues?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Apr 2018 14:06:32 GMT</pubDate>
    <dc:creator>Spaceball</dc:creator>
    <dc:date>2018-04-25T14:06:32Z</dc:date>
    <item>
      <title>SMO: Error while creating new Profile on Oracle Linux 7.4</title>
      <link>https://community.netapp.com/t5/Data-Protection/SMO-Error-while-creating-new-Profile-on-Oracle-Linux-7-4/m-p/139817#M11876</link>
      <description>&lt;P&gt;I tried to create a new SMO profile on a RAC Database with OS Oracle Linux 7.4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;smo profile create -profile backup_xxx-rac_xxx -profile-password yyyy -repository -dbname rmandb -host host1 -port 1521 -login -username snapmanager -database -dbname datenbankname -host node1 -sid instanz1 -login -username snapmanager -password zzzz -port 1521 -rman -login -username rman -password zzzz -tnsname rmandb -osaccount oracle -osgroup oinstall -retain -monthly -count 4 -comment "Backup xxx-rac DB xxx" -verbose&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the creation fails with SMO-05075&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[ERROR] SMO-05075: Profile create failed: ORACLE-00300: Error executing srvctl command srvctl status database -d xxxxxx.&amp;nbsp; The command returned: [Instanz instanz1 wird auf Knoten node1 ausgef?hrt, Instanz instanz2 wird auf Knotennode2 ausgef?hrt]&lt;BR /&gt;[ INFO] SMO-20022: Deleted credentials and repository mapping for profile "backup_xxx-rac_xxx" in user credentials for "oracle".&lt;BR /&gt;Operation Id [8a4d014962fbdb840162fbdb87bb000a] failed. Error: java.lang.NullPointerException&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;error log /var/log/smp/server.log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[ INFO] SMO-13046: Operation GUID 8a4d014962fbdb840162fbdb87bb000a starting on Profile backup_xxx-rac_xxx&lt;BR /&gt;[ INFO] SMO-13505: SnapDrive environment verification passed.&lt;BR /&gt;[ INFO] SMO-13507: JDBC verification for "snapmanager@node1:1521/instanz1" passed.&lt;BR /&gt;[ INFO] SMO-13506: SQLPlus verification for database SID "instanz1" passed.&amp;nbsp; Environment: [ORACLE_HOME=/oracle_base/product/12102/db]&lt;BR /&gt;Exception in thread "Thread-2" com.netapp.dlm.process.operation.OperationException: java.sql.SQLException: Festschreiben mit aktiviertem Auto-Commit nicht möglich&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.netapp.dlm.process.common.OperationCycleHeartbeatThread.run(OperationCycleHeartbeatThread.java:84)&lt;BR /&gt;Caused by: java.sql.SQLException: Festschreiben mit aktiviertem Auto-Commit nicht möglich&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at oracle.jdbc.driver.PhysicalConnection.commit(PhysicalConnection.java:2356)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at oracle.jdbc.driver.PhysicalConnection.commit(PhysicalConnection.java:2403)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at com.netapp.dlm.process.common.OperationCycleHeartbeatThread.run(OperationCycleHeartbeatThread.java:74)&lt;BR /&gt;[ INFO] SMO-13509: RMAN verification using catalog "rmancat" passed.&lt;BR /&gt;[ INFO] SMO-07431: Saving starting state of the database: instanz1(OPEN).&lt;BR /&gt;[ERROR] SMO-05075: Profile create failed: ORACLE-00300: Error executing srvctl command srvctl status database -d databasename&amp;nbsp; The command returned: [Instanz instanz1 wird auf Knoten node1 ausgeführt, Instanz instanz2 wird auf Knotennode2 ausgeführt]&lt;BR /&gt;[ERROR] SMO-13032: Cannot perform operation: Profile Create.&amp;nbsp; Root cause: ORACLE-00300: Error executing srvctl command srvctl status database -d databasename.&amp;nbsp; The command returned: [Instanz instanz1 wird auf Knotennode1 ausgeführt, Instanz instanz2 wird auf Knotennode2 ausgeführt]&lt;BR /&gt;[ERROR] SMO-09003: Failed committing changes to the repository. Batch update row count wrong: 0.&lt;BR /&gt;REMOTE-00004: RemoteObjectFactory shutdown gracefully.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I think it's a problem with the language. The srvctl command returns in german. I have set the language Param in /etc/locale.conf to "en_US.utf8&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What's wrong? Any idea?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards Engelbert&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:46:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SMO-Error-while-creating-new-Profile-on-Oracle-Linux-7-4/m-p/139817#M11876</guid>
      <dc:creator>esteinbach</dc:creator>
      <dc:date>2025-06-04T13:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: SMO: Error while creating new Profile on Oracle Linux 7.4</title>
      <link>https://community.netapp.com/t5/Data-Protection/SMO-Error-while-creating-new-Profile-on-Oracle-Linux-7-4/m-p/139834#M11877</link>
      <description>&lt;P&gt;...just guessing, ORA-00300 says something about&amp;nbsp;redo log block size. Is the Oracle-DB in archivelog mode? any other archivelog issues?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 14:06:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SMO-Error-while-creating-new-Profile-on-Oracle-Linux-7-4/m-p/139834#M11877</guid>
      <dc:creator>Spaceball</dc:creator>
      <dc:date>2018-04-25T14:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: SMO: Error while creating new Profile on Oracle Linux 7.4</title>
      <link>https://community.netapp.com/t5/Data-Protection/SMO-Error-while-creating-new-Profile-on-Oracle-Linux-7-4/m-p/141005#M11940</link>
      <description>&lt;P&gt;I think SMO need to parse the output from srvctl and expect it to be in english.&lt;/P&gt;
&lt;P&gt;Check the smo_server is running with the correct LANG environment variable:&lt;/P&gt;
&lt;PRE&gt;your-smo-box # strings /proc/`pgrep -f SMOServerCLI`/environ | fgrep -e LC -e LANG
LANG=en_US.UTF-8&lt;/PRE&gt;
&lt;P&gt;When the smo_server is started it inherit the LANG from the running shell, so in example if you log from you-source-host into your-smo-box through SSH sending the LANG variable and then start the smo_server you get the LANG&amp;nbsp; of your source SSH host.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To simply reproduce the issue SSH must be configured with SendEnv LANG LC_* and SSHd must have the required AcceptEnv.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 18:31:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SMO-Error-while-creating-new-Profile-on-Oracle-Linux-7-4/m-p/141005#M11940</guid>
      <dc:creator>brd</dc:creator>
      <dc:date>2018-06-19T18:31:45Z</dc:date>
    </item>
  </channel>
</rss>

