<?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 SDE Compress problems with services file in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sde-compress-problems-with-services-file/m-p/114228#M6520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having a real headscratcher of a problem using the sdeversion command line utility on HP-UX and it seems related to the services file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can start and stop the SDE service using sdemon-o start and -o shutdown and it will find the appropriate instance information from the $SDEHOME/etc/services.sde file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Running &lt;/SPAN&gt;&lt;STRONG&gt;sdeversion -o compress -u sde&lt;/STRONG&gt;&lt;SPAN&gt; gives me this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Error: Entry for SDE instance not found in services file (-102).&lt;BR /&gt;Error: Cannot get configuration information&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Running &lt;/SPAN&gt;&lt;STRONG&gt;sdeversion -o compress -i 5153 -u sde&lt;/STRONG&gt;&lt;SPAN&gt; (this particular service is running on 5153), I go through the SDE password prompt and compress confirmation and then get this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Error: Insufficient permissions (-25).&lt;BR /&gt;Error: Unable to compress state tree.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The truly strange part is that I can do the same thing on another system pointing to another database that is supposed to be configured almost identically and it works.&amp;nbsp; The differences in configuration are the path to $SDEHOME, the database name and the SDE service running on 5151 instead of 5153.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have compared the $SDEHOME/etc/services.sde file on the two systems and they are idendtical in layout and have identical file permissions.&amp;nbsp; Aside from the user names, home directory and SDE-related paths, the environment variables on the two systems are set the same.&amp;nbsp; The .profile files for the sde admin user account on the two machines are identical (aside from path environment variables).&amp;nbsp; The SDE user has identical permissions on both databases.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Apr 2010 17:00:06 GMT</pubDate>
    <dc:creator>Paulvan_der_Est</dc:creator>
    <dc:date>2010-04-14T17:00:06Z</dc:date>
    <item>
      <title>SDE Compress problems with services file</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-compress-problems-with-services-file/m-p/114228#M6520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having a real headscratcher of a problem using the sdeversion command line utility on HP-UX and it seems related to the services file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can start and stop the SDE service using sdemon-o start and -o shutdown and it will find the appropriate instance information from the $SDEHOME/etc/services.sde file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Running &lt;/SPAN&gt;&lt;STRONG&gt;sdeversion -o compress -u sde&lt;/STRONG&gt;&lt;SPAN&gt; gives me this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Error: Entry for SDE instance not found in services file (-102).&lt;BR /&gt;Error: Cannot get configuration information&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Running &lt;/SPAN&gt;&lt;STRONG&gt;sdeversion -o compress -i 5153 -u sde&lt;/STRONG&gt;&lt;SPAN&gt; (this particular service is running on 5153), I go through the SDE password prompt and compress confirmation and then get this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Error: Insufficient permissions (-25).&lt;BR /&gt;Error: Unable to compress state tree.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The truly strange part is that I can do the same thing on another system pointing to another database that is supposed to be configured almost identically and it works.&amp;nbsp; The differences in configuration are the path to $SDEHOME, the database name and the SDE service running on 5151 instead of 5153.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have compared the $SDEHOME/etc/services.sde file on the two systems and they are idendtical in layout and have identical file permissions.&amp;nbsp; Aside from the user names, home directory and SDE-related paths, the environment variables on the two systems are set the same.&amp;nbsp; The .profile files for the sde admin user account on the two machines are identical (aside from path environment variables).&amp;nbsp; The SDE user has identical permissions on both databases.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 17:00:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-compress-problems-with-services-file/m-p/114228#M6520</guid>
      <dc:creator>Paulvan_der_Est</dc:creator>
      <dc:date>2010-04-14T17:00:06Z</dc:date>
    </item>
    <item>
      <title>SDE Compress problems with services file</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-compress-problems-with-services-file/m-p/114229#M6521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Client applications use the getservbyname() function to map service name to port number.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Depending on how your server is configured, this may include a lookup in /etc/services, but&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;certainly not in $SDEHOME/etc/services.sde.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "insufficient permissions" error is unrelated to your port issue.&amp;nbsp; If you enable tracing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;by setting SDETRACELOC and SDETRACEMODE variables, you might get more information&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;about what is happening.&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://edndoc.esri.com/arcsde/9.1/capi_concepts/trace_functions.htm"&gt;http://edndoc.esri.com/arcsde/9.1/capi_concepts/trace_functions.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 17:18:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-compress-problems-with-services-file/m-p/114229#M6521</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2010-04-14T17:18:32Z</dc:date>
    </item>
    <item>
      <title>SDE Compress problems with services file</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-compress-problems-with-services-file/m-p/114230#M6522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the help, it got me pointed in the right direction. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like the "cannot get configuration information" problem was because /etc/services did not have an entry for esri_sde.&amp;nbsp; The sde instance goes by a different name as the server hosts multiple sde instances for different databases.&amp;nbsp; I modified my so that it plucks the port number out of the $SDEHOME/etc/services.sde file before calling sdeversion and everything runs well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as the permissions issue goes, I am in the process of sorting that out with the DBA, as it looks like they've removed some permissions that SDE needs to run the compress.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 20:23:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-compress-problems-with-services-file/m-p/114230#M6522</guid>
      <dc:creator>Paulvan_der_Est</dc:creator>
      <dc:date>2010-04-26T20:23:36Z</dc:date>
    </item>
  </channel>
</rss>

