Check hostname exists. Check data diretory exists