<?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 How to configure ArcGIS Server 10.6.1 to start with CentoOS 8 in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-configure-arcgis-server-10-6-1-to-start/m-p/681775#M25987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, I understand the CentOS 8 linux distro is 'not supported' to run with 10.6.1 yet some of us push the envelope... and I'm hoping this isn't related to CentOS 8...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot get ArcGIS Server to start with the OS and I've followed these steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To configure ArcGIS Server to start with the operating system follow these steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within a command shell, switch to root user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy &amp;lt;ArcGIS Server installation directory&amp;gt;/framework/etc/scripts/arcgisserver.service unit file to /etc/systemd/system using the command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;$ cp &amp;lt;ArcGIS Server installation directory&amp;gt;/framework/etc/scripts/arcgisserver.service /etc/systemd/system&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run the following command as root user to automatically create the links in /etc/systemd/system/multi-user.target.wants:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;$ systemctl enable arcgisserver.service&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To verify that the systemd service is properly configured, restart the service and check its status.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$ systemctl stop arcgisserver.service
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$ systemctl start arcgisserver.service
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$ systemctl status arcgisserver.service&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It fails during the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;$ systemctl start arcgisserver.service&lt;/STRONG&gt; command. See below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[root@agsvr ~]# systemctl start arcgisserver.service&lt;BR /&gt;Job for arcgisserver.service failed because the control process exited with error code.&lt;BR /&gt;See "systemctl status arcgisserver.service" and "journalctl -xe" for details.&lt;BR /&gt;[root@&lt;SPAN&gt;agsvr&amp;nbsp;&lt;/SPAN&gt;~]# systemctl status arcgisserver.service&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;●&lt;/SPAN&gt; arcgisserver.service - ArcGIS Server Service&lt;BR /&gt; Loaded: loaded (/etc/systemd/system/arcgisserver.service; enabled; vendor preset: disabled)&lt;BR /&gt; Active: &lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;failed&lt;/SPAN&gt; &lt;/STRONG&gt;(Result: exit-code) since Mon 2020-06-08 18:02:28 EDT; 4min 18s ago&lt;BR /&gt; Process: 5903 ExecStart=/home/arcgis/server/startserver.sh &lt;STRONG style="color: #ff0000; "&gt;(code=exited, status=203/EXEC)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Jun 08 18:02:28 &lt;SPAN&gt;agsvr&amp;nbsp;&lt;/SPAN&gt;systemd[1]: Starting ArcGIS Server Service...&lt;BR /&gt;Jun 08 18:02:28 &lt;SPAN&gt;agsvr&amp;nbsp;&lt;/SPAN&gt;systemd[1]: arcgisserver.service: Control process exited, code=exited status=203&lt;BR /&gt;Jun 08 18:02:28 &lt;SPAN&gt;agsvr&amp;nbsp;&lt;/SPAN&gt;systemd[1]: arcgisserver.service: Failed with result 'exit-code'.&lt;BR /&gt;Jun 08 18:02:28 &lt;SPAN&gt;agsvr&amp;nbsp;&lt;/SPAN&gt;systemd[1]: &lt;STRONG style="color: #ff0000; "&gt;Failed to start ArcGIS Server Service.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 04:41:45 GMT</pubDate>
    <dc:creator>Todd</dc:creator>
    <dc:date>2021-12-12T04:41:45Z</dc:date>
    <item>
      <title>How to configure ArcGIS Server 10.6.1 to start with CentoOS 8</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-configure-arcgis-server-10-6-1-to-start/m-p/681775#M25987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, I understand the CentOS 8 linux distro is 'not supported' to run with 10.6.1 yet some of us push the envelope... and I'm hoping this isn't related to CentOS 8...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot get ArcGIS Server to start with the OS and I've followed these steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To configure ArcGIS Server to start with the operating system follow these steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within a command shell, switch to root user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy &amp;lt;ArcGIS Server installation directory&amp;gt;/framework/etc/scripts/arcgisserver.service unit file to /etc/systemd/system using the command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;$ cp &amp;lt;ArcGIS Server installation directory&amp;gt;/framework/etc/scripts/arcgisserver.service /etc/systemd/system&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run the following command as root user to automatically create the links in /etc/systemd/system/multi-user.target.wants:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;$ systemctl enable arcgisserver.service&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To verify that the systemd service is properly configured, restart the service and check its status.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$ systemctl stop arcgisserver.service
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$ systemctl start arcgisserver.service
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$ systemctl status arcgisserver.service&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It fails during the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;$ systemctl start arcgisserver.service&lt;/STRONG&gt; command. See below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[root@agsvr ~]# systemctl start arcgisserver.service&lt;BR /&gt;Job for arcgisserver.service failed because the control process exited with error code.&lt;BR /&gt;See "systemctl status arcgisserver.service" and "journalctl -xe" for details.&lt;BR /&gt;[root@&lt;SPAN&gt;agsvr&amp;nbsp;&lt;/SPAN&gt;~]# systemctl status arcgisserver.service&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;●&lt;/SPAN&gt; arcgisserver.service - ArcGIS Server Service&lt;BR /&gt; Loaded: loaded (/etc/systemd/system/arcgisserver.service; enabled; vendor preset: disabled)&lt;BR /&gt; Active: &lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;failed&lt;/SPAN&gt; &lt;/STRONG&gt;(Result: exit-code) since Mon 2020-06-08 18:02:28 EDT; 4min 18s ago&lt;BR /&gt; Process: 5903 ExecStart=/home/arcgis/server/startserver.sh &lt;STRONG style="color: #ff0000; "&gt;(code=exited, status=203/EXEC)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Jun 08 18:02:28 &lt;SPAN&gt;agsvr&amp;nbsp;&lt;/SPAN&gt;systemd[1]: Starting ArcGIS Server Service...&lt;BR /&gt;Jun 08 18:02:28 &lt;SPAN&gt;agsvr&amp;nbsp;&lt;/SPAN&gt;systemd[1]: arcgisserver.service: Control process exited, code=exited status=203&lt;BR /&gt;Jun 08 18:02:28 &lt;SPAN&gt;agsvr&amp;nbsp;&lt;/SPAN&gt;systemd[1]: arcgisserver.service: Failed with result 'exit-code'.&lt;BR /&gt;Jun 08 18:02:28 &lt;SPAN&gt;agsvr&amp;nbsp;&lt;/SPAN&gt;systemd[1]: &lt;STRONG style="color: #ff0000; "&gt;Failed to start ArcGIS Server Service.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:41:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-configure-arcgis-server-10-6-1-to-start/m-p/681775#M25987</guid>
      <dc:creator>Todd</dc:creator>
      <dc:date>2021-12-12T04:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure ArcGIS Server 10.6.1 to start with CentoOS 8</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-configure-arcgis-server-10-6-1-to-start/m-p/681776#M25988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A href="https://community.esri.com/migrated-users/10028"&gt;Todd Remmel&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it's been a few months but I just came across this thread. Not sure if you were able to get things figured out, but on a fresh CentOS 8.0 installation I was able to install and control ArcGIS Server 10.6.1 via SystemD. There are a couple different log locations you may want to check regarding the unsuccessful startup and I'd be curious if the behavior persists when using the startserver.sh and stopserver.sh scripts in the installation directory. Let me know if you're still wanting to pursue this, version 10.8.1 introduced support for RHEL 8.1, so that may be an additional factor to consider as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2020 12:19:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-configure-arcgis-server-10-6-1-to-start/m-p/681776#M25988</guid>
      <dc:creator>ChristopherPawlyszyn</dc:creator>
      <dc:date>2020-09-09T12:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure ArcGIS Server 10.6.1 to start with CentoOS 8</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-configure-arcgis-server-10-6-1-to-start/m-p/1335009#M37337</link>
      <description>&lt;P&gt;I think it has something to do with your install user isn't the user starting server. For instance, if you installed server as a user named arcgis, then that is the user that has to run the script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 16:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-configure-arcgis-server-10-6-1-to-start/m-p/1335009#M37337</guid>
      <dc:creator>RichLeeson</dc:creator>
      <dc:date>2023-10-04T16:30:55Z</dc:date>
    </item>
  </channel>
</rss>

