Getting 'trace' type output from asmca

Oracle GI 11.2.0.2.0
Oracle Linux 5.6 x86-64
Another one for the "Gee, I've never seen this before"
Connecting to my server as oralce (ssh connection via putty) I fire up asmca, and after a short delay the GUI pops up just fine.
Connecting under my own credentials, I fire up asmca, and after a short delay the GUI pops up just fine. But during that 'short delay' I'm getting what amounts to a trace writing to my terminal. Here's an excerpt to show what I mean:
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 11.2.0.2.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 = falseThere's quite a bit more, including a command and output of lsnrctl status.
Eventualy the GUI opens and works as expected.
I've examined the output of 'id' and find no anomolies. The oracle account has as its primary group 'oinstall', while my primary group is the same as my username (default linux behavior) but I also have oinstall as a secondary group membership.
I've examined the output of 'env|sort' for both accounts immediately prior to issuing the 'emca' command, and find no anomolies. All ORACL_* variables are identical, all PATH type variables are the same
Thinking it might be related to a permissions issue writing to a log/trace file, I executed asmca as the oracle user, the immediately did a 'find . -amin 2' but turned up no log or trace type files.
Ideas?

Levi Pereira wrote:
Hi EdStevens,
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,
Levi Pereira
Edited by: Levi Pereira on Aug 24, 2012 1:09 PMThat would be it. oinstall (of which I am a member) has r-x, not rwx.
I really have no need to change the permissions. I already have a self-imposed rule to do oracle work as oracle. But I happend to be logged on as me and wanted to just do a quick check of some values (no modifications) when I noticed this behavior. That, of course, led me on a quest for an explanation.
Thanks for the solution.

Similar Messages

  • How to get XML format output from Hyperion Financial Reporting

    Dears,
    We are using Hyperion Financial Reporting to replace FSG in fusion. I found that Hyperion FR report can be exported to html/excel/pdf format. However, I would like the report to export to xml format.It means I only need the xml data source.
    Anyone who knows how to get the xml format output from Hyperion FR, is there any avaiable API?

    I think if you export the report, you will be able to open the .des file in Notepad/Wordpad and see xml content.

  • Can't get trace statements omitted from SWC

    I'm trying to create a component. I'm using Flash CS4 and AS2.
    I've been using trace statements while developing and now I want
    to deliver it, without trace statements. I went to the Publish Settings
    and checked Omit trace actions and unchecked Permit debugging.
    I then exported the SWC, restarted Flash, put the component into
    a new FLA and I still get trace statements.
    How do I omit trace statements from a SWC?
    Thanks

    My mistake. The Global variable "Path to configuration file" points to "D:\data\configured.scf". I set that as a constant in the original vi now, so that it is more self-contained now.
    Attachments:
    find_experiment_time_frame_-_sent_to_NI-2.vi ‏70 KB

  • Variable not getting updated by output from a PL

    We have a PL that has the same xsd element as both input and output. So we used the same variable for both input and output operations while invoking this PL assuming that the output from the PL will overwrite the data already present in the variable.
    But this is not happening rather the data is persisting in that the data that was there in the variable before the invoke is there after the invoke also and is not getting overwritten by the PL output data.Is there any properties to set to change this behaviour or will this not happen at all.

    did you check the audit trail for the response data? can you please file a SR and upload your bpel processs? could you please post your sr number?

  • How to get xls report output from oracle application.

    Hi,
    Is it possible to get the report output in xls format.
    Please advise me if it is possible.
    Rgds,
    Naveen.

    One way is using XML Publisher,or alternatively you can check note 377424.1 from metalink : How To View / Open Concurrent Requests With The Excel Application
    HTH

  • Can´t get optical sound output from my brand new mini

    have connected the MM to an optical input on my Yamaha RX-V659, but I can´t get no sound.
    Mac-side: After connecting and turning on, "System Prefs -> Sound -> Output" has changed to Digital Output and says that no output controls are available for this output. I have tried playing from iTunes and DVD Player. In DVD player the option for selecting Digital Output had appeared, and I chose that. When I take a look at the end of the cable I plug into the receiver I see a constant red light.
    Yamaha-side: I have tried 2 different optical inputs, and gone over my settings several times. The receiver does not seem to detect digital audio coming in. I tried the Signal Info menu on my receiver, and for another source it output:
    PCM, 48kHz, 2.0, Analog
    On the optical input it says:
    ---, ---, 2.0, Analog

    I have a similar setup to a Kenwood receiver. You are correct that ALL system sounds (frontrow, system alerts, etc.) will play through to your stereo.
    Have you tried switching Toslink cables and/or the toslink to miniplug adapter that is plugged into the mini?
    I had a bad cable at one point in time, and a bad adapter at another point in the life of this system. You perhaps tried these things already but I only saw mention of trying 2 different inputs (I assume on the receiver) and made no mention of cables/adapters.
    Let me know how you make out.
    Message was edited by: CaptTB

  • How can I get the Conditoned output from PXI 1520 in PXI 1011 combined Chassie?

    Respected Sir,
    I am using PXI-SCXI combined Chassie PXI 1011 for my application. I have placed three SCXI 1520 modules, a motion card PXI 7352 and PXI 6052E DAQ card in the combined chassie. You know the PXI 1520 and PXI 6052E are connected internally using the Backplane of the SCXI and is not user accessable. Now I need the conditioned output of the PXI 1520 to be used as an Analog input for the Motion Control card PXI 7352. How can I do that? Whether PXI 1180 could solve my problem? If so, how do I connect the PXI 1180 to PXI 1011?
    Kindly clarify me as soon as possible.
    Thanking you,
    Ramkumar. D

    Dear Sir,
    I have already placed my DAQ card at the correct place and configured it. I need some more clarification from you. I have attached my Query in .txt format.
    Kindly reply as soon as possible.
    Thanks,
    Ramkumar. D
    Attachments:
    Clarification.txt ‏2 KB

  • Can I get an analogue output from Apple TV?

    I am trying to connect my Apple TV to the Zone 2 of my AV receiver and it requires an analogue output. I purchased a digital to analogue converter and am running an optical cable from the Apple TV to the converter. It hasn't worked. Is there something I should be doing or trying?

    If you have it set for Dolby Digital out I'd alter that to Off in Settings as the DAC probably only handles stereo.
    AC

  • How do I get good DVD output from FX7 footage?

    I just videotaped a dance concert and when I transferred the video to my computer and output it to a DL DVD, the quality is nowhere near as good as a straight HDMI connection to a TV. It doesn't even look that good on the computer in Premiere elements before I output to DVD. I'm using Adobe Premiere Elements 7. I don't know if it's the project settings for the transfer, I chose HDV 1080i 30. Is Premiere Elements maybe not going to give me what I want? My Camera is a Sony HDR-FX7
    thanks,
    Eric

    I assume you are working with high definition video in a high definition project preset and burning as a standard DVD. How much video do you have on the DVD... for maximum quality (8Mbps with PE7) you are limited to a little over an hour for a SL DVD and 2 hours for a DL DVD. Any more footage and the bitrate will be reduced lowering the quality. If the quality is still poor you could try downconverting in the cam and capturing as DV-AVI and working in a standard definition project in PE7. Certainly in early versions of Premiere Elements this gave better quality
    Other thing to consider is that your standard definition footage played on a DVD (which is a compressed format as well) is never going to look as good as the high definition video played over HDMI from the camcorder.

  • Not able to get the whole output from BBP_PROCDOC_GETLIST FM

    Hi
    I am using the BBP_POCDOC_GETLIST FM to display the Shopping Cart details in the ALV report.
    But when Date range is large (suppose 1 month)  in the FM then it is not displaying the every SC details in the Report. For small range it is working fine.
    CALL FUNCTION 'BBP_PROCDOC_GETLIST'
         EXPORTING
           i_object_type      = /infype/cl_common=>gc_object_type_sc
           i_create_date      = date-low
           i_create_date_to   = date-high
           i_status_select_or = /infype/cl_common=>gc_x
           i_item_not_deleted = /infype/cl_common=>gc_x
         TABLES
           i_range_object_id  = lt_sc_no
           e_pdlist           = lt_sclist
           e_messages         = lt_messages.
    Please help me on this.
    Thanks in advance
    Pratham

    Hi Shiva,
    It does not going to these includes at all. Message comes out with successfully done. The BApi is calling RHPP_COMMON_QUALI_READ inside, but this will not return any data. But if will call any qualification object ID, this BAPI will come up with data.
    So the QP type LO profile will not come up with any kind of data, but if we pass the OTYPE as Q and pass any Qualification object ID then the data will be returned.
    Is there any relationship or some other thing is missing? Any idea.
    Thanks,
    Sanket Sethi

  • How to get the desire output from sql query

    Consider an Order Table: ...
    Order Table:
    Order Id Item Qty
    O1 A1 5
    O2 A2 1
    O3 A3 3
    Please provide SQL which will explode the above data into single unit level records as shown below
    Desired Output:
    Order Id Order Id Qty
    O1 A1 1
    O1 A1 1
    O1 A1 1
    O1 A1 1
    O1 A1 1
    O2 A2 1
    O3 A3 1
    O3 A3 1
    O3 A3 1

    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • Why do i get a -14V output from my DAQpad 6016?

    I am using labview to simulate a 6V DC signal. i open the DAQ assistant to set up the analogue output. i set it for ao0.
    I have connected my multimeter to pins 15 (AO 0) and 16 (AO GND). but when i measure what comes out it is a -14V DC.
    also, this voltage is still measured even when the Virtual instrument is turned off.
    What am i doing wrong??
    Is it something with the pins?

    Temporarily, please turn off your amplifier and/or powered speakers and disconnect the plug that goes into the AirPort Express audio jack.
    Plug a pair of headphones directly into the AirPort Express and listen for a few minutes.
    Do you hear the "hum" that way?

  • Getting type specs from PDF

    Hi!
    I'm matching a PDF fro a new booklet (someone else did the last one). Is there any way to get the type specs from the PDF?

    Leading is not a property of a PDF. Yes, it is there in effect, but
    each character on the page, in a PDF, just has an X,Y co-ordinate.
    What you see as leading is just the difference between them.
    You can get font name and size from the text touch-up tool via
    Properties. That is, Properties selected from the context menu;
    Ctrl+click on a Mac.
    Aandi Inston

  • Get complete output from java.lang.Process

    How do I get the complete output from java.lang.Process?
    By the time I've started reading from Process.getInputStream() the process has already terminated...

    I solved the problem:
    private int exec(String pArguments[], OutputStream pOut, OutputStream pErr) throws IOException {
         class ProcessOutputPrinter implements Runnable {
              private InputStream ivIn;
              private OutputStream ivOut;
              public ProcessOutputPrinter(InputStream pIn, OutputStream pOut) {
                   ivIn = pIn;
                   ivOut = pOut;
              public void run() {
                   try {
                        for(int tByte; (tByte = ivIn.read()) != -1; ) {
                             ivOut.write(tByte);
                        ivOut.flush();
                   catch(IOException e) {
                        e.printStackTrace();
         // Start process
         Process tProcess = Runtime.getRuntime().exec(pArguments);
         // Create out printer
         Thread tOutPrinter = new Thread(new ProcessOutputPrinter(tProcess.getInputStream(), pOut), "NamingAdmin out-printer");
         tOutPrinter.start();
         // Create err printer
         Thread tErrPrinter = new Thread(new ProcessOutputPrinter(tProcess.getErrorStream(), pErr), "NamingAdmin err-printer");
         tErrPrinter.start();
         // Wait for process and printers to finish
         try {
              tProcess.waitFor();
              tOutPrinter.join();
              tErrPrinter.join();
         catch(InterruptedException e) {
         // return process exit value
         return tProcess.exitValue();

  • How to Use AccessibleObjectFromWindow API in VBA to Get Excel Application Object from Excel Instance Window Handle

    I need to get the Excel.application object from a window handle using AccessibleObjectFromWindow. I can't seem to make the code work. First, I successfully search for the XLMAIN windows. Then, when I get a handle, I execute the AccessibleObjectFromWindow
    function. It seems to return a value of -2147467262 in all cases. Therefore, I believe that it is returning an error value. I can't figure out how to determine the meaning of this value.
    If it is an error value, I believe that one or more arguments are in error. My best guess at present is that the GUID argument is incorrect. I have tried two GUID values: {00020400-0000-0000-C000-000000000046} and {90140000-0016-0409-0000-0000000FF1CE}.
    I have seen both used in conjunction with OBJID_NATIVEOM. Neither one seems to work. I really would prefer not to use the second one as it has an Excel major and minor version number. I would hate to have to change this code, if a new minor version appeared.
    The attached code has been commented to show which parts have been shown to work and which not. I'm at my wits end and really need help.
    Thanks
    'This module is located in Access 2010, but this is an Excel question.
    Option Compare Database
    Option Explicit
    ' Module-Level Declarations
    'The GetDesktopWindow function and FindWindowEx function work just fine.
    Public Declare Function GetDesktopWindow Lib "user32" () As Long
    Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" _
    (ByVal hWnd1 As Long, _
    ByVal hWnd2 As Long, _
    ByVal lpsz1 As String, _
    ByVal lpsz2 As String) _
    As Long
    'I'm not getting the expected output from this function (see below)
    Private Declare Function AccessibleObjectFromWindow& Lib "oleacc.dll" _
    (ByVal hwnd&, _
    ByVal dwId&, _
    riid As GUID, _
    xlwb As Object)
    Type GUID
    lData1 As Long
    iData2 As Integer
    iData3 As Integer
    aBData4(0 To 7) As Byte
    End Type
    Function ExcelInstances() As Long
    ' Procedure-Level Declarations
    ' Value of OBJID_NATIVEOM verified by checking list of Windows API constants _
    on this site: http://www.lw-tech.com/q1/base.htm
    Const OBJID_NATIVEOM = &HFFFFFFF0
    Dim hWndDesk As Long 'Desktop window
    Dim hWndXL As Long 'Child window
    Dim objExcelApp As Object 'Final result wanted: Excel application object
    'Following variable (xlapp) to be set by AccessibleObjectFromWindow function
    Dim xlapp As Object
    Dim IDispatch As GUID 'GUID used in call to AccessibleObjectFrom Window function
    'Set up GUID to be used for all instances of Excel that are found
    Dim tmp1 As Variant 'Return value from AccessibleObjectFromWindow
    ' Executable Statements
    SetIDispatch IDispatch
    IDispatch = IDispatch
    'Get a handle to the desktop
    hWndDesk = GetDesktopWindow 'This seems to work
    Do
    'Get the next Excel window
    'The following statement seems to work. We are finding and counting _
    correctly all the instances of Excel. hWndXL is non-zero for each _
    instance of Excel
    hWndXL = FindWindowEx(GetDesktopWindow, hWndXL, "XLMAIN", vbNullString)
    'If we got one, increment the count
    If hWndXL > 0 Then
    'This works. We correctly count all _
    instances of Excel
    ExcelInstances = ExcelInstances + 1
    'Here is the problem. The following statement executes and returns a value of _
    -2147467262. xlapp, which is passed by reference to AccessibleObjectFromWindow, _
    is set to nothing. It should be set to the object for Excel.application. _
    I believe that this value is not an object. I tried to reference tmp1. in the _
    immediate window. There was no Intellisense.
    'I think that the function in returning an error value, but I can't figure _
    out what it is. I believe that AccessibleObjectFromWindow returns error _
    values, but I don't know where to find their values so I can interpret the _
    function's results.
    'As best I can tell, the hWndXL parameter is correct. It is the handle for _
    an instance of Excel. OBJID_NATIVEOM is set correctly (see constant declaration _
    above). xlapp is passed by reference as a non-initialized object variable, which _
    will be set by AccessiblObjectFromWindow. IDispatch may be the problem. It is set _
    as shown below in the procedure SetIDispatch(ByRef ID As GUID). This procedure _
    appears to work. I can see that IDispatch is set as I intended and correctly _
    passed to AccessibleObjectFromWindow.
    tmp1 = AccessibleObjectFromWindow(hWndXL, OBJID_NATIVEOM, IDispatch, xlapp)
    'Need to write code to test tmp1 for error. If none, then set objExcelApp = _
    object. Also, I exect xlapp to be set to Excel.application
    End If
    'Loop until we've found them all
    Loop Until hWndXL = 0
    End Function
    Private Sub SetIDispatch(ByRef ID As GUID)
    'Defines the IDispatch variable. The interface _
    ID is {90140000-0016-0409-0000-0000000FF1CE}.
    'NOT USING {00020400-0000-0000-C000-000000000046}, _
    which could be the problem
    '9 is release version - first version shipped (initial release)
    '0 is release type - retail/oem
    '14 is major version
    '0000 is minor version
    '0016 is product ID - MS Excel 2010
    '0409 is language identifier - English
    '0 is x86 or x64 - this is x86
    '000 reserved
    '0 is debug/ship
    '000000FF1CE is office family ID
    With ID
    .lData1 = &H90140000
    .iData2 = &H16
    .iData3 = &H409
    .aBData4(0) = &H0
    .aBData4(1) = &H0
    .aBData4(2) = &H0
    .aBData4(3) = &H0
    .aBData4(4) = &H0
    .aBData4(5) = &HF
    .aBData4(6) = &HF1
    .aBData4(7) = &HCE
    End With
    End Sub
    DaveInCalabasas

    I don't think you can return a reference to Excel's main window like that as you are attempting to do.
    Ref:
    http://msdn.microsoft.com/en-us/library/windows/desktop/dd317978(v=vs.85).aspx 
    It's relatively straightforward to return any workbook's window in any given instance, and in turn it's parent Excel app. Try the following and adapt as required (and include error handling) -
    Option Explicit
    Private Declare Function FindWindowEx Lib "User32" Alias "FindWindowExA" _
    (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, _
    ByVal lpsz2 As String) As Long
    Private Declare Function IIDFromString Lib "ole32" _
    (ByVal lpsz As Long, ByRef lpiid As GUID) As Long
    Private Declare Function AccessibleObjectFromWindow Lib "oleacc" _
    (ByVal hWnd As Long, ByVal dwId As Long, ByRef riid As GUID, _
    ByRef ppvObject As Object) As Long
    Private Type GUID
    Data1 As Long
    Data2 As Integer
    Data3 As Integer
    Data4(7) As Byte
    End Type
    Private Const S_OK As Long = &H0
    Private Const IID_IDispatch As String = "{00020400-0000-0000-C000-000000000046}"
    Private Const OBJID_NATIVEOM As Long = &HFFFFFFF0
    Sub test()
    Dim i As Long
    Dim hWinXL As Long
    Dim xlApp As Object ' Excel.Application
    Dim wb As Object ' Excel.Workbook
    hWinXL = FindWindowEx(0&, 0&, "XLMAIN", vbNullString)
    While hWinXL > 0
    i = i + 1
    Debug.Print "Instance_" & i; hWinXL
    If GetXLapp(hWinXL, xlApp) Then
    For Each wb In xlApp.Workbooks
    Debug.Print , wb.Name
    Next
    End If
    hWinXL = FindWindowEx(0, hWinXL, "XLMAIN", vbNullString)
    Wend
    End Sub
    'Function GetXLapp(hWinXL As Long, xlApp As Excel.Application) As Boolean
    Function GetXLapp(hWinXL As Long, xlApp As Object) As Boolean
    Dim hWinDesk As Long, hWin7 As Long
    Dim obj As Object
    Dim iid As GUID
    Call IIDFromString(StrPtr(IID_IDispatch), iid)
    hWinDesk = FindWindowEx(hWinXL, 0&, "XLDESK", vbNullString)
    hWin7 = FindWindowEx(hWinDesk, 0&, "EXCEL7", vbNullString)
    If AccessibleObjectFromWindow(hWin7, OBJID_NATIVEOM, iid, obj) = S_OK Then
    Set xlApp = obj.Application
    GetXLapp = True
    End If
    End Function
    Note as written if an instance does not have any loaded workbooks a reference will not be returned (though a workbook can be added using DDE, but convoluted!)
    FWIW there are two other very different approaches to grab all running Excel instances though something along the lines of the above is simplest.
    Peter Thornton

Maybe you are looking for

  • Results recording tab not appearing in QA32

    hi, can anyone tell me why results tab not appearing in QA32 , is there any authorisation missing?

  • Campaign Element - field questionnaire

    Hello, In the element of campaign, in the u201CEdit modeu201D, it is possible to visualize the Survey in the field Questionnaire. In the u201Cvisualization modeu201D, the Survey description is not available. Does anyone know how to solve this? Thanks

  • How to update ALL records when inserting new image

    I have categories and subcategories and they contain images. The images are in db with an order number, the lowest number is shown first on the website When I insert images (i have a multiple image uploader) all order numbers need update. WHen I inse

  • CS6 Help is unavailable

    CS6 Illustrator Help is unavailable. When I try to access it via the Help menu, or by pressing F1, I get the following message "To access online Help or to download Help contents, you need to be connected to the Internet." I am connected. Why do I ha

  • How can i get over a 80070643 problem

    every i try an up date i get a 80070643 came up what can i do to get over it