# ECE Beta1 Setup on CentOS 7

**URL:** <https://discuss.elastic.co/t/ece-beta1-setup-on-centos-7/81523>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [April 6, 2017, 6:16pm UTC](https://discuss.elastic.co/t/ece-beta1-setup-on-centos-7/81523 "2017-04-06T18:16:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![m-kiuchi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m-kiuchi/32/15219_2.png) [@m-kiuchi](https://discuss.elastic.co/u/m-kiuchi)\
**Post date:** [April 6, 2017, 6:16pm UTC](https://discuss.elastic.co/t/ece-beta1-setup-on-centos-7/81523/1 "2017-04-06T18:16:52Z")

</div>

Hi all.  
I've tried to setup ECE Beta 1 with CentOS 7.3 and stucked..

```
$ sudo ./elastic-cloud-enterprise-installer.sh --capacity 8192 --debug
[sudo] password for elastic: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elastic Cloud Enterprise Installer 

Start setting up a new Elastic Cloud Enterprise installation by installing the software on your first host. 
This first host becomes the initial coordinator and provides access to the Cloud UI, where you can manage your installation. 
To learn more about the options you can specify, see the documentation. 

NOTE: If you want to add this host to an existing installation, please specify the --coordinator-host flag
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

-- Debug Info --
NODE_TYPE - initial
REPOSITORY - docker.elastic.co/cloud-enterprise
ELASTIC_UID - 0
ELASTIC_GID - 0
RUNNER_ID - 192.168.20.91
HOST_STORAGE_PATH - /mnt/data/elastic
NODE_TYPE - initial
RUNNER_CAPACITY - 8192
RUNNER_HOST_IP - 192.168.20.91
HOST_STORAGE_DEVICE_PATH - /dev/mapper/lxc-data
HOST_STORAGE_ROOT_VOLUME_PATH - /mnt/data
RUNNER_REGION - ece-region
CLOUD_ENTERPRISE_VERSION - 1.0.0-beta1
MEMORY_SETTINGS - {}
RUNNER_AVAILABILITY_ZONE - ece-region-1a

-- Verifying Prerequisites --
Checking host storage path... PASSED
Checking docker version... PASSED
Checking internal ip connectivity... PASSED
Checking OS settings... PASSED
Checking OS kernel version... PASSED
Checking Minimum required memory... PASSED
-- Completed Verifying Prerequisites -- 

- Running Bootstrap container
- Monitoring bootstrap process
Process bootstrap logging processor:
Traceback (most recent call last):
File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
    self.run()
File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
File "/elastic_cloud_apps/bootstrap-initiator/bootstrap_initiator/logging.py", line 70, in monitor_bootstrap_log
    raise IOError("{0}/logs/bootstrap-logs/bootstrap.log doesn't exist after 1 min of retrying".format(bootstrap_properties['HOST_STORAGE_PATH']))
OSError: /mnt/data/elastic/logs/bootstrap-logs/bootstrap.log doesn't exist after 1 min of retrying
^CTraceback (most recent call last):
File "/elastic_cloud_apps/bootstrap-initiator/initiator.py", line 81, in <module>
    monitor.logging_and_bootstrap_monitor(bootstrap_properties, enable_debug)
File "/elastic_cloud_apps/bootstrap-initiator/bootstrap_initiator/monitor.py", line 18, in logging_and_bootstrap_monitor
    sleep(5)
KeyboardInterrupt

```

Along with another thread, I've set some settings.

```
$ id
uid=1000(elastic) gid=1000(elastic) groups=1000(elastic),993(docker)
$ ls -la /mnt/data
total 0
drwxrwxrwx 4 root root 33 Apr 7 02:44 .
drwxr-xr-x. 3 root root 17 Apr 7 02:40 ..
drwx------ 2 root root 6 Apr 7 02:40 docker
drwxr-xr-x 7 root root 153 Apr 7 03:01 elastic
$ sudo grep elastic /etc/sudoers
elastic	ALL=NOPASSWD: ALL

```

I seems that some process goes defunct...

```
$ ps -efww
root 2071 792 0 03:01 ? 00:00:00 docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 20000 -container-ip 172.17.0.2 -container-port 20000
root 2077 809 0 03:01 ? 00:00:00 docker-containerd-shim 93eb34117f32fe5f4a2869e1e08f2660c2c699268616722cda51c4bec0ba491a /var/run/docker/libcontainerd/93eb34117f32fe5f4a2869e1e08f2660c2c699268616722cda51c4bec0ba491a docker-runc
root 2091 2077 0 03:01 pts/1 00:00:00 /bin/bash /bin/elastic-cloud-enterprise-installer
root 2101 2091 1 03:01 pts/1 00:00:00 python3 /elastic_cloud_apps/bootstrap-initiator/initiator.py
root 2109 2101 0 03:01 pts/1 00:00:00 [sh] <defunct>
root 4335 809 0 03:15 ? 00:00:00 docker-containerd-shim 909da1ebeb35e82bf6e6bbbdd28659083571bc0ead67167890eb887d7bca5d68 /var/run/docker/libcontainerd/909da1ebeb35e82bf6e6bbbdd28659083571bc0ead67167890eb887d7bca5d68 docker-runc
root 4349 4335 4 03:15 ? 00:00:00 /usr/bin/python3 -u /sbin/my_init
root 4359 4293 0 03:15 pts/1 00:00:00 python3 /elastic_cloud_apps/bootstrap-initiator/initiator.py
root 4360 4349 0 03:15 ? 00:00:00 /sbin/runsvdir -P /etc/service
root 4361 4360 0 03:15 ? 00:00:00 runsv entry-point

```

Any advice is welcome !

---

<div class="post-metadata">

**Author:** ![uricohen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/uricohen/32/9776_2.png) [@uricohen](https://discuss.elastic.co/u/uricohen)\
**Post date:** [April 7, 2017, 9:02am UTC](https://discuss.elastic.co/t/ece-beta1-setup-on-centos-7/81523/2 "2017-04-07T09:02:57Z")

</div>

Hi @m-kiuchi

Can you try installing without the sudo directive? also, please add `--debug` and paste the output here.  
Before you retry, make sure the user you're using to install meets the following prerequisites: [https://www.elastic.co/guide/en/cloud-enterprise/current/ece-prereqs.html#ece-prereqs-users](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-prereqs.html#ece-prereqs-users)

HTH  
Uri

---

<div class="post-metadata">

**Author:** ![m-kiuchi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m-kiuchi/32/15219_2.png) [@m-kiuchi](https://discuss.elastic.co/u/m-kiuchi)\
**Post date:** [April 7, 2017, 2:06pm UTC](https://discuss.elastic.co/t/ece-beta1-setup-on-centos-7/81523/3 "2017-04-07T14:06:25Z")

</div>

Hi @uricohen

I've succeeded to run Beta1 on CentOS7.  
I think that the reason is permission for /mnt/data/elastic and the user who runs installer.

Here is output with `--debug` option.

[https://bitbucket.org/snippets/m-kiuchi/nApby](https://bitbucket.org/snippets/m-kiuchi/nApby)

Thanks much !

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 21, 2017, 2:06pm UTC](https://discuss.elastic.co/t/ece-beta1-setup-on-centos-7/81523/4 "2017-04-21T14:06:44Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
