Install CentOS hang


(dcam) #1

running script install hangs at : + [[ ! -e /mnt/data/elastic ]] Why does it occur?

+ set -e
+ CLOUD_ENTERPRISE_VERSION=1.1.2
+ DOCKER_REGISTRY=docker.elastic.co
+ ECE_DOCKER_REPOSITORY=cloud-enterprise
+ HOST_STORAGE_PATH=/mnt/data/elastic
+ HOST_DOCKER_HOST=/var/run/docker.sock
+ YELLOW='\033[0;33m'
+ RED='\033[0;31m'
+ NC='\033[0m'
+ GENERAL_ERROR_EXIT_CODE=1
+ UNKNOWN_COMMAND_EXIT_CODE=2
+ INVALID_ARGUMENT_EXIT_CODE=3
+ NON_VALID_USER_UID_EXIT_CODE=4
+ PRECONDITION_NOT_MET_EXIT_CODE=5
+ FORCE_INSTALL=false
+ HOST_PREREQ_FAILED=false
+ ENABLE_DEBUG_LOGGING=false
+ OVERWRITE_EXISTING_IMAGE=false
+ TIMEOUT_FACTOR=1.0
+ COMMAND=
+ COMMAND=help
+ '[' 1 -gt 0 ']'
+ COMMAND=install
+ case $COMMAND in
+ shift
+ main
+ setArgumentWithFilter HOST_DOCKER_HOST HOST_DOCKER_HOST /var/run/docker.sock
+ local _value=/var/run/docker.sock
+ [[ /var/run/docker.sock == *\u\n\i\x\:\/\/* ]]
+ setArgument HOST_DOCKER_HOST HOST_DOCKER_HOST /var/run/docker.sock
+ [[ /var/run/docker.sock == --* ]]
+ [[ -z /var/run/docker.sock ]]
+ local __resultvar=HOST_DOCKER_HOST
+ eval 'HOST_DOCKER_HOST='\''/var/run/docker.sock'\'''
++ HOST_DOCKER_HOST=/var/run/docker.sock
+ '[' install == install ']'
+ parseInstallArguments
+ '[' '' '!=' '' ']'
+ verifyHostPreconditions
+ validateDockerSocket
+ '[' '!' -S /var/run/docker.sock ']'
+ validateRunningUserUID
++ id -ru
+ local uuid=1000
++ id -rg
+ local guid=1000
+ [[ 1000 -lt 1000 ]]
+ [[ 1000 -lt 1000 ]]
+ [[ 1000 -gt 60000 ]]
+ [[ 1000 -gt 60000 ]]
+ verifyFirewalldPrecondition
+ hash systemctl
++ systemctl is-active firewalld
+ local is_active=unknown
+ [[ unknown == \a\c\t\i\v\e ]]
+ createAndValidateHostStoragePath
++ id -u
+ uid=1000
++ id -g
+ gid=1000
+ [[ ! -e /mnt/data/elastic ]]

(dcam) #2

I added /mnt/data/elastic and it worked!


(system) #3

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