There's quite a bit more, including a command and output of lsnrctl status.
estevens:dwdev$ . oraenv ORACLE_SID = [dwdev] ? +ASM The Oracle base remains unchanged with value /u01/app/oracle estevens:+ASM$ asmca [main] [ 2012-08-23 08:42:23.139 CDT ] [UsmcaCmdLineParser.discoverRAC:239] Cluster Existence Check [main] [ 2012-08-23 08:42:23.168 CDT ] [Version.isPre:465] version to be checked 22.214.171.124.0 major version to check against10 [main] [ 2012-08-23 08:42:23.169 CDT ] [Version.isPre:476] isPre.java: Returning FALSE [main] [ 2012-08-23 08:42:23.173 CDT ] [OCR.loadLibrary:311] Inside constructor of OCR [main] [ 2012-08-23 08:42:23.192 CDT ] [OCR.loadLibrary:319] Going to load the ocr library [main] [ 2012-08-23 08:42:23.192 CDT ] [Library.load:188] library.load [main] [ 2012-08-23 08:42:23.193 CDT ] [sPlatform.isHybrid:66] osName=Linux osArch=amd64 JVM=64 rc=false [main] [ 2012-08-23 08:42:23.193 CDT ] [sPlatform.isHybrid:66] osName=Linux osArch=amd64 JVM=64 rc=false [main] [ 2012-08-23 08:42:23.194 CDT ] [Library.load:264] Loading library /u01/app/oracle/11.2.0/grid/lib/libsrvmocr11.so [main] [ 2012-08-23 08:42:23.204 CDT ] [OCR.loadLibrary:321] loaded ocr libraries [main] [ 2012-08-23 08:42:23.204 CDT ] [OCR.isCluster:959] Calling OCRNative for isCluster() [main] [ 2012-08-23 08:42:23.207 CDT ] [OCR.isCluster:963] OCR Result status = true [main] [ 2012-08-23 08:42:23.207 CDT ] [OCR.isCluster:975] Bolean result = false
Billy Verreynne wrote:Billy,
I believe this debug/trace output is because the client software is run from a different o/s user than the executable (and ASM) owner. Access rights, environment and so on needs to be checked - something that is not needed when running as the owner of that specific s/w.
Permissions on asmcmd look good:
oracle:+ASM$ id uid=501(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),503(oper),504(asmadmin) oracle:+ASM$ su - estevens Password: The Oracle base has been set to /u01/app/oracle estevens:dwdev$ id uid=530(estevens) gid=530(estevens) groups=501(oinstall),502(dba),503(oper),504(asmadmin),530(estevens)
So I'm not sure where else to look. Seems strange that it (asmcmd) would be written such that it would put out this output if it were being executed by someone with permissions just because they weren't the owner. Perhaps I should open a sev4 SR and see what Oracle has to say.
oracle:+ASM$ which asmcmd /u01/app/oracle/11.2.0/grid/bin/asmcmd oracle:+ASM$ ls -l /u01/app/oracle/11.2.0/grid/bin/asmcmd -rwxr-x--- 1 oracle oinstall 5469 Apr 21 2010 /u01/app/oracle/11.2.0/grid/bin/asmcmd oracle:+ASM$
Levi Pereira wrote:That would be it. oinstall (of which I am a member) has r-x, not rwx.
This behavior is normal, this trace is showing on the terminal due your User (estevens) does not have permission to write in the default location of Configuration Logs directory. ($ORACLE_BASE/cfgtoollogs).
Is recommend launch Oracle Configuration Tools (as DBCA,ASMCA,NETCA,SRVCTL,ASMCMD and so on) with only User owner of the Oracle installation. I recommend it due a tons of files and directory of ORACLE_HOME and ORACLE_BASE only user owner have permission of "RWX".
Check permission under $ORACLE_HOME/ and you will see most of directories without permission of write to OS Group.
I already faced some erros due try change (delete/write/read) files under ORACLE_HOME/ORACLE_BASE using Oracle Utilities with non-owner Oracle Software. So, I always apply this rule on my company, ALL Oracle Tools that change ORACLE_HOME (i.e configuration files), must be executed with Oracle Software Owner.
If you give permission to group oinstall (rwx) on directory $ORACLE_BASE/cfgtoollogs/asmca this trace will be written on Configuration Logs directory and will not show the trace on your terminal. I don't recommend do that,because you can solve problem of trace but other errors can be raised due wrong permission.
Hope this help,
Edited by: Levi Pereira on Aug 24, 2012 1:09 PM