在 RedHat Enterprise Linux 7.2 上部署和启动本地 dashDB 时遇到错误。下面是IBM官方教程的主要步骤,我一步步跟着做的。
1.部署第一步——下载并运行容器:
docker run -d -it --privileged=true --net=host --name=dashDB -v /mnt/clusterfs:/mnt/bludata0 -v /mnt/clusterfs:/mnt/blumeta0 ibmdashdb/local:latest
2.观察部署日志:
docker logs -–follow dashDB
部署日志消息 - 通过其他所有测试,仅发生此问题:
###############################
[2246008.449894] start_dashDB_local.sh[221]: Creating dashDB directories and dashDB instance
[2246010.566736] start_dashDB_local.sh[221]: dashDB instance creation failed.
[2246010.567268] start_dashDB_local.sh[221]: Retry the operation. If the same failure occurs, contact IBM Service.
3.在Docker内启动dashDB服务:
# docker exec -it dashDB start
出现以下消息:
*************************************************
Starting services. This might take a while ...
*************************************************
Checking if dashDB needs to be upgraded/migrated ...
hostname: Name or service not known
Restart LDAP/LDAP-depended network services AND set OS to use LDAP Authentication ...
getsebool: SELinux is disabled
Re-syncing dashDB global registry ...
Configuring dashDB database environment on node hs21qc01
dashDB failed to start on hs21qc01 because database services didn't start.
Retry the operation. If the same failure occurs, contact IBM Service.
有没有人遇到过像我这样的问题?我也在 CentOS 7.2 上再次尝试,问题是相同的。
非常感谢,丹尼尔