Monday, December 14, 2009

Error : asmcmd

when I run asmcmd command, I found the error.

[oracle@tatshuya]$ asmcmd
install_driver(Oracle) failed: Can't load '/oracle/product/10.2.0/db_1/perl/lib/site_perl/5.8.3/i686-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: /oracle/product/10.2.0/db_1/lib32/libnnz10.so: cannot restore segment prot after reloc: Permission denied at /oracle/product/10.2.0/db_1/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 /oracle/product/10.2.0/db_1/bin/asmcmdcore line 5953


[root@tatshuya]# setenforce 0

[oracle@tatshuya]$ export ORACLE_SID=+ASM
[oracle@tatshuya]$ asmcmd
ASMCMD>


== More Information ==
[oracle@tatshuya] man: setenforce


setenforce(1) SELinux Command Line documentation setenforce(1)


NAME
setenforce - modify the mode SELinux is running in.

SYNOPSIS
setenforce [ Enforcing | Permissive | 1 | 0 ]

DESCRIPTION
Use Enforcing or 1 to put SELinux in enforcing mode. Use Permissive or 0 to put SELinux in permissive mode. You need to modify
/etc/grub.conf or /etc/selinux/config to disable SELinux.

AUTHOR
Dan Walsh,


SEE ALSO
selinux(8), getenforce(8), selinuxenabled(8)

FILES
/etc/grub.conf, /etc/selinux/config


== TaTsHuYa ==

1 comment:

Unknown said...

O Yeeaaaa !! Thanks my problem solved i thought i forget to install any ASM Library..
Thak you so much..