Skip to content
This repository has been archived by the owner on Feb 25, 2019. It is now read-only.

script install err #65

Open
0xddy opened this issue Apr 19, 2018 · 6 comments
Open

script install err #65

0xddy opened this issue Apr 19, 2018 · 6 comments
Assignees
Labels

Comments

@0xddy
Copy link

0xddy commented Apr 19, 2018

centos 7.0

Start install db ...
manage01:
Name: docker pull rainbond/rbd-db:3.5 - Function: cmd.run - Result: Changed Started: - 23:39:41.327276 Duration: 136468.565 ms

      ID: db-upstart
Function: cmd.run
    Name: dc-compose up -d rbd-db
  Result: False
 Comment: Command "dc-compose up -d rbd-db" run
 Started: 23:41:57.796429
Duration: 280.822 ms
 Changes:   
          ----------
          pid:
              4526
          retcode:
              127
          stderr:
              /usr/local/bin/docker-compose: error while loading shared libraries: libz.so.1: failed to map segment from shared object: Operation not permitted
          stdout:

Summary for manage01

Succeeded: 1 (changed=2)
Failed: 1

Total states run: 2
Total run time: 136.749 s
ERROR: Minions returned with non-zero exit code
Quit rainbond install program.

@ysicing
Copy link
Contributor

ysicing commented Apr 19, 2018

centos 7.0 这个系统没有具体测试过,推荐使用centos 7.3,或者可以执行

curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose

@0xddy
Copy link
Author

0xddy commented Apr 19, 2018

@ysicing 刚刚说错了,是 centos 7.4

@0xddy
Copy link
Author

0xddy commented Apr 19, 2018

@ysicing curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose 这句命令是在 安装之前执行吗?

@ysicing
Copy link
Contributor

ysicing commented Apr 19, 2018

是的

@0xddy
Copy link
Author

0xddy commented Apr 19, 2018

@ysicing 第一次出错后,卸载docker ,然后执行上面那个命令,重新执行安装脚本 ,还是一样的错误》。

@ysicing
Copy link
Contributor

ysicing commented Apr 20, 2018

可以提供一下 /etc/fstab吗,或者确定 /etc/fstab里tmp挂载点设置了noexec,去掉此参数

@dingyong666

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants