Esri / arcgis-cookbook

Chef cookbooks for ArcGIS
Apache License 2.0
300 stars 116 forks source link

Error Base Deployment - ArcGIS Server #312

Closed dasilva95Ro closed 2 years ago

dasilva95Ro commented 2 years ago

Hi Peoples,

I'm using Cinc Client: 17.10.0 for deployment ArcGIS Enterprise 10.9, but receive that message in process install ArcGIS Server

`arcgis_enterprise_server[Unpack ArcGIS Server Setup] action unpack (skipped due to only_if)

Running handlers: [2022-07-02T19:21:40-03:00] ERROR: Running exception handlers Running handlers complete [2022-07-02T19:21:40-03:00] ERROR: Exception handlers complete Infra Phase failed. 8 resources updated in 18 minutes 50 seconds [2022-07-02T19:21:40-03:00] FATAL: Stacktrace dumped to C:/Users/rodrigo.santos/.cinc/local-mode-cache/cache/cinc-stacktrace.out [2022-07-02T19:21:40-03:00] FATAL: --------------------------------------------------------------------------------------- [2022-07-02T19:21:40-03:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT [2022-07-02T19:21:40-03:00] FATAL: --------------------------------------------------------------------------------------- [2022-07-02T19:21:40-03:00] FATAL: SystemCallError: arcgis_enterprise_server[Configure arcgisserver service] (arcgis-enterprise::install_server line 73) had an error: SystemCallError: windows_service[ArcGIS Server] (arcgis-enterprise::install_server line 638) had an error: SystemCallError: O serviþo especificado nÒo existe como serviþo instalado. - OpenService:

c:\cinc>` Tips on how to overcome this problem in ArcGIS Server?

cameronkroeker commented 2 years ago

Hi @Rod-Santos,

I suspect the installation of ArcGIS Server did not fully complete or is partially installed because it is trying to configure the ArcGIS Server Windows Service which is failing. Likely, the setup.exe exited silently without an error.

Let's check the Windows Event Viewer application logs around the time ArcGIS Server setup.exe started/finished to see if there are any messages that could provide us with some clues.

Also, check the following items:

Thanks, Cameron K.

dasilva95Ro commented 2 years ago

Hi @cameronkroeker ,

Searching for the information you requested in Event Viewer, find this message: Product: ArcGIS Server 10.9 -- One or more earlier ArcGIS product(s) exists on your machine. You must uninstall them before installing ArcGIS Server 10.9. When I viewed it, I remembered that I have an ArcMap installed on my machine. When uninstalling and running the script again, the ArcGIS Server installation proceeded without errors.

Can you tell me why ArcGIS Server cannot be installed or updated with an ArcMap next to it?

Thank you for your help, it was wonderful to have your indications!

cameronkroeker commented 2 years ago

Hi @cameronkroeker ,

Searching for the information you requested in Event Viewer, find this message: Product: ArcGIS Server 10.9 -- One or more earlier ArcGIS product(s) exists on your machine. You must uninstall them before installing ArcGIS Server 10.9. When I viewed it, I remembered that I have an ArcMap installed on my machine. When uninstalling and running the script again, the ArcGIS Server installation proceeded without errors.

Can you tell me why ArcGIS Server cannot be installed or updated with an ArcMap next to it?

Thank you for your help, it was wonderful to have your indications!

Great find @Rod-Santos! I am not sure of the exact reasons, however here it the official statement in the documentation:

https://enterprise.arcgis.com/en/system-requirements/latest/windows/arcgis-server-system-requirements.htm#ESRI_SECTION1_0FA63DB90E3B48D09E48ECB55C69AE1C

Side-by-side installation of ArcGIS Desktop, ArcReader, and ArcGIS Engine clients on the same machine with ArcGIS Server will differ depending on the version of ArcGIS Server being used:

Thanks, Cameron K.