启动达梦数Watcher服务时,提示dmwatcher.ctl文件不存在的处理过程
发表于:2024-09-22 作者:千家信息网编辑
千家信息网最后更新 2024年09月22日,启动达梦数Watcher服务时,提示dmwatcher.ctl文件不存在,如下所示:[dmdba@localhost DAMENG]$ /etc/rc.d/init.d/DmServiceWatche
千家信息网最后更新 2024年09月22日启动达梦数Watcher服务时,提示dmwatcher.ctl文件不存在的处理过程
启动达梦数Watcher服务时,提示dmwatcher.ctl文件不存在,如下所示:
[dmdba@localhost DAMENG]$ /etc/rc.d/init.d/DmServiceWatcher startStarting DmServiceWatcher: [ FAILED ]dmwatcher.ctl not exist in path: /dmdbs/data/DAMENGfail to read ini fileDMWATCHER[2.1] V7.6.0.199-Build(2019.09.16-112854)ENT
处理方法:
1、 配置/dmdbs/data/DAMENG/dmwatcher.ini文件,如下所示:
[GRWC1_01] DW_TYPE = GLOBAL DW_MODE = MANUAL DW_ERROR_TIME = 30 INST_ERROR_TIME = 30 INST_RECOVER_TIME = 60 INST_OGUID = 45331 INST_INI = /dmdbs/data/DAMENG/dm.ini INST_AUTO_RESTART = 1 INST_STARTUP_CMD = /dmdbs/bin/dmserver
2、使用dmctlcvt工具生成dmwatcher.ctl文件。
[dmdba@localhost DAMENG]$ cd /dmdbs/bin[dmdba@localhost bin]$ ./dmctlcvt TYPE=3 SRC=/dmdbs/data/DAMENG/dmwatcher.ini DEST=/dmdbs/data/DAMENG/DMCTLCVT V7.6.0.199-Build(2019.09.16-112854)ENT convert txt to ctl success!
可以看到,已经成功生成dmwatcher.ctl文件,该文件一般存放在DEST参数指定目录下的一个子目录下,这个子目录名一般为/dmdbs/data/DAMENG/dmwatcher.ini中组[GRWC1_01]
中的名字,如此处子目录为GRWC1_01,如下所示。
[dmdba@localhost GRWC1_01]$ pwd/dmdbs/data/DAMENG/GRWC1_01[dmdba@localhost GRWC1_01]$ lsdmwatcher.ctl[dmdba@localhost GRWC1_01]$
将该文件目录下的dmwatcher.ctl文件cp到/dmdbs/data/DAMENG目录下。
[dmdba@localhost DAMENG]$ cp ./dmwatcher.ctl ../
然后再启动梦数Watcher服务:
[dmdba@localhost DAMENG]$ /etc/rc.d/init.d/DmServiceWatcher startStarting DmServiceWatcher: [ OK ]
附:dmctlcvt工具使用说明详情。
DMCTLCVT V7.6.0.199-Build(2019.09.16-112854)ENT Format: ./dmctlcvt KEYWORD=valueNote: ctl file name must be dm.ctl or dmmpp.ctl or dmwatcher.ctl Keyword Explanation--------------------------------------------------------------------------------TYPE 1 convert ctl file(dm.ctl or dmmpp.ctl) to txt file 2 convert txt file to ctl file(dm.ctl or dmmpp.ctl) 3 convert txt file to ctl file(dmwatcher.ctl), the dest_file_path not include file name 4 convert ctl file(dmwatcher.ctl) to txt fileSRC Source fileDEST Destination fileDCR_INI the path of dmdcr.iniHELP Show this help info Example:./dmctlcvt TYPE=1 SRC=/opt/dmdbms/data/dameng/dm.ctl DEST=/opt/dmdbms/data/dameng/dmctl.txt./dmctlcvt TYPE=2 SRC=/opt/dmdbms/data/dameng/dmctl.txt DEST=/opt/dmdbms/data/dameng/dm.ctl./dmctlcvt TYPE=3 SRC=/opt/dmdbms/data/dameng/dmwatcher.txt DEST=/opt/dmdbms/data/dameng./dmctlcvt TYPE=4 SRC=/opt/dmdbms/data/dameng/dmwatcher.ctl DEST=/opt/dmdbms/data/dameng/dmwatcher_ctl.txt
文件
目录
服务
子目
子目录
工具
生成
处理
提示
成功
个子
使用说明
参数
名字
方法
目录名
详情
配置
过程
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
网络安全法第十二条如何处罚
jsp查询数据库表中信息
甲骨文服务器怎么开arm
网络安全威胁有哪些文章
e5 2670服务器
技术服务软件开发协议
慕课南邮网络技术与应用答案
川财证券有服务器吗
泰拉瑞亚虚拟服务器制作
网络安全工程师、
局域网络安全 条例
CAE优化软件开发工程师招聘
电子科技大学互联网交叉就业
怎么改服务器主机名
一汽大众移动办公软件开发商
tbc免费转服务器
李芒果空岛服务器
nist数据库分析xps
商店销售商品数据库含三个表
华三网络技术视频
怎么找数据库课程设计
存链表的数据库
办公厅网络安全管理制度
京东商城服务器配置
杭州云象网络技术有限公司是外包吗
捷普服务器群组防护系统简介
使用数据库的查询会出错不
计算机网络技术的知识和技能
我把数据库备份如何查询新数据
现代网络技术定义