ggsci error libclntsh.so.10.1: cannot restore segment prot after reloc
在64位linux作業系統上部署goldengate過程中發現如下錯誤:
[oracle@localhost ogg]$ ./ggsci
./ggsci: error while loading shared libraries: /home/oracle/product/10.2.0/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=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted – Only targeted network daemons are protected.
# strict – Full SELinux protection.
SELINUXTYPE=targeted
說明在系統安裝的時候,選擇了預設值,需進行關閉。
2、檢視SELINUX修改是否生效
[root@localhost ~]# getenforce
Enforcing
處於啟動狀態
usage: setenforce [ Enforcing | Permissive | 1 | 0 ]
3、使SELINUX生效
[root@localhost ~]# setenforce 0
再次查詢,現在已經生效
[root@localhost ~]# getenforce
Permissive
4、然後啟動ggsci
[[oracle@localhost ogg]$ ./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO
Linux, x64, 64bit (optimized), Oracle 10g on Apr 23 2012 07:30:46
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
GGSCI (localhost.localdomain) 1>
啟動正常
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24558279/viewspace-741834/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Cannot restore segment prot after reloc:Permission deniedREST
- /sqlplus: error on libnnz11.so: cannot restore segment prot after reloc [ID 454196.1]SQLErrorREST
- sqlplus因selinux報錯cannot restore segment prot after reloc: Permission deniedSQLLinuxREST
- libclntsh.so.11.1:cannot restore segment prot after reloc:Permission denied 報錯REST
- 【轉載】啟動sqlplus命令,會報的cannot restore segment prot after relocSQLREST
- guarantee restore points-Flashback after RMAN restoreREST
- Unable to start HTTP server after restoreHTTPServerREST
- How to Restore the Database Using AMDU after Diskgroup CorruptionRESTDatabase
- How to restore raid after reinstall LinuxRESTAILinux
- Write after the error occurs........Error
- ./ggsci: error while loading shared librariesErrorWhile
- Open Resetlogs After Restore Hangs (Doc ID 1455666.1)REST
- How to restore ASM based OCR after complete loss of the CRS diskgroupRESTASM
- Ocrconfig時報PROT-1 Failed to initialize ocrconfig,PROT-16: Internal Error的問題解決AIError
- Uncaught Error: Cannot instantiate interfaceError
- ‘error: ‘‘this‘‘ cannot be implicitly captured in this context‘ErrorAPTContext
- error while loading shared libraries: libclntsh.so.10.1ErrorWhile
- You may fail to backup log or restore log after TDE certification/key rotation.AIREST
- glodengate配置時報ggsci: error while loading shared librariesErrorWhile
- Fatal error: Cannot redeclare printerror() (previously declared in …Error
- csscan: error while loading shared libraries: libclntsh.so.10.1CSSErrorWhile
- ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project and thus we cannot accuratelyErrorYAMLProject
- ggsci: error while loading shared libraries: libnnz11.soErrorWhile
- ORA-19550: cannot use backup/restore functions while using dispatcherRESTFunctionWhile
- How to Restore CRS after accidentally run localconfig on RAC system_747415.1RESTIDE
- xtrabackup: Error: cannot open /../../base/xtrabackup_checkpointsError
- ORA-12838: cannot read/modify an object after modifying it in parallelObjectParallel
- 怎麼會出現 Cannot forward after response has been committed???ForwardMIT
- ORA-19606: Cannot copy or restore to snapshot control fileREST
- Error bpbrm (pid=909384) client restore EXIT STATUS 5ErrorclientREST
- Import Error: cannot import name ‘export_saved_modelImportErrorExport
- ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper create failed after 4 attemptsErrorAI
- 6150680: Cannot Create Guaranteed Restore Point In Physical Standby DB_602270.1REST
- java.lang.IllegalStateException: Cannot call sendError() after the response has been committed解讀JavaExceptionErrorMIT
- 這個問題如何解決?Cannot forward after response has been committedForwardMIT
- O/S-Error: (OS 33) The process cannot access the fileError
- sqlldr執行報錯:error while loading shared libraries: libclntsh.so.10.1:SQLErrorWhile
- GoldenGate GGSCI監控命令Go