[2021-01-06] Reply received is ‘GSOutput file <trail_file> is not in any allowed output directories

--//19.1投递进程报错

GGSCI (dm01) 54> view report exppint


***********************************************************************
                 Oracle GoldenGate Capture for Oracle
    Version 19.1.0.0.4 OGGCORE_19.1.0.0.0_PLATFORMS_191017.1054_FBO
   Linux, x64, 64bit (optimized), Oracle 19c on Oct 17 2019 21:16:58
 
Copyright (C) 1995, 2019, Oracle and/or its affiliates. All rights reserved.

                    Starting at 2021-01-06 16:08:09
***********************************************************************

Operating System Version:
Linux
Version #1 SMP Thu Oct 29 17:29:29 EDT 2015, Release 3.10.0-327.el7.x86_64
Node: dm01
Machine: x86_64
                         soft limit   hard limit
Address Space Size   :    unlimited    unlimited
Heap Size            :    unlimited    unlimited
File Size            :    unlimited    unlimited
CPU Time             :    unlimited    unlimited

Process id: 123726

Description: 

***********************************************************************
**            Running with the following parameters                  **
***********************************************************************

2021-01-06 16:08:10  INFO    OGG-03059  Operating system character set identified as UTF-8.

2021-01-06 16:08:10  INFO    OGG-02695  ANSI SQL parameter syntax is used for parameter parsing.

2021-01-06 16:08:11  INFO    OGG-01360  EXTRACT is running in Data Pump mode.

2021-01-06 16:08:12  INFO    OGG-01889  Flush size (max message size) is set to 27,985.
EXTRACT exppint
passthru
rmthost 192.168.40.170, mgrport 7810
rmttrail /home/oracle/OGG/19ctrails/pi,format release 11.2

2021-01-06 16:08:15  WARNING OGG-00254  FORMAT RELEASE is a deprecated parameter.
SOURCECATALOG pdb1
table pg.*;

2021-01-06 16:08:15  INFO    OGG-02623  Default source catalog name pdb1 will be used for source table name pg.* mapping.

2021-01-06 16:08:15  INFO    OGG-01851  filecaching started: thread ID: 139817144317696.

2021-01-06 16:08:15  INFO    OGG-01815  Virtual Memory Facilities for: COM
    anon alloc: mmap(MAP_ANON)  anon free: munmap
    file alloc: mmap(MAP_SHARED)  file free: munmap
    target directories:
    /ogg/ogg/dirtmp.

2021-01-06 16:08:23  INFO    OGG-01888  TCP network is configured as

                  OS DEFAULT          SPECIFIED           ACTUAL VALUE        
         IP_DSCP    0                   N/A                 0                 
          IP_TOS    0                   N/A                 0                 
     TCP_NODELAY    0                   N/A                 0                 
    TCP_QUICKACK    1                   N/A                 1                 
        TCP_CORK    0                   N/A                 0                 
       SO_SNDBUF    8192                N/A                 8192              
       SO_RCVBUF    43690               N/A                 43690.

Source Context :
  SourceModule            : [gglib.ggtrail.LegacyTrailDataTarget]
  SourceID                : [er/LegacyTrailDataTarget.cpp]
  SourceMethod            : [complete_tcp_msg]
  SourceLine              : [2225]
  ThreadBacktrace         : [14] elements
                          : [/ogg/ogg/libgglog.so(CMessageContext::AddThreadContext())]
                          : [/ogg/ogg/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...))]
                          : [/ogg/ogg/libgglog.so(_MSG_String(CSourceContext*, int, char const*, CMessageFactory::MessageDisposition)
)]
                          : [/ogg/ogg/extract(ggs::gglib::ggtrail::LegacyTrailDataTarget::complete_tcp_msg(extract_def*))]
                          : [/ogg/ogg/extract(ggs::gglib::ggtrail::LegacyTrailDataTarget::flush_tcp(extract_def*, bool))]
                          : [/ogg/ogg/extract()]
                          : [/ogg/ogg/extract(EXTRECOVERY_initialize(ggs::gglib::ggapp::ReplicationContext&))]
                          : [/ogg/ogg/extract()]
                          : [/ogg/ogg/extract(ggs::gglib::MultiThreading::MainThread::ExecMain())]
                          : [/ogg/ogg/extract(ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::Threa
dArgs*))]
                          : [/ogg/ogg/extract(ggs::gglib::MultiThreading::MainThread::Run(int, char**))]
                          : [/ogg/ogg/extract(main)]
                          : [/lib64/libc.so.6(__libc_start_main)]
                          : [/ogg/ogg/extract()]

