`

ASMCMD fails to start on module libnnz10.so, permission denied

阅读更多
ASMCMD fails to start on module libnnz10.so, permission denied [ID 790470.1]  

  修改时间 17-MAR-2009     类型 PROBLEM     状态 PUBLISHED  


Applies to:

Oracle Server Enterprise Edition - Version: 11.1.0.6 to 11.1.0.7
This problem can occur on any platform.
ASM - Version: 11.1.0.6 to 11.1.0.7
Red Hat Advanced Server
Linux x86-64
RHEL 5 and OEL 5 only. RHEL 4 and OEL 4 are not affected. This is because of the more aggressive way that SELinux policies are enforced in RHEL 5 and OEL 5.

Symptoms

Immediately after a successful ASM installation, ASMCMD will not start:

$ echo $ORACLE_HOME
/opt/oracle/10.2.0
$ export ORACLE_SID=+ASM
$ asmcmd
install_driver(Oracle) failed: Can't load '/opt/oracle/10.2.0/perl/lib/site_perl/5.8.3/i686-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: /opt/oracle/10.2.0/lib32/libnnz10.so: cannot restore segment prot after reloc: Permission denied at /opt/oracle/10.2.0/perl/lib/5.8.3/i686-linux-thread-multi/DynaLoader.pm line 229.
at (eval 2) line 3
Compilation failed in require at (eval 2) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /opt/oracle/10.2.0/bin/asmcmdcore line 5953

Changes

SELINUX policy "Enforcing" causes the permission problem.

Cause

You are encountering unpublished Bug 6140224, "SQLPLUS FAILS TO LOAD LIBNNZ11.SO WITH SELINUX ENABLED ON EL5/RHEL5". Oracle Developement is actively working on this compiler version compatibility issue (ICC compilers that are used for several libraries, such as LIBNNZ10.SO and LIBNNZ11.SO) in the RHEL 5 and OEL 5 environments.


This is fixed in the forthcoming version 11.2. No fix is available for the current versions. Please use the workaround presented below.

Solution


Switch the SELinux from the default "Enforcing" mode that it is running in, to the "Permissive" mode.

Commands, as root:
======================
getenforce (returns "Enforcing")
setenforce 0
getenforce (returns "Permissive")

The commands for the workaround are immediate, and will remain in effect until the next reboot.

Please also ensure that SELinux "Permissive" enforcing is set at boot time by adding "enforcing=0" to the kernel boot line. An example of setting the SELinux mode to permissive from GRUB could be as follows:

title Red Hat Enterprise Linux ES (2.6.18-8.EL)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet enforcing=0
initrd /initrd-2.6.18-8.EL.img

Another example as follows:

/etc/selinux/config

and add:
selinux=0
SELINUX=disabled

分享到:
评论

相关推荐

    Oracle Database on Linux Fails to Start - ORA-27154 ORA-27300 OR

    Oracle Database on Linux Fails to Start - ORA-27154 ORA-27300 ORA-27301 ORA-27302: failure occurred at: sskgpbitsper (Doc ID 2789636.1)

    Concurrent Manager Fails to Start With Error Could not initializ

    Concurrent Manager Fails to Start With Error Could not initialize the Service Manager FNDSM_{HOSTNAME}_{SID}(Doc ID 735148.1)

    显示DLL里的函数名depends22_x86

    It the language specific resource DLL fails to load, then the module defaults to using the local resources in itself. In most cases, these default resources are the same resources as would be in the ...

    JRebel (idea热编译插件)2018 最新

    JRebel (idea热编译插件)2018 最新版; JRebel is a productivity tool that allows developers to reload code ...Bug fix: fixed an issue where proxy authentication fails on Windows with a wrong username.

    利用 Oracle 和 PHP 管理分布式跟踪文件

    / grant necessary database privileges to tfmadmin tfmAdmin_privs_and_syns.sql grant necessary java privileges to tfmadmin tfmAdmin_java_privs.sql if this fails with any spurious dbms_java errors then...

    Case study of a Yukon Indian School-How education fails. King, A. Richard. The school at Mopass. A problem of identity. New York: Holt, Rinehart and Winston, Inc., 1967, 96 p., [dollar]2.25 (paper)

    Case study of a Yukon Indian School-How education fails. King, A. Richard. The school at Mopass. A problem of identity. New York: Holt, Rinehart and Winston, Inc., 1967, 96 p., [dollar]2.25 (paper) ...

    Learning Agile.pdf

    fails to deliver value to the users. • Best of all, developers on an effective agile team find themselves working normal hours, and are able to spend their nights and weekends with their friends and ...

    p28412269_112040_MSWIN-x86-64.zip

    ORA-29532 ON JAVAMAIL API AFTER UPGRADE TO 11.2.0.4 17804361 SET COLLECTION TYPE AS A BIND VARIABLE IS VERY SLOW AFTER UPGRADE TO 11.2.0.4 18166577 JAVA STORED PROCEDURE FAILS WITH ORA-29532 IN 11.2...

    EurekaLog_7.5.0.0_Enterprise

    3)....Fixed: spawned by ecc32/emake processes now start with the same priority 4)....Fixed: ThreadID = 0 in StandardEurekaNotify 5)....Fixed: Dialog auto-close timer may reset without user input 6)......

    hiana_-_28_03_20_captainqdn_encryption_AgainAgain_

    I have the problem whare the task scheduler in services is set to automatice but fails to start and log in is greyed out. I have tried many solutions and none have worked. However I did find a ...

    DEBUG命令大全 启动 Debug,它是可用于测试和调试 MS-DOS 可执行文件的程序。

    DEBUG命令大全 启动 Debug,它是可用于测试和调试 MS-DOS 可执行文件的程序。

    p7331323_10204_AIX5L

    However, if the instance fails to start, a reboot of the server supporting the instance will usually allow startup to succeed. Patches At the time of writing, patches were under development on top ...

    串口通讯控件

    - Automatically try .COMn form of port name if COMn or COMn: fails i.e. when n > 9 on some systems. - Added CommBase.IsCongested to test for buffer growth when sending data with CheckAllSends =...

    hudson1.293.part1.rar

    Fixed an infinite loop (eventually leading to OOME) if Subversion client SSL certificate authentication fails. (report) NPE from artifact archiver when a slave is down. (issue 3330) Hudson now ...

    端口查看工具

    (product name, file description, and so on), the time that the process was created, and the user that created it. In addition, CurrPorts allows you to close unwanted TCP connections, kill the process ...

    stm32flash

    -n count Retry failed writes up to count times (default 10) -g address Start execution at specified address (0 = flash start) -s start_page Flash at specified page (0 = flash start) -f Force ...

    LTE from A to Z

    20 MHz).....................................................................................................10 1.2.1.3 AIPN and PS services only...........................................................

    Consensus on Transaction Commit.pdf

    The classic Two-Phase Commit protocol blocks if the coordinator fails. Fault-tolerant consensus algorithms also reach agreement, but do not block whenever any majority of the processes are working. ...

    微软内部资料-SQL性能优化2

    A process can leak resources such as process memory, pool memory, user and GDI objects, handles, threads, and so on. Memory Concepts (X86 Address Space) Per Process Address Space Every process ...

    php.ini-development

    Instead, explicitly set the output handler using ob_start(). ; Using this ini directive may cause problems unless you know what script ; is doing. ; Note: You cannot use both "mb_output_handler" with...

Global site tag (gtag.js) - Google Analytics