注册

docker安装,数据库服务不能启动

2025/01/13 575 11

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:dm8_20241230_rev255012_x86_rh6_64
【Docker版本】:26.0.2
【操作系统】:CentOS 8.2 64位
【CPU】:8核
【问题描述】*:使用docker安装,容器启动成功,但数据库服务未能启动。

创建容器命令:

sudo docker run
-d
-p 15337:5236
--restart=always
--name=dm8
--privileged=true
-e LD_LIBRARY_PATH=/opt/dmdbms/bin
-e PAGE_SIZE=16
-e EXTENT_SIZE=32
-e LOG_SIZE=1024
-e UNICODE_FLAG=1
-e CASE_SENSITIVE=0
-e CHARSET=1
-e INSTANCE_NAME=dm8
-e SYSDBA_PWD=Admin24678
-e SYSAUDITOR_PWD=Admin24678
-e PORT_NUM=5236
-v /data/zuozhen-ui/dmdbms/data:/opt/dmdbms/data dm8:dm8_20241230_rev255012_x86_rh6_64

docker的日志如下:

docker logs -f dm8

Script start.
length_in_char is no longer supported in this version, and this setting will not take effect.
Start DmAPService...
Starting DmAPService: [ OK ]
/opt/dmdbms/conf/dm.ini does not exist, use default dm.ini
Start DMSERVER success!
Dmserver is running.
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
Start DMSERVER success!
Dmserver is not running yet...
Dmserver is not running yet...
Dmserver is not running yet...
Dmserver is not running yet...
Dmserver is not running yet...
Dmserver is not running yet...
Dmserver is not running yet...
Dmserver is not running yet...
Dmserver is not running yet...
Dmserver is not running yet...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
DM Database is not OK, please wait...
Finished soft link DM current dm_DM8_202501.log to dm_DMSERVER.log
tail: cannot open '/opt/dmdbms/log/dm_DMSERVER.log' for reading: No such file or directory

回答 0
暂无回答
扫一扫
联系客服