<?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 ArcSDE 10.1 service, esri_sde, creation failed in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsde-10-1-service-esri-sde-creation-failed/m-p/508510#M19776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, friends,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I am doing MS SQL Server (2012 version) based ArcSDE (10.1). I followed the installation guide to do create and start the service. But when I started the service, it is always failed. No matter what I do, I always get the error message of "The ArcSDE Service (esri_sde) service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Since I am following the installation guide and I want to create the service on the local server machine, I want to ask experts questions based on the steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 1. for creating the service, I use the default service name, which is esri_sde. My machine name is TEST1, and the SQL Server instance name is: MSSQLSERVER.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; In the sample command line: sdeservice -o create -d SQLSERVER,MYSERVER\SSINSTANCE -i sdesvc -p keepout&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; For the d parameter, if I use TEST1\MSSQLSERVER, it gives me the error message: Database service MSSQL$MSSQLSERVER does not exist. Use option -n to exclude MSSQL$MSSQLSERVER from ArcSDE dependent service.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; If I use only machine name, it works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; For me, the working command line is: sdeservice -o create -d SQLSERVER,CATEVAC2 -p keepout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 2. for register operation of ADMIN_DATABASE , the sample command is: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; sdeservice -o register -d SQLSERVER,MYSERVER\SSINSTANCE -r ADMIN_DATABASE -v mygdb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; In my case, I changed MYSERVER\SSINSTANCE to TEST1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; My questions are: what is ADMIN_DATABASE? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; How to set it? There is no database mygdb in the instance. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Should this database pre-exist? I created a sde database by using the Database Management Studio, and I changed "mygdb" to "sde". &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; So, in my case, the register database opertion command line is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; sdeservice -o register -d SQLSERVER,TEST1 -r ADMIN_DATABASE -v sde&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 3. for register operation of SDE_DBA_USER, the sample command is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; sdeservice -o register -d SQLSERVER,MYSERVER\SSINSTANCE -r SDE_DBA_USER -v "localhost\network service" -i sdesvc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I changed MYSERVER\SSINSTANCE to TEST1 and removed -i sdesvc since I want to use the default service name. So, my working verion of command line is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; sdeservice -o modify -d SQLSERVER,TEST1 -r SDE_DBA_USER -v "localhost\network service"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; In my case, three commands were executed successfully. But when I tried to start up the esri_sde, I got error messages as I mentioned before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Any else setting that I left out?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Thanks for any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; -Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2013 17:21:13 GMT</pubDate>
    <dc:creator>xiannianchen</dc:creator>
    <dc:date>2013-05-07T17:21:13Z</dc:date>
    <item>
      <title>ArcSDE 10.1 service, esri_sde, creation failed</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsde-10-1-service-esri-sde-creation-failed/m-p/508510#M19776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, friends,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I am doing MS SQL Server (2012 version) based ArcSDE (10.1). I followed the installation guide to do create and start the service. But when I started the service, it is always failed. No matter what I do, I always get the error message of "The ArcSDE Service (esri_sde) service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Since I am following the installation guide and I want to create the service on the local server machine, I want to ask experts questions based on the steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 1. for creating the service, I use the default service name, which is esri_sde. My machine name is TEST1, and the SQL Server instance name is: MSSQLSERVER.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; In the sample command line: sdeservice -o create -d SQLSERVER,MYSERVER\SSINSTANCE -i sdesvc -p keepout&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; For the d parameter, if I use TEST1\MSSQLSERVER, it gives me the error message: Database service MSSQL$MSSQLSERVER does not exist. Use option -n to exclude MSSQL$MSSQLSERVER from ArcSDE dependent service.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; If I use only machine name, it works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; For me, the working command line is: sdeservice -o create -d SQLSERVER,CATEVAC2 -p keepout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 2. for register operation of ADMIN_DATABASE , the sample command is: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; sdeservice -o register -d SQLSERVER,MYSERVER\SSINSTANCE -r ADMIN_DATABASE -v mygdb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; In my case, I changed MYSERVER\SSINSTANCE to TEST1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; My questions are: what is ADMIN_DATABASE? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; How to set it? There is no database mygdb in the instance. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Should this database pre-exist? I created a sde database by using the Database Management Studio, and I changed "mygdb" to "sde". &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; So, in my case, the register database opertion command line is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; sdeservice -o register -d SQLSERVER,TEST1 -r ADMIN_DATABASE -v sde&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 3. for register operation of SDE_DBA_USER, the sample command is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; sdeservice -o register -d SQLSERVER,MYSERVER\SSINSTANCE -r SDE_DBA_USER -v "localhost\network service" -i sdesvc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I changed MYSERVER\SSINSTANCE to TEST1 and removed -i sdesvc since I want to use the default service name. So, my working verion of command line is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; sdeservice -o modify -d SQLSERVER,TEST1 -r SDE_DBA_USER -v "localhost\network service"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; In my case, three commands were executed successfully. But when I tried to start up the esri_sde, I got error messages as I mentioned before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Any else setting that I left out?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Thanks for any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; -Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 17:21:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsde-10-1-service-esri-sde-creation-failed/m-p/508510#M19776</guid>
      <dc:creator>xiannianchen</dc:creator>
      <dc:date>2013-05-07T17:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSDE 10.1 service, esri_sde, creation failed</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsde-10-1-service-esri-sde-creation-failed/m-p/508511#M19777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not that familiar with SDE, but this may help: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blogs.esri.com/esri/supportcenter/2012/06/20/connecting-to-be-or-not-to-be-with-arcsde-10-1/"&gt;http://blogs.esri.com/esri/supportcenter/2012/06/20/connecting-to-be-or-not-to-be-with-arcsde-10-1/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 17:57:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsde-10-1-service-esri-sde-creation-failed/m-p/508511#M19777</guid>
      <dc:creator>BubbaHey</dc:creator>
      <dc:date>2013-05-07T17:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSDE 10.1 service, esri_sde, creation failed</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsde-10-1-service-esri-sde-creation-failed/m-p/508512#M19778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here are the steps if it's sde schema geodatabase:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i) Write the unique ArcSDE service name and port number (example: esri_sde&amp;nbsp;&amp;nbsp; 5151/tcp) in SDEHOME/services.sde and windows service file (located at C:\Windows\System32\drivers\etc\services)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ii) Make sure the SDEHOME is set (echo %SDEHOME%) correctly. if not "set SDEHOME= 'correct SDEHOME path'"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;iii) execute the following command: sdeservice -o create -d SQLSERVER,SQLSERVERINSTANCE -p &amp;lt;password&amp;gt; -i 5151&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;iv) then execute "sdeservice -o register -d SQLSERVER, SQLSERVERINSTANCE -r ADMIN_DATABASE -v &amp;lt;Database Name&amp;gt; -i 5151"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;v) Try starting the service from windows service panel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ADMIN_DATABASE would write on the windows registry regarding the database value for that ArcSDE service. That's how you would know that 5151 service is running/registered for which database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps. Let us know how it goes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 02:52:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsde-10-1-service-esri-sde-creation-failed/m-p/508512#M19778</guid>
      <dc:creator>AbhijitSarkar</dc:creator>
      <dc:date>2013-05-08T02:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSDE 10.1 service, esri_sde, creation failed</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsde-10-1-service-esri-sde-creation-failed/m-p/508513#M19779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, basically, that's about the same as the installation instruction, except the service name is 5151 other than the default name of esri_sde.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did try your suggestion. The service can't be started. The same error message appeared again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Here are the steps if it's sde schema geodatabase:&lt;BR /&gt;&lt;BR /&gt;i) Write the unique ArcSDE service name and port number (example: esri_sde&amp;nbsp;&amp;nbsp; 5151/tcp) in SDEHOME/services.sde and windows service file (located at C:\Windows\System32\drivers\etc\services)&lt;BR /&gt;&lt;BR /&gt;ii) Make sure the SDEHOME is set (echo %SDEHOME%) correctly. if not "set SDEHOME= 'correct SDEHOME path'"&lt;BR /&gt;&lt;BR /&gt;iii) execute the following command: sdeservice -o create -d SQLSERVER,SQLSERVERINSTANCE -p &amp;lt;password&amp;gt; -i 5151&lt;BR /&gt;&lt;BR /&gt;iv) then execute "sdeservice -o register -d SQLSERVER, SQLSERVERINSTANCE -r ADMIN_DATABASE -v &amp;lt;Database Name&amp;gt; -i 5151"&lt;BR /&gt;&lt;BR /&gt;v) Try starting the service from windows service panel.&lt;BR /&gt;&lt;BR /&gt;ADMIN_DATABASE would write on the windows registry regarding the database value for that ArcSDE service. That's how you would know that 5151 service is running/registered for which database.&lt;BR /&gt;&lt;BR /&gt;I hope this helps. Let us know how it goes.&lt;BR /&gt;&lt;BR /&gt;Thanks..&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:25:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsde-10-1-service-esri-sde-creation-failed/m-p/508513#M19779</guid>
      <dc:creator>xiannianchen</dc:creator>
      <dc:date>2013-05-08T14:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSDE 10.1 service, esri_sde, creation failed</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcsde-10-1-service-esri-sde-creation-failed/m-p/508514#M19780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post the following: sdeservice -o list -i 5151 ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 01:34:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcsde-10-1-service-esri-sde-creation-failed/m-p/508514#M19780</guid>
      <dc:creator>AbhijitSarkar</dc:creator>
      <dc:date>2013-05-09T01:34:33Z</dc:date>
    </item>
  </channel>
</rss>

