背景:
Oracle11.2.0.3 RAC
AIX6.1
问题现象:
Oracle GoldenGate Command Interpreter for Oracle
Version 12.2.0.1.1 OGGCORE_12.2.0.1.0_PLATFORMS_151211.1401_FBO
AIX 6, ppc, 64bit (optimized), Oracle 11g on Jan 21 2016 09:52:07
Operating system character set identified as ISO-8859-1.
Copyright (C) 1995, 2015, Oracle and/or its affiliates. All rights reserved.
GGSCI (hhtrepdb1) 1> info all
Program Status Group Lag at Chkpt Time Since Chkpt
Source Context :
SourceModule : [ggstd.util.file]
SourceID : [/scratch/mavaishn/view_storage/mavaishn_AIX_FBO/oggcore/OpenSys/src/gglib/ggstd/fileutl.c]
SourceFunction : [ggGetCwd(pc_file_name_def &)]
SourceLine : [1495]
2022-04-07 11:39:43 ERROR OGG-01083 The call to the getcwd function from ggGetCwd(pc_file_name_def &) failed with return code 13 (Permission denied).
2022-04-07 11:39:43 ERROR OGG-01668 PROCESS ABENDING.
$
解决:
MOS 上有篇文章Doc ID 2070565.1 解释了这个问题 ,需要在mount之前修改目录为755 。当前/ogg目录已经是777.
但我这次问题主要原因是 把挂载nas的目录修改属性 chown oracle.oinstall /ogg
mount /ogg 后再修改一遍属性chown oracle.oinstall /ogg
问题这才得以解决!
分析:
ogg_home对上级目录的属性及权限有要求。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69900971/viewspace-2885977/ ,如需转载,请注明出处,否则将追究法律责任。