首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在RedHat上启动dashDB本地

无法在RedHat上启动dashDB本地
EN

Stack Overflow用户
提问于 2017-07-25 14:47:51
回答 1查看 112关注 0票数 0

在从redhat本地镜像成功创建容器后,我尝试在dashDB机器上启动dashDB环境:

代码语言:javascript
复制
[root@lat131 tmp]# cat /etc/os-release 
NAME="Red Hat Enterprise Linux Server"
VERSION="7.3 (Maipo)"

以下是我运行以下命令时得到的错误:

代码语言:javascript
复制
[root@lat131 tmp]# docker start dashDB

dashDB

[root@lat131 tmp]# docker logs --follow dashDB

...

[347385.874434] start_dashDB_local.sh[193]: dashDB Local configuration: SMP

[347389.462970] start_dashDB_local.sh[193]: Checking if dashDB initialize has been done previously ...

[347397.566534] start_dashDB_local.sh[193]: dashDB stack is NOT initialized yet.

[347398.034134] start_dashDB_local.sh[193]: ##################################################################

[347398.034383] start_dashDB_local.sh[193]: Running dashDB prerequisite checks on node: lat131.labo.infotel.com

[347398.034544] start_dashDB_local.sh[193]: ##################################################################

[347398.061163] start_dashDB_local.sh[193]: ##################################################################

[347398.061504] start_dashDB_local.sh[193]: Prerequisite check -- Platform Check

[347398.061654] start_dashDB_local.sh[193]: ##################################################################

[347398.061804] start_dashDB_local.sh[193]: Traceback (most recent call last):

[347398.061947] start_dashDB_local.sh[193]: File "/usr/lib/prerequisites_check.py", line 504, in <module>

[347398.062106] start_dashDB_local.sh[193]: if not chk_platform():

[347398.062252] start_dashDB_local.sh[193]: File "/usr/lib/prerequisites_check.py", line 184, in chk_platform

[347398.062391] start_dashDB_local.sh[193]: with open('/tmp/.build_version') as lines:**

[347398.062530] start_dashDB_local.sh[193]: IOError: [Errno 2] No such file or directory: '/tmp/.build_version'

[347398.068359] start_dashDB_local.sh[193]: #####################################################################

[347398.068540] start_dashDB_local.sh[193]: Prerequisite check failed.

[347398.068688] start_dashDB_local.sh[193]: Examine the relevant messages printed to the console window when

[347398.068830] start_dashDB_local.sh[193]: the prerequisite check was running and take the required corrective

[347398.068980] start_dashDB_local.sh[193]: actions before attempting to set up dashDB.

[347398.069135] start_dashDB_local.sh[193]: Exiting the dashDB deployment.

[347398.069283] start_dashDB_local.sh[193]: #####################################################################

 Stopping The entrypoint script for initializing dashDB local...

相同的Linux镜像已经在另一个dashDB系统(Linux42.2)上使用,并且在启动dashDB本地时没有问题。

有什么想法吗?

谢谢

EN

回答 1

Stack Overflow用户

发布于 2017-09-29 10:33:53

你试过做什么吗?

代码语言:javascript
复制
docker stop dashDB
docker rm dashDB
rm -rf /mnt/clusterfs/*
docker run -d -it --privileged=true --net=host --name=dashDB 
-v /mnt/clusterfs:/mnt/bludata0 
-v /mnt/clusterfs:/mnt/blumeta0 ibmdashdb/local:latest-linux

您的dashDB容器有问题。我在我的一台centos服务器上看到了这一点,但还有另外两台服务器没有问题。如果这不起作用,您可能需要清理docker dashDB镜像并重新开始下载。只能通过执行以下操作清除图像

代码语言:javascript
复制
docker stop dashDB
service stop docker
service start docker
rm -rf /var/run/docker
docker rm dashDB
rm -rf /mnt/clusterfs/*
docker run -d -it --privileged=true --net=host --name=dashDB 
-v /mnt/clusterfs:/mnt/bludata0 
-v /mnt/clusterfs:/mnt/blumeta0 ibmdashdb/local:latest-linux
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/45295835

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档