2021-01-06 16:08:24  ERROR   OGG-25127  Received an error reply requesting a graceful shutdown. (Reply received is 'GSOutput file /ho
me/oracle/OGG/19ctrails/pi000000 is not in any allowed output directories.'.).

2021-01-06 16:08:24  ERROR   OGG-01668  PROCESS ABENDING.


GGSCI (dm01) 55> 

查询MOS

Goldengate Pump Is Abending With ERROR OGG-01224 Connect failed to <IP_ADDRESS> , error 111:Connection refused - retries exceeded (Doc ID 2538811.1)

APPLIES TO:

Oracle GoldenGate - Version 12.3.0.1.3 and later
Generic (Platform Independent)

SYMPTOMS

Goldengate Pump Is Abending With ERROR OGG-01224  Connect failed to <IP_ADDRESS> , error 111:Connection refused - retries exceeded
 

CHANGES

 New Setup

CAUSE

wrong directory was specified for ALLOWOUPUTDIR , replaced it with new one , now everything is working fine
 
Error code may be misleading as no where in the error it is mentioned the issue is with ALLOWOUPUTDIR

Even telnet was not connecting to target server port as no dynamic port was spawned which was not allowing the connection to go through , which is expected

SOLUTION

Please try to start dynamic collector process by using following command at target OGG  home

./server -p <port_name> <----- any available port other than the port which manage is using

Then edit pump parameter file and replace MGRPORT with PORT <port_number_used_above>, and start the pump

It will provide right error message as below 

OGG-25127  Received an error reply requesting a graceful shutdown. (Reply received is 'GSOutput file <trail_file> is not in any allowed output directories.'.)

Correct the ALLOWOUTPUTDIR and restart the pump process

 

--//在目标端设置ALLOWOUTPUTDIR参数,GLOBALS添加

[oracle@QXY OGG_19C]$ cat GLOBALS 
ggschema goldengate
checkpointtable goldengate.ggscheckpiont
ALLOWOUTPUTDIR /home/oracle/OGG/19ctrails/
[oracle@QXY OGG_19C]$ 

--//再次在源端启动投递进程

GGSCI (dm01) 55> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING                                           
EXTRACT     RUNNING     EXINT       00:00:00      00:00:00    
EXTRACT     ABENDED     EXPPINT     00:00:00      01:41:27    


GGSCI (dm01) 56> start exppint

Sending START request to MANAGER ...
EXTRACT EXPPINT starting


GGSCI (dm01) 57> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING                                           
EXTRACT     RUNNING     EXINT       00:00:00      00:00:04    
EXTRACT     RUNNING     EXPPINT     00:00:00      01:41:30    

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
当你在使用 NODE_OPTIONS 环境变量时,出现"--openssl-legacy-provider is not allowed in NODE_OPTIONS"的错误提示,这是因为当前版本的 Node.js 不允许在 NODE_OPTIONS 中使用 --openssl-legacy-provider 选项。 要解决这个问题,你可以尝试以下方法: 1. 清空 NODE_OPTIONS 环境变量:运行命令"export NODE_OPTIONS=",或者在 Windows 系统中运行"set NODE_OPTIONS=",这样可以清空 NODE_OPTIONS 环境变量,避免 --openssl-legacy-provider 选项的影响。 2. 去掉 --openssl-legacy-provider 选项:如果你需要保留 NODE_OPTIONS 环境变量中的其他选项,可以尝试去掉 --openssl-legacy-provider 选项。你可以在命令行中运行 node,然后在控制台中输入"process.env.NODE_OPTIONS = process.env.NODE_OPTIONS.replace('--openssl-legacy-provider', '')",然后回车,即可去掉该选项。 请根据你的具体需求选择适合的方法来解决问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [windows报错node: --openssl-legacy-provider is not allowed in NODE_OPTIONS解决](https://blog.csdn.net/zhu_liu_kun/article/details/130840151)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值