有同事在测试环境遇到问题。是新增了一张表到复制通道,结果报错,于是查看一下。
sp_ctrl (abc-vip:11111)> verify config a.cfg
Verified config file too large to display
View detailed config in /abc/var_11111/temp/a.cfg
sp_ctrl (abc-vip:11111)>
提示已经很明显了,到结果文件中查看一下即可。
Error --> Source is defined in line 201 to same target
原来是新增的表其实早就在配置文件中了。
官方提示:
Resolution
If the config file is small, then the results will be displayed on the screen. However, in case of a large config file the results of "verify config" are not displayed on sp_ctrl interface and are saved in a file. This works better because the output will
be too large to be searched for problems. Instead, the result is saved in a file within the temp directory under the variable directory as mentioned in the output of "verify config" and it is easier to analyze it for problems using the OS editor. For example,
in case of looking for errors, the string "Error" can be searched using an editor.
当配置文件过大时,验证命令的结果不会在sp_ctrl界面显示,而是保存到临时目录下的文件中。通过查看该文件,可以更方便地使用操作系统编辑器查找问题。本文详细解释了这一现象,并提供了解决方案。
4443

被折叠的 条评论
为什么被折叠?



