达梦数据库启动失败code=exited, status=1/FAILURE - 管理猿 2020 年 07 月 23 日 |访问: 2,279 次

达梦数据库启动失败,运行环境
系统:银河麒麟
数据库:达梦
启动失败详情:

root@Kylin:/opt/dmdbms/bin# systemctl status DmServiceicdby
● DmServiceicdby.service - Dameng Database Service(DmServiceicdby).
   Loaded: loaded (/lib/systemd/system/DmServiceicdby.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since 四 2020-07-23 10:11:37 CST; 48s ago
  Process: 1680 ExecStart=/opt/dmdbms/bin/DmServiceicdby start (code=exited, status=1/FAILURE)

7月 23 10:11:37 Kylin DmServiceicdby[1680]: Database mode = 0, oguid = 0
7月 23 10:11:37 Kylin DmServiceicdby[1680]: os_file_open at (/ssd/ztn/trunc/dta/fil.c: 3317) error! desc: Permission denied, path: /opt/dmdbms/bin/icdby/SYSTEM.DBF, code: 13
7月 23 10:11:37 Kylin DmServiceicdby[1680]: License will expire on 2020-11-21
7月 23 10:11:37 Kylin DmServiceicdby[1680]: os_file_create_ex error! desc: Permission denied, code: 13, path: /opt/dmdbms/bin/icdby/TEMP.DBF
7月 23 10:11:37 Kylin DmServiceicdby[1680]: fsm_file_add group_id 3, file_id 0, size_in_pages 320, path /opt/dmdbms/bin/icdby/TEMP.DBF failed, code -7004
7月 23 10:11:37 Kylin DmServiceicdby[1680]: pinfo_gen_tmp_ts failed, code=-7004
7月 23 10:11:37 Kylin systemd[1]: DmServiceicdby.service: Control process exited, code=exited status=1
7月 23 10:11:37 Kylin systemd[1]: Failed to start Dameng Database Service(DmServiceicdby)..
7月 23 10:11:37 Kylin systemd[1]: DmServiceicdby.service: Unit entered failed state.
7月 23 10:11:37 Kylin systemd[1]: DmServiceicdby.service: Failed with result 'exit-code'.

微信截图_20200723101716.png
解决方案:
进入到实例的目录,

cd /opt/dmdbms/bin/
chmod 777 *
systemctl restart DmServiceicdby

微信截图_20200723103004.png

标签:none

添加新评论