<?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: Unable to start SDE instance after Oracle export/import of SDE in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/unable-to-start-sde-instance-after-oracle-export/m-p/52047#M2987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Original User: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:aguan@hess.com"&gt;aguan@hess.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help. I did created those public synonyms for SDE, but still have the problem of compile st_domain_type. Following the advice of some SDE admin friends, I repeated the install process from scratch (dropping sde and pods schemas first). The imports are all clean. Then I ran "exec dbms_utility.compile_schema('SDE')"&amp;nbsp; and "exec dbms_utility.compile_schema('PODS')", all objects under SDE and PODS are valid. I then ran sdesetup -o install, it did&amp;nbsp; install all those missing st_xxx public synonyms but many objects became invalid. So I reran "exec dbms_utility.compile_schema('SDE')"&amp;nbsp; and found all SDE objects become valid except one, st_domain_method type body, with this same error:Error(112,51): PLS-00538: subprogram or cursor 'ODCIINDEXSTART' is declared in an object type specification and must be defined in the object type body. I started to believe this is a SDE bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Allen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2011 19:01:03 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2011-12-07T19:01:03Z</dc:date>
    <item>
      <title>Unable to start SDE instance after Oracle export/import of SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/unable-to-start-sde-instance-after-oracle-export/m-p/52045#M2985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Original User: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:aguan@hess.com"&gt;aguan@hess.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a data vendor who delivers complete SDE data through the traditional Oracle export utility (10.2). We received an Oracle export file that has two schemas, SDE and PODs. The PODS is the business data. The SDE data is in ArcSDE 9.3.1 with no SPs. Following their instructions, I imported SDE schema first following by PODS. The imports went well with no problem at all. But when I tried to start the sde instance (on Linux) using "sdemon -o start", I got this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL Stmt: &amp;lt;ALTER TYPE st_domain_methods COMPILE BODY&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WARNING: Type st_domain_methods did not compile!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR in creating system stored procedures.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: -51&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DBMS error code: 24344&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-24344: success with compilation error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could not start ArcSDE -- Check Network, $SDEHOME disk, DBMS settings and dbinit.sde.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked SDE.st_domain_methods type body. It is invalid, and when I compiled it, it gave this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PLS-00538: subprogram or cursor 'ODCIINDEXSTART' is declared in an object type specification and must be defined in the object type body.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see there are 3 overloaded ODCIINDEXSTART functions in SDE.st_domain_methods type header, and also there are 3 matched ODCIINDEXSTART functions in the type body so I don't know why it complains about mismatched header and body.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The vendor never saw this error before. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice is greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Allen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 14:33:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/unable-to-start-sde-instance-after-oracle-export/m-p/52045#M2985</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-12-05T14:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start SDE instance after Oracle export/import of SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/unable-to-start-sde-instance-after-oracle-export/m-p/52046#M2986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: jnderose&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Allen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Following the import of the SDE schema it is a good idea to check for any invalid packages etc that may exist prior to proceeding with the import of the other schemas.&amp;nbsp; This may still be done following the import of all however.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check for invalid objects:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;COLUMN object_name FORMAT A30
SELECT owner,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object_type,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; object_name,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status
FROM&amp;nbsp;&amp;nbsp; dba_objects
WHERE&amp;nbsp; status = 'INVALID'
ORDER BY owner, object_type, object_name;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you aware of the spatial type being used in this geodatabase?&amp;nbsp; If using ST_Geometry the following article may be of interest:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Problem:&amp;nbsp; Exporting and importing an Oracle SDE schema does not include public synonyms&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/34328" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/34328&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If these were not created prior to the import there is also the possibility that the incorrect ST_Functions are being referenced.&amp;nbsp; Oracle maintains their own ST Type for Oracle Spatial functions and these may have become referenced by error.&amp;nbsp; Connected as SDE, it may be a good idea to drop the existing ST_Functions followed by the creation of the new ones outlined in the KB and a recompile of the SDE schema.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, has the following been granted:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;GRANT EXECUTE on dbms_lock TO PUBLIC;
GRANT EXECUTE on dbms_pipe TO PUBLIC;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/unable-to-start-sde-instance-after-oracle-export/m-p/52046#M2986</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-10T22:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to start SDE instance after Oracle export/import of SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/unable-to-start-sde-instance-after-oracle-export/m-p/52047#M2987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Original User: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:aguan@hess.com"&gt;aguan@hess.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help. I did created those public synonyms for SDE, but still have the problem of compile st_domain_type. Following the advice of some SDE admin friends, I repeated the install process from scratch (dropping sde and pods schemas first). The imports are all clean. Then I ran "exec dbms_utility.compile_schema('SDE')"&amp;nbsp; and "exec dbms_utility.compile_schema('PODS')", all objects under SDE and PODS are valid. I then ran sdesetup -o install, it did&amp;nbsp; install all those missing st_xxx public synonyms but many objects became invalid. So I reran "exec dbms_utility.compile_schema('SDE')"&amp;nbsp; and found all SDE objects become valid except one, st_domain_method type body, with this same error:Error(112,51): PLS-00538: subprogram or cursor 'ODCIINDEXSTART' is declared in an object type specification and must be defined in the object type body. I started to believe this is a SDE bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Allen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 19:01:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/unable-to-start-sde-instance-after-oracle-export/m-p/52047#M2987</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-12-07T19:01:03Z</dc:date>
    </item>
  </channel>
</rss>

