Can't Run ASMCMD As Non-Product Owning User
(Doc ID 1668244.1)
Last updated on JANUARY 01, 2022
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Linux OS - Version Oracle Linux 5.5 and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
ASMCMD command will not allow any user other than the actual Grid Home Owner to run it.
Per the Oracle Documentation: Oracle® Automatic Storage Management Administrator's Guide11g Release 2 (11.2) it is allowed to run asmcmd from other than the grid owner.
However, there is an existing bug, Bug 11907186 - ASMCMD UTILITY CANNOT BE RUN FROM DBA USERS OTHER THAN PRODUCT OWNER that this functionality does not work.
If you see this error, then this may be the bug.
Can't locate strict.pm in @INC (@INC contains: /u01/app/188.8.131.52/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/184.108.40.206/grid/perl/lib/5.10.0 /u01/app/220.127.116.11/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/18.104.22.168/grid/perl/lib/site_perl/5.10.0 /u01/app/22.214.171.124/grid/lib /u01/app/126.96.36.199/grid/lib/asmcmd /u01/app/188.8.131.52/grid/rdbms/lib/asmcmd /u01/app/184.108.40.206/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/220.127.116.11/grid/perl/lib/5.10.0 /u01/app/18.104.22.168/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/22.214.171.124/grid/perl/lib/site_perl/5.10.0 /u01/app/126.96.36.199/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/188.8.131.52/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/184.108.40.206/grid/perl/lib/5.10.0 /u01/app/220.127.116.11/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/18.104.22.168/grid/perl/lib/site_perl/5.10.0 /u01/app/22.214.171.124/grid/perl/lib/site_perl .) at /u01/app/126.96.36.199/grid/bin/asmcmdcore line 143.
BEGIN failed--compilation aborted at /u01/app/188.8.131.52/grid/bin/asmcmdcore line 143.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document