In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
When you start the Damon count Watcher service, you are prompted that the dmwatcher.ctl file does not exist, as shown below:
[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
Treatment method:
1. Configure / dmdbs/data/DAMENG/dmwatcher.ini file, as shown below:
[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. Use dmctlcvt tool to generate dmwatcher.ctl file.
[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!
You can see that the dmwatcher.ctl file has been generated successfully. The file is generally stored in a subdirectory under the directory specified by the DEST parameter, and the subdirectory name is generally group [GRWC1_01] in / dmdbs/data/DAMENG/dmwatcher.ini.
So the subdirectory is GRWC1_01, as shown below.
[dmdba@localhost GRWC1_01] $pwd/dmdbs/data/DAMENG/GRWC1_01 [dmdba@localhost GRWC1_01] $lsdmwatcher.ctl [dmdba@localhost GRWC1_01] $
Cp the dmwatcher.ctl file in the file directory to the / dmdbs/data/DAMENG directory.
[dmdba@localhost DAMENG] $cp. / dmwatcher.ctl.. /
Then start the dream count Watcher service:
[dmdba@localhost DAMENG] $/ etc/rc.d/init.d/DmServiceWatcher startStarting DmServiceWatcher: [OK]
Attached: details of the instructions for using the dmctlcvt tool.
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
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.