I'm trying to do a fresh install of Portal for ArcGIS on Windows Server 2016. The install goes fine but I keep getting an error when trying to create the portal site and initial admin account. I get an error saying "There was an error creating your initial administrator account. Index Service configuration failed. For more information, please view the log messages located in the content directory specified during setup."
I have already tried uninstalling and reinstalling Portal on the server. I also checked the files from this thread https://community.esri.com/thread/223779-i-cannot-create-a-portal-admin-account-with-arcgis-enterprise.
I attached a screenshot of the error I'm getting as well as a copy of the log from Portal.
If anyone has any ideas what the problem might be I would appreciate the help!
You'll need at least two cores on the Portal machine to create the site. If you only have core, that's the reason it's failing.
Yes, it's changed due to a limitation in an internal component which required more than 1 core. At 10.7 and 10.7.1, you'll need two cores as a hard requirement. At 10.8, we've resolved that issue so you can create/upgrade portal on a machine with one core, but in our documentation, we list the following requirements:
Processor: 2 cores minimum for development and testing, 4 cores minimum highly recommended for production systems
You'll see this in the documentation when 10.8 is released.
I have save error. Please help
Index Service configuration failed
Attempt to configure data store failed. Attempt to configure data store failed.. Extended error message: Failed to configure spatiotemporal big data store.. Extended error message: Failed to start spatiotemporal big data store machine.. Extended error message: Failed to start spatiotemporal big data store machine
Our portal server is
The quickest troubleshooting step is to make sure that ports 7120 and 7220 are not in use. If they aren't, I suggest you reach out to Technical Support so they can take a look with you.
If you have antivirus installed on the server, disable it and try. it worked for me while installing 10.7.1
Hi Jonathan,
I am hoping you can elaborate a bit on this. I had Portal working just fine on a single core machine at version 10.6.1. I attempted to upgrade to 10.7 using the ArcGIS Enterprise Builder and ran into the "Index Service Configuration Failed" error. Is the two core requirement something that changed between these two versions? I am having a hard time finding information about how many cores are needed to run Enterprise. I see that for the Portal it is recommended to have 4 cores for 100 concurrent users, but my requirements are not even close to 100 users (more like 15 or so). Any advice on the topic would be appreciated so I can justify resource upgrades. Thanks!
Hi!
I am having the exact same issue. I have installed portal 10.7.1 on a Centos 7 VM and am trying to create a portal. When I try to create the Portal instance, it crashes with the following error messages. I am running with 16 cores and ports 7120 and 7220 are not in use.
Here is the full description of my vm hardware:
Architecture: x86_64CPU op-mode(s): 32-bit, 64-bitByte Order: Little EndianCPU(s): 16On-line CPU(s) list: 0-15Thread(s) per core: 1Core(s) per socket: 1Socket(s): 16NUMA node(s): 1Vendor ID: GenuineIntelCPU family: 6Model: 60Model name: Intel Core Processor (Haswell, no TSX, IBRS)Stepping: 1CPU MHz: 2593.990BogoMIPS: 5187.98Hypervisor vendor: KVMVirtualization type: fullL1d cache: 32KL1i cache: 32KL2 cache: 4096KL3 cache: 16384KNUMA node0 CPU(s): 0-15
Here is the error messages
<Msg time="2020-02-21T00:45:21,768" type="INFO" code="209020" source="Portal Admin" process="3667" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Starting to initialize indexer module.</Msg><Msg time="2020-02-21T00:45:21,796" type="INFO" code="218022" source="Portal Admin" process="3667" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Elastic node configuration started.</Msg><Msg time="2020-02-21T00:46:25,957" type="WARNING" code="218014" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Starting Index Service.</Msg><Msg time="2020-02-21T00:46:25,959" type="WARNING" code="218015" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Started Index Service.</Msg><Msg time="2020-02-21T00:47:41,535" type="WARNING" code="218014" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Starting Index Service.</Msg><Msg time="2020-02-21T00:47:41,536" type="WARNING" code="218015" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Started Index Service.</Msg><Msg time="2020-02-21T00:48:57,105" type="WARNING" code="218014" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Starting Index Service.</Msg><Msg time="2020-02-21T00:48:57,106" type="WARNING" code="218015" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Started Index Service.</Msg><Msg time="2020-02-21T00:50:12,676" type="WARNING" code="218014" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Starting Index Service.</Msg><Msg time="2020-02-21T00:50:12,676" type="WARNING" code="218015" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Started Index Service.</Msg><Msg time="2020-02-21T00:51:28,247" type="WARNING" code="218014" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Starting Index Service.</Msg><Msg time="2020-02-21T00:51:28,248" type="WARNING" code="218015" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Started Index Service.</Msg><Msg time="2020-02-21T00:52:43,815" type="WARNING" code="218014" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Starting Index Service.</Msg><Msg time="2020-02-21T00:52:43,816" type="WARNING" code="218015" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Started Index Service.</Msg><Msg time="2020-02-21T00:53:59,391" type="WARNING" code="218014" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Starting Index Service.</Msg><Msg time="2020-02-21T00:53:59,393" type="WARNING" code="218015" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Started Index Service.</Msg><Msg time="2020-02-21T00:55:14,957" type="WARNING" code="218014" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Starting Index Service.</Msg><Msg time="2020-02-21T00:55:14,958" type="WARNING" code="218015" source="Portal" process="3379" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Started Index Service.</Msg><Msg time="2020-02-21T00:55:29,362" type="SEVERE" code="110506" source="Data Store" process="3667" thread="70" methodName="" machine="xyz" user="" elapsed="" requestID="">Attempt to configure data store failed. Attempt to configure data$<Msg time="2020-02-21T00:55:29,363" type="SEVERE" code="218028" source="Portal Admin" process="3667" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Index Service configuration failed.</Msg><Msg time="2020-02-21T00:55:29,363" type="SEVERE" code="218028" source="Portal Admin" process="3667" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Index Service configuration failed.</Msg>$creation. Index Service configuration failed.</Msg><Msg time="2020-02-21T00:55:44,639" type="INFO" code="209074" source="Portal Admin" process="3667" thread="1" methodName="" machine="xyz" user="" elapsed="" requestID="">Connection file deleted from disk.</Msg>
Under <install directory>/framework/runtime/ds/usr/logs, you should be able to see a log file that describes why the index service couldn't start. Can you post a snippet of those logs, obscuring any identifying information?
Hi,
Here is the log. Let me knos if you need anything else!
Cheers,
Andrew
[2020-02-20T22:39:38,670][ERROR][o.e.b.Bootstrap ] [SERVERNAME] Exceptionorg.elasticsearch.transport.BindTransportException: Failed to resolve host [_site_, SERVERNAME, _local_] at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:772) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.java:134) ~[?:?] at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:66) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.transport.TransportService.doStart(TransportService.java:217) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:66) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.node.Node.start(Node.java:667) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:265) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:335) [elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) [elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:127) [elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) [elasticsearch-cli-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) [elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:86) [elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT]Caused by: java.net.UnknownHostException: SERVERNAME: Name or service not known at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?] at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(Unknown Source) ~[?:?] at java.net.InetAddress.getAddressesFromNameService(Unknown Source) ~[?:?] at java.net.InetAddress$NameServiceAddresses.get(Unknown Source) ~[?:?] at java.net.InetAddress.getAllByName0(Unknown Source) ~[?:?] at java.net.InetAddress.getAllByName(Unknown Source) ~[?:?] at java.net.InetAddress.getAllByName(Unknown Source) ~[?:?] at org.elasticsearch.common.network.NetworkService.resolveInternal(NetworkService.java:237) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.common.network.NetworkService.resolveInetAddresses(NetworkService.java:187) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.common.network.NetworkService.resolveBindHostAddresses(NetworkService.java:106) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:770) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] ... 14 more[2020-02-20T22:39:38,678][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [SERVERNAME] uncaught exception in thread [main]org.elasticsearch.bootstrap.StartupException: BindTransportException[Failed to resolve host [_site_, SERVERNAME, _local_]]; nested: UnknownHostException[SERVERNAME: Name or service not known]; at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:140) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:127) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:86) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT]Caused by: org.elasticsearch.transport.BindTransportException: Failed to resolve host [_site_, SERVERNAME, _local_] at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:772) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.java:134) ~[?:?] at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:66) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.transport.TransportService.doStart(TransportService.java:217) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:66) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.node.Node.start(Node.java:667) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:265) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:335) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] ... 6 moreCaused by: java.net.UnknownHostException: SERVERNAME: Name or service not known at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?] at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(Unknown Source) ~[?:?] at java.net.InetAddress.getAddressesFromNameService(Unknown Source) ~[?:?] at java.net.InetAddress$NameServiceAddresses.get(Unknown Source) ~[?:?] at java.net.InetAddress.getAllByName0(Unknown Source) ~[?:?] at java.net.InetAddress.getAllByName(Unknown Source) ~[?:?] at java.net.InetAddress.getAllByName(Unknown Source) ~[?:?] at org.elasticsearch.common.network.NetworkService.resolveInternal(NetworkService.java:237) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.common.network.NetworkService.resolveInetAddresses(NetworkService.java:187) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.common.network.NetworkService.resolveBindHostAddresses(NetworkService.java:106) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:770) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.java:134) ~[?:?] at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:66) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.transport.TransportService.doStart(TransportService.java:217) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:66) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.node.Node.start(Node.java:667) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:265) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:335) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) ~[elasticsearch-6.4.2.jar:6.4.2-SNAPSHOT] ... 6 more[2020-02-20T22:39:39,550][INFO ][o.e.n.Node ] [SERVERNAME] stopping ...[2020-02-20T22:39:39,553][INFO ][o.e.n.Node ] [SERVERNAME] stopped[2020-02-20T22:39:39,553][INFO ][o.e.n.Node ] [SERVERNAME] closing ...[2020-02-20T22:39:39,563][INFO ][o.e.n.Node ] [SERVERNAME] closed
Looks like the index service is having trouble resolving the hostname of the machine:
Failed to resolve host [_site_, SERVERNAME, _local_]...Caused by: java.net.UnknownHostException: SERVERNAME: Name or service not known
Failed to resolve host [_site_, SERVERNAME, _local_]
...
Caused by: java.net.UnknownHostException: SERVERNAME: Name or service not known
Any issues running ifconfig/pings/hostname on the machine, and not returning the expected information?
I have fixed another problem, but ran into this error message.
2020-02-26 18:20:03.002 UTC [10957] FATAL: no pg_hba.conf entry for host "[local]", user "centos", database "centos", SSL off
Seems to be a common issue with PostGres, and the recommendation seems to be as follows:
Edit pg_hba.conf under Master data directory and make the following changes:local all <user_name> trust host all <user_name> 0.0.0.0/0 trust host all <user_name> ::/0 trust
Unfortunately, when I try that the pg_hba.conf file resets as soon as the "Create Portal" command, so the changes are undone.
Any help you can give me would be greatly appreciated.
Thanks,
I got it working again. There must have been some residual memory of the previous settings, as I uninstalled portal and reinstalled it and everything created perfectly.
Thanks for your help!
Glad you got it working! Couple things I need to point out though:
1) Modifying internal files is not supported and risky. The pg_hba.conf file was getting updated because Portal is expecting and writes certain contents to it
2) The 2020-02-26 18:20:03.002 UTC [10957] FATAL: no pg_hba.conf entry for host "[local]", user "centos", database "centos", SSL off errors are expected. Portal is checking the status of the database, but prior to 10.8, doesn't check with a username nor DB, so it assumes the install user. These can be ignored. This is fixed at 10.8.
3) The trust setting allows you to connect to the database without a password, which is a security risk. Allowing anyone to connect from anywhere (0.0.0.0 and ::/0) is certainly not something you want to do.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.