天萃荷净

Oracle goldengate配置时报错ggsci: error while loading shared libraries

在部署goldengate过程中发现如下错误:

[oracle@localhost OGG]$ ggsci

ggsci: error while loading shared libraries: /opt/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1: cannot restore segment prot after reloc: Permission denied

查找资料,没有专门说ogg安装这个错误,是SELinux启用导致,但是有很多其他程序执行过程中报类此错误是有此导致,那么我抱着尝试的态度实验看看:

1、查看SELinux是否被关闭

[oracle@localhost tmp]$ more /etc/selinux/config

# This file controls the state of SELinux on the system.

# SELINUX= can take one of these three values:

# enforcing – SELinux security policy is enforced.

# permissive – SELinux prints warnings instead of enforcing.

# disabled – SELinux is fully disabled.

SELINUX=disabled

# SELINUXTYPE= type of policy in use. Possible values are:

# targeted – Only targeted network daemons are protected.

# strict – Full SELinux protection.

SELINUXTYPE=targeted

说明已经关闭。那就奇怪了,既然已经闭关了那为什么还不行?于是我怀疑,是不是有人只是修改了SELINUX=disabled,没有重启系统或者使用命令使其生效导致。

2、查看SELINUX修改是否生效

[root@localhost ~]# getenforce

Enforcing

果然修改没有生效

3、使SELINUX生效

[root@localhost ~]# setenforce 0

再次查询,现在已经生效

[root@localhost ~]# getenforce

Permissive

4、然后启动ggsci

[oracle@localhost ~]$ ggsci

Oracle GoldenGate Command Interpreter for Oracle

Version 11.1.1.1.1 OGGCORE_11.1.1.1.1_PLATFORMS_110729.1700

Linux, x64, 64bit (optimized), Oracle 10g on Jul 29 2011 19:43:29

Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.

--------------------------------------ORACLE-DBA----------------------------------------

最权威、专业的Oracle案例资源汇总之案例:Oracle goldengate报错ggsci: error while loading shared libraries:

oracle goldengate 数据库实例,案例:Oracle goldengate报错ggsci: error while loading shared libraries:...相关推荐

  1. salmon的报错解决error while loading shared libraries: libboost_iostreams.so.1.60.0

    使用conda安装的软件salmon时报错为 error while loading shared libraries: libboost_iostreams.so.1.60.0 报错原因: cond ...

  2. 执行srvctl报错 :error while loading shared libraries: libpthread.so.0:

    执行srvctl是报错error while loading shared libraries: libpthread.so.0:[oracle@rac02 ~]$ srvctl /opt/ora10 ...

  3. Mysql:报错:error while loading shared libraries: libaio.so.1:

    初始化msyql报错:mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file ...

  4. 报错:error while loading shared libraries: libz.so.1: cannot open shared object file

    OS: Kali linux Compile toolchian: arm-none-linux-gnueabi# arm-none-linux-gnueabi-gcc hook.c arm-linu ...

  5. Nginx启动报错:error while loading shared libraries: libpcre.so.1

    1. Nginx的安装 1.1 准备安装包 pcre-8.37.tar.gz openssl-1.0.1t.tar.gz zlib-1.2.8.tar.gz nginx-1.17.1.tar.gz 利 ...

  6. linux fedora安装、运行mybase7.3.5报错:error while loading shared libraries: libpng12.so.0

    直接安装即可: sudo dnf install libpng12 dnf安装的是32位的,在64位系统下无法使用,参考我的下面这篇文章来解决: https://zhangxueliang.blog. ...

  7. 运行报错SecureCRT: error while loading shared libraries: libjpeg.so.8:

    SecureCRT: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No su ...

  8. 解决kaldi报错copy-feats: error while loading shared libraries: libmkl_intel_lp64.so: cannot open shared

    vim ~/.bashrc 进去以后添加:export LD_LIBRARY_PATH=/opt/conda/lib/:$LD_LIBRARY_PATH source ~/.bashrc

  9. 配置linux的jdk报错error while loading shared libraries: libjli.so

    问题描述:  执行jar命令,javac命令执行报错  javac: error while loading shared libraries: libjli.so: cannot open shar ...

最新文章

  1. 《软件建模与设计: UML、用例、模式和软件体系结构》一一2.10 UML扩展机制
  2. 使用Java ThreadLocals的意外递归保护
  3. HTTP协议之HTTP的结构
  4. kickstart安装
  5. Python学习笔记之类(三)
  6. make clean、make mrproper、make distclean的区别【转】
  7. 用wxDraw.js制作酷炫的小程序canvas动画『wxDraw 小程序界的zrender』
  8. onvif协议讲解(一)
  9. 计算机程序有哪些性质,程序的特性有哪些
  10. feedburner怎么用_在FeedSky和FeedBurner中无缝切换
  11. 第十六届—振兴杯计算机网络管理员决赛“真题”
  12. MPEG-4与H264区别,编码及应用
  13. 【无标题】电自2104吕薇202130310206
  14. 没有人能扼杀掉你的梦想
  15. 《针灸》笔记(倪海厦先生人纪系列针灸篇——综合)
  16. python小车行走_[PYTHON系列教程]→控制小车
  17. php开启子进程处理
  18. Haiku将通过GSoC获得对x86_64的支持
  19. github东西无法下载_下载GitHub上文件的两种方法
  20. 下载蓝盒插件_推荐几款 Chrome m3u8 播放器插件(附下载)

热门文章

  1. 三剑客之 sed详解
  2. Java反射机制介绍
  3. win下 git gui 使用教程
  4. 创建ASPState数据库
  5. unix 网络编程总结 二
  6. Exchange 日常管理之二:设置邮件转发
  7. 男人是房子,女人是车子
  8. ORA-19504,乌龙处理
  9. C# 各版本新增功能
  10. [算法]两个栈实现一个队列