Centos 无法在RedHat上启动dashDB Local

Centos 无法在RedHat上启动dashDB Local,centos,dashdb,Centos,Dashdb,从dashDB本地映像成功创建容器后,我尝试在redhat计算机上启动dashDB环境: [root@lat131 tmp]# cat /etc/os-release NAME="Red Hat Enterprise Linux Server" VERSION="7.3 (Maipo)" 以下是运行以下命令时出现的错误: [root@lat131 tmp]# docker start dashDB dashDB [root@lat131 tmp]# docker logs --follo

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

[root@lat131 tmp]# cat /etc/os-release 
NAME="Red Hat Enterprise Linux Server"
VERSION="7.3 (Maipo)"
以下是运行以下命令时出现的错误:

[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...
[root@lat131tmp]#docker start dashDB
dashDB
[root@lat131tmp]#docker日志--遵循dashDB
...
[347385.874434]启动dashDB_local.sh[193]:dashDB本地配置:SMP
[347389.462970]启动dashDB\u local.sh[193]:检查dashDB初始化之前是否已完成。。。
[347397.566534]start_dashDB_local.sh[193]:dashDB堆栈尚未初始化。
[347398.034134]启动dashDB\u local.sh[193]:##################################################################
[347398.034383]start_dashDB_local.sh[193]:在节点lat131.labo.infotel.com上运行dashDB先决条件检查
[347398.034544]启动dashDB\u local.sh[193]:##################################################################
[347398.061163]启动dashDB\u local.sh[193]:##################################################################
[347398.061504]启动dashDB\u local.sh[193]:先决条件检查--平台检查
[347398.061654]启动dashDB\u local.sh[193]:##################################################################
[347398.061804]start_dashDB_local.sh[193]:回溯(最近一次呼叫最后一次):
[347398.061947]start_dashDB_local.sh[193]:文件“/usr/lib/premissions_check.py”,第504行,在
[347398.062106]启动dashDB\u local.sh[193]:如果不是chk\U平台():
[347398.062252]在chk_平台中启动dashDB_local.sh[193]:文件“/usr/lib/premissions_check.py”,第184行
[347398.062391]启动\u dashDB\u local.sh[193]:以open('/tmp/.build\u version')作为行:**
[347398.062530]start\u dashDB\u local.sh[193]:IOError:[Errno 2]没有这样的文件或目录:'/tmp/.build\u version'
[347398.068359]启动dashDB\u local.sh[193]:#####################################################################
[347398.068540]启动\u dashDB\u local.sh[193]:先决条件检查失败。
[347398.068688]start_dashDB_local.sh[193]:在以下情况下检查打印到控制台窗口的相关消息:
[347398.068830]start_dashDB_local.sh[193]:先决条件检查正在运行,并采取了所需的纠正措施
[347398.068980]启动dashDB\u local.sh[193]:尝试设置dashDB之前的操作。
[347398.069135]启动dashDB\u local.sh[193]:退出dashDB部署。
[347398.069283]启动dashDB\u local.sh[193]:#####################################################################
正在停止用于初始化dashDB local的入口点脚本。。。
在另一个Linux系统(OpenSuse 42.2)上使用了相同的dashDB docker映像,启动dashDB Local时没有问题

有什么想法吗

谢谢

你试过了吗

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映像并重新开始下载。只能通过执行以下操作来清理图像:

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