请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

启动mesos agent出错

我的理解是之前安装mesos-master的时候所有需要安装的依赖包都需要在agent节点上安装,但是启动时报 ‘./.libs/libmesos.so: undefined reference to `svn_txdelta2’‘

正在回答 回答被采纳积分+3

3回答

提问者 mottoyin 2019-03-08 00:50:28

排查了一下发现有maven依赖包没装,但是我发现老师的视频中漏了docker的安装,回放之前的视频中没有docker的安装,因为1.4.1已经找不到所以安装的是mesos-1.7.2,问下老师docker直接yum安装还是有版本要求?

1 回复 有任何疑惑可以回复我~
慕粉3339708 2019-04-07 18:36:33

启动agent报错,没有装docker...

0 回复 有任何疑惑可以回复我~
提问者 mottoyin 2019-03-08 01:11:04

好吧,一切自己动手丰衣足食:

#under mesos agent nodes  

yum install -y yum-utils device-mapper-persistent-data lvm2 

yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo yum makecache fast

yum -y install docker-ce 

systemctl start docker 

 #Test docker service 

 #result 

 $ docker run hello-world 

Unable to find image 'hello-world:latest' locally latest: Pulling from library/hello-world 1b930d010525: Pull complete Digest: sha256:2557e3c07ed1e38f26e389462d03ed943586f744621577a99efb77324b0fe535 Status: Downloaded newer image for hello-world:latest Hello from Docker! This message shows that your installation appears to be working correctly. To generate this message, Docker took the following steps: 1. The Docker client contacted the Docker daemon. 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.    (amd64) 3. The Docker daemon created a new container from that image which runs the    executable that produces the output you are currently reading. 4. The Docker daemon streamed that output to the Docker client, which sent it    to your terminal. To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bash Share images, automate workflows, and more with a free Docker ID: https://hub.docker.com/ For more examples and ideas, visit: https://docs.docker.com/get-started/

0 回复 有任何疑惑可以回复我~

相似问题

登录后可查看更多问答,登录/注册

问题已解决,确定采纳
还有疑问,暂不采纳
DevOps理论+实践之路
  • 参与学习       461    人
  • 解答问题       30    个

DevOps就是你从程序员通往架构师的快速通道

了解课程
意见反馈 帮助中心 APP下载
官方微信