we-cmdb icon indicating copy to clipboard operation
we-cmdb copied to clipboard

CMDB启动失败

Open nevinxie opened this issue 7 years ago • 1 comments

描述您遇到的bug / Describe the bug
对bug进行清晰而简洁的描述。/ A clear and concise description of what the bug is. 运行命令:/bin/bash ./install.sh 遇到以下报错: [root@VM_0_14_centos build]# /bin/bash ./install.sh

  • docker --version
  • docker-compose --version
  • source cmdb-core.cfg ++ cas_url=http://129.28.200.175:8443/cas ++ cmdb_core_external_port=8080 ++ cmdb_image_name=cmdb:dev ++ cmdb_core_exteranl_ip=129.28.200.175 ++ cmdb_ip_whitelists=150.109.19.95 ++ database_image_name=cmdb-db:dev ++ database_user_password=mysql
  • sed 's~{{CMDB_CORE_IMAGE_NAME}}~cmdb:dev~' docker-compose.tpl
  • sed -i 's~{{CMDB_CORE_EXTERNAL_PORT}}~8080~' docker-compose.yml
  • sed -i 's~{{CMDB_DATABASE_IMAGE_NAME}}~cmdb-db:dev~' docker-compose.yml
  • sed -i 's~{{MYSQL_USER_PASSWORD}}~mysql~' docker-compose.yml
  • sed -i 's~{{CAS_SERVER_URL}}~http://129.28.200.175:8443/cas~' docker-compose.yml
  • sed -i 's~{{CMDB_CORE_EXTERNAL_IP}}~129.28.200.175~' docker-compose.yml
  • sed -i 's~{{CMDB_IP_WHITELISTS}}~150.109.19.95~' docker-compose.yml
  • docker-compose -f docker-compose.yml up -d ### ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

如何重现 / To Reproduce
再现行为的步骤:/ Steps to reproduce the behavior: https://github.com/WeBankPartners/we-cmdb/blob/master/cmdb-wiki/docs/install/wecmdb_install_guide.md

预期行为 / Expected behavior
对你预期会发生的事情的清晰而简洁的描述。 / A clear and concise description of what you expected to happen. 预期CMDB可以成功运行

截图 / Screenshots
请添加屏幕截图以帮助解释您的问题。 / If applicable, add screenshots to help explain your problem.

image

附加 / Additional context
在此添加有关问题的任何其他上下文。 / Add any other context about the problem here. 我是一个有20年研发经验的新用户,求指点,求帮助,给各位大佬下跪拉。

nevinxie avatar Aug 17 '19 02:08 nevinxie

编译、安装相关的脚本和指引已更新

nertonsong avatar Aug 22 '19 10:08 nertonsong