故障处理OGG-01044 The trail XXX is not assigned to extract
启动OGG的时候报错:
1 | ERROR OGG-01044 The trail '/ogg/dirdat/lt' is not assigned to extract 'EXT1'. Assign the trail to the extract with the command "ADD EXTTRAIL/RMTTRAIL /ogg/dirdat/lt, EXTRACT EXT1". |
百度搜的大部分原因是:trail文件未指定extract进程
1 | add exttrail /ogg/dirdat/lt, EXTRACT EXT1 |
但是,我的确是指定了的:
1 2 | add ext EXT1, tranlog, begin now add exttrail ./dirdat/lt, ext EXT1 |
最后,,,,最后,,,才发现,,是目录的问题。
因为参数文件里写的是/ogg/dirdat/lt
,而我添加的是./dirdat/lt
,尽管都是同一个路径,但是OGG不认!!
所以,解决办法也很简单,就是把参数文件中的/ogg/dirdat/lt
修改为./dirdat/lt
,然后重启进程即可。
注意:12.2的OGG不支持12.2的数据库的extract,但是replicate进程却是支持的,extract的进程会报错:
1 | ERROR OGG-06535 Extract does not support the database compatible setting 12.2.0. |