Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to deal with the problem that the data service cannot be started due to directory change

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail how to deal with the problem that the data service cannot be started due to directory changes. The content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

The problem that the data service cannot be started due to directory changes is shown below.

Phenomenon one:

[dmdba@localhost data] $/ etc/rc.d/init.d/DmServiceDM2 startStarting DmServiceDM2: [FAILED] Read ini error, name:CTL_PATH, value:/dmdbs/data/DAMENG/dm.ctldmserver startup failed, code =-803 [Invalid ini config value]

Phenomenon two:

[dmdba@localhost DAMENG] $/ etc/rc.d/init.d/DmServiceDM2 startStarting DmServiceDM2: [FAILED] dmserver startup failed, code =-104 [Invalid INI file]

Phenomenon 3:

[dmdba@localhost data] $/ etc/rc.d/init.d/DmServiceDM2 startStarting DmServiceDM2: [FAILED] version info: enterprise/dmdbs/data/DAMENG/SYSTEM.DBF not exist

The data files and configuration files of the library are copied by the main library scp when building the Dameng read-write separation cluster. Due to the change in the data directory environment of the standby database, the above three errors occurred in turn when starting the service. The solution is to gradually change the file path in the configuration file (which is also a very painful process) to the path that is always with the standby file path. Therefore, it is recommended that when building a Dameng read-write separation cluster, the directory of the master and standby environment had better be planned in accordance with each other, which can avoid a lot of unnecessary trouble.

[dmdba@localhost data] $/ etc/rc.d/init.d/DmServiceWatcher startStarting DmServiceWatcher: [OK] this is how to deal with the problem that the data service cannot be started due to directory change. I hope the above content can be helpful to you and learn more. If you think the article is good, you can share it for more people to see.

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.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report