Getting the error while transporting the log file

Hi,
I have the primary and physical standby setup on my pc. i want to transport the log file by using the command on primary database
alter system archive current log;
alter system swicth archive logfile;
i am recieving error not able to find the log sequence 15 #.
Thanks
vj0011590

OCI requires a native library.
Native libraries must be in the shared library path of the application (this is a feature of the OS not java.)

Similar Messages

  • Getting the log files from client using java program

    hi
    this is lalita...and i am doing a project in networking.... i am new to socket programming....i have established the socket connection between the client and server...with this site members' help....now i have to get the log files of the client system from the server.... via the created socket....i need it by tomorrow...i.e apr 12th ....as i have to show it to my guide...
    i just need a core java program that will get the log information of the client from the server......
    Can anybody please help me in this regard..... it would be of great help to me and my group....
    Anxiously awaiting for the replies....
    Thanking you and regards...
    Lalita.

    Simple.
    Server is listening on a specific port for the connection from the clients.
    Connect the client with the server on the above mentioned port.
    Open the streams on both side for the connection and run in separate thread.
    Define a protocol for communication between client and server.
    e.g after connection with the server the server send a text message to the client (send log) now the client first should the log file name and size to the sever and then send the file. the server should save the file.
    then disconnect the client or want to get another file or for other tasks define the other commands

  • DBMS_DATAPUMP; how to get the log file of a job?

    Hi
    I want the user to be able to see the logfile of his job from another session.
    this is my procedure
    create or replace procedure get_job_log (p_job_name IN varchar2 )
    is
    hdl_job  number;
    l_job_state     VARCHAR2 (20);
    l_status        sys.ku$_Status1010;
    l_job_status    sys.ku$_JobStatus1010;
    l_job_logentry sys.ku$_LogEntry1010;
    l_job_logline  sys.ku$_LogLine1010;
    begin
    hdl_job := DBMS_DATAPUMP.ATTACH(
                                         job_name   => p_job_name
                                        ,job_owner  => 'CLONE_USER'
    DBMS_DATAPUMP.GET_STATUS(
       handle  => hdl_job
       ,mask   => dbms_datapump.ku$_status_job_error + dbms_datapump.ku$_status_job_status + dbms_datapump.ku$_status_wip
       --,timeout   => 15
       ,job_state =>l_job_state
       ,status    =>l_status);
    l_job_logentry:=l_status.wip ;
    for x in l_job_logentry.first .. l_job_logentry.last loop
       dbms_output.put_line (l_job_logentry(x).LogText) ;
    end loop;
    dbms_datapump.detach(hdl_job);
    end;
    /when I run it for the first time, it works... kindof...
    but my problem is that if I try running it again I get:
    ORA-31626: job does not exist
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 902
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3407
    if I close sqlplus session , open new one and run - it works. So what is the issue here? Is detach not enough? What else should I do?
    my version is 11.1.0.6
    UPDATE.
    Looks like the above is not true. It doesn't error if it runs to the end of code... The problem seems to happen only when exception occures and .detach is not called. So this is not an issue anymore.
    But I still don't get a decent performance from the .get_status function. Sometimes it just hangs and errors on timeout.
    Still the question is: How can I get the LOG of the session using DBMS_DATAPUMP from another session and output it on the screen?...
    Edited by: Andrei Kübar on Dec 23, 2011 12:44 PM
    Edited by: Andrei Kübar on Dec 23, 2011 12:57 PM

    I believe I found a solution
    I am now running the above code only 1 time but in a loop and inserting output into a table, so that user can query the table and see where the job is
    here's the code I'm using (partially copied from http://psoug.org/reference/dbms_datapump.html)
    l_job_state:='UNDEFINED';
    while (l_job_state != 'COMPLETED') and (l_job_state != 'STOPPED') loop
         DBMS_DATAPUMP.GET_STATUS(
            handle  => hdl_job
           ,mask   => dbms_datapump.ku$_status_job_error + dbms_datapump.ku$_status_job_status + dbms_datapump.ku$_status_wip
         --,timeout   => 15
           ,job_state =>l_job_state
           ,status    =>l_status);
         if (bitand(l_status.mask,dbms_datapump.ku$_status_wip) != 0) then
           l_job_logentry:=l_status.wip ;
           if (l_job_logentry is not null) then
                for x in l_job_logentry.first .. l_job_logentry.last loop
                    --dbms_output.put_line (l_job_logentry(x).LogText ) ;
                    writelog (l_job_logentry(x).LogText );
                end loop;
           end if;
         end if;
         if (bitand(l_status.mask,dbms_datapump.ku$_status_job_error) != 0) then
            l_job_error :=l_status.error ;
            if  (l_job_error is not null) then
                for x in l_job_error.first .. l_job_error.last loop
                    dbms_output.put_line (l_job_error(x).LogText) ;
                    writelog('Error: '|| l_job_error(x).LogText) ;
                end loop;
            end if;
         end if;
         --dbms_output.put_line ('Current job state: '||l_job_state);
         writelog ('Current job state: '||l_job_state);
    end loop;thanks all for your help

  • Getting an error while importing Development Configuration file (NW 2.0)

    i,
        while importing a development configuration file for Webdynpro (  SAP NW 2.0 ), i am getting an error
       "Getting Input Stream Failed-> Unable to find the host ..."
    But i can ping to the server and tr is also working .
    i could see Active and Inactive Objects
    Any access permission is needed to download a configuration file.
    or whatis the reason for this error.
    any preconditions have to be done for importing a configuration file ?

    You can try the following:
    1. try the fully qualified domain name of the DTR server host in NWDS Preferences->Development Configuration.
    2. Are your WAS and JDI are on a higher SP level. That may cause the problem
    regards,

  • Getting an error while importing Development Configuration file

    Hi,
        while importing a development configuration file for Webdynpro (  SAP NW 2.0 ), i am getting an error
       "Getting Input Stream Failed-> Unable to find the host ..."
    Any access permission is needed to download a configuration file.
    or whatis the reason for this error.
    any preconditions have to be done for importing a configuration file ?

    You can try the following:
    1. try the fully qualified domain name of the DTR server host in NWDS Preferences->Development Configuration.
    2. Are your WAS and JDI are on a higher SP level. That may cause the problem
    regards,

  • Getting an Error while uploading a WSDL file into ServiceRegistry

    Hi,
       I am trying to uploading a WSDL file into ServiceRegistry with following URL:
        file://PEPWUL32116/D:/shared/ORDER.wsdl
       but I am getting the error below:
    com.sap.esi.uddi.sr.api.exceptions.SRExceptionerror code: null detail message: java.lang.IllegalArgumentException:   Unsupported protocol. Supported protocols are http and https->java.lang.IllegalArgumentException: Unsupported protocol. Supported protocols are http and https
    Is there a way to upload a local WSDL into registry.
    Thanks

    Rama ,
    Look into the error...
    file://PEPWUL32116/D:/shared/ORDER.wsdl
    but I am getting the error below:
    com.sap.esi.uddi.sr.api.exceptions.SRExceptionerror code: null detail message: java.lang.IllegalArgumentException: Unsupported protocol. Supported protocols are http and https->java.lang.IllegalArgumentException: Unsupported protocol. Supported protocols are http and https
    > not the right way of registering a service ...Use HTTP or HTTPS...protocol rather than file . It is not a FTP site
    more over D: should not be used..
    Regards ,

  • Error while transporting objects using FIle system

    Hi All,
    I am getting the following error when I try to transport Repository or Directory objects from Development to quality.
    Internal error during pvc call: No space left on device.....
    But when I checked there is ample of space on the disk. Can anyone help me in resolving this issue.
    Also I am trying to set up CMS for PI7.0. Can someone please mail some good document or suitable links which can guide me for setting up the same.
    mail id [email protected]
    Regards
    Vinay

    Hi
    just to add
    Note :859465  addresses a different problem which is as follows. So I think it wont help here.
    Certain operations fail in DTR or in XI with a NullPointerException.
    regards
    krishna

  • Skype won't sign in here is the log file.

    Skype won't sign in and I have tried a lot of things. I just followed the instructions here just to get the log file. I don't know if I did it right. https://support.skype.com/en/faq/FA12233/what-should-i-do-if-i-get-a-blank-blue-screen-when-i-try-si...
    Solved!
    Go to Solution.
    Attachments:
    debug-20141006-1138#1.zip ‏983 KB

    Try to reset all Skype settings.
    Quit Skype or use Windows Task Manager to kill any Skype.exe process. Go to Windows Start and in the Search/Run box type %appdata% and then press Enter or click the OK button. The Windows File Explorer will pop up. There locate a folder named “Skype”. Rename this folder to something different, e.g. Skype_old.
    Next go to Windows Start and in the Search/Run box type %temp%\skype and then press Enter or click the OK button. Delete the DbTemp folder.
    Restart Skype.
    N.B. If needed, you will still be able to re-establish your call and chat history. All data is still saved in the Skype_old folder.

  • Error while deploying a PAR file from NWDS into an ECC.

    Hi all,
    I am getting this error while deploying a PAR file from NWDS into an ECC.
    Operation Failed: Please make sure the server is running or check the log (sap-plugin.log) for
    more detail.
    My server is running properly
    1 - Where is sap-plugin.log file? I don´t find it. 
    2 - Could there be another file with another name with information about the error?
    3 - Is there another way to deploy the file directly from the ECC?
    Regards,

    Hi,
    Just make sure you have maintained correct server setting to check the same open the NWDS and follow this path
    Windows/ Prefereces / SAP Enterprise Portal
    Check the following enteries
    Alias
    Host
    Port
    Login etc.
    Regards,

  • Error while transporting Infocube

    Hello all,
    i am getting following error while transporting infocube to testing system.
    Please see the bellow error message details.
    Error/warning in dict. activator, detailed log    > Detail
    Structure change at field level (convert table /BIC/DZMD_Y_MR2)
    Structure change at field level (convert table /BIC/FZMD_Y_MR)
    Table /BIC/DZMD_Y_MR2 could not be activated
    Table /BIC/FZMD_Y_MR could not be activated
    Return code..............: 8
    Following tables must be converted
    ZMD_Y_MR InfoCube could not be activated
    Thanks in advance.
    BR,
    YVReddy

    Dear Venkat,
    Looks like you have changed the fields on the infocube.Just wanted to make sure that did u delete the 'data' from the cube 'ZMD_Y_MR' in the testing system before u make the traansport?
    for any changes in the cube fields (except addition of new char) u may need to delete the cube data..
    regards,
    Srini

  • APEX 4.0: error while opening a XLS file downloaded from interactive report

    Hi,
    I'm getting below error while opening a XLS file downloaded from an interactive report (APEX 4.0).
    "The file you trying to open, 'customer_2.xls', is in a different format than specified by the file extension.
    Verify that the is not corrupted and is from a trusted source before opening file. Do you want to open file."
    Yes No Help
    May be this one Apex 4.0 issue.
    please help me.
    Thanks
    Mukesh

    Hi,
    is the next part of the code correct.
    What i mean is packing of the attachment, finding out the size of pdf file and doc type as PDF.
    You can also try below link..
    Link: [http://wiki.sdn.sap.com/wiki/display/Snippets/SENDALVGRIDASPDFATTACHMENTTOSAPINBOXUSINGCLASSES]
    Hope this helps.
    Regards,
    -Sandeep

  • Error While Transporting Transformation

    Hi Gurus, I have this issue that I am getting an error while transporting Transformation. I made sure that that only transformation is sected and nothing else. I am getting this error message while importing it in BWQ environment "Formula 4AY060939P5D2NKRXKMJFECLS is already locked in the requests of other users or the system is set so that formula 4AY060939P5D2NKRXKMJFECLS can no longer be changed."
    I was wondering, if this is locked by some other object or transport request, how can I find that out? Thanks in advance for all the help.

    Hi,
    You can check if the request is locked by another transport in BWQ by using the transaction SE03.
    First find the object directory entry for your object(you can take this from your transport. Go to SE03 --> 'Search for Objects in Requests/Tasks '. Under object selection enter the details as in your transport and select the check box against your new entry. Under Request/Task selection, select 'Modified' and 'Released'. Execute. You will now see a list of transport requests that contain your transformation. Check these & either release them or delete your object from the modifable transports. Re import your transport.
    You can check if this object was locked by a person using the transaction SM12.
    Regards,
    Shilpa

  • Error while transporting Openhub (BI7)

    Hi Gurus,
    I am getting an error while transporting the open hub. In the dev system it worked perfectly but when i transport it to quality, it is showing the following error.
    "Unable to activate table /BIC/OHZxxxxxx ."
    When i checked the table in quality it says that /BIC?OHZxxxxx-0UNIT ( Reference field ) does not exists. But 0UNIT is there in the DSO on which i developed the openhub and the infoobject 0unit is also active in quality system.
    Why this error is happening?
    Regards,
    Raghavendra.

    Hi Raghavendra,
    There are chances of missing some objects in transport request wile assigning objects to request...please check the objects list and open hub structure.
    and also plsease check the 0Unit field status in Quality system.if it is in modified status means make it it active ststus.
    Please create one more transport request and validate the tr objects...
    Best Regards,
    maruthi

  • Error while transporting - Source RSDS 8ZRF_O01 LOGDBQ151 does not exist

    Hi,
        I am getting following error while transporting export DataSource to quality system.
    Start of the after-import method RS_TRFN_AFTER_IMPORT for object type(s) TRFN (Activation Mode)
    No rule exists
    Source RSDS 8ZRF_O01 LOGDBQ151 does not exist
    Start of the after-import method RS_DTPA_AFTER_IMPORT for object type(s) DTPA (Activation Mode)
    Transformation does not exist (see long text)
        Although, the request is failing, I can see the DataSource 8ZRF_O01 present in the QA system. Only the transformation is set inactive.
    Regards,
    Pranav.
    Edited by: P D on Sep 20, 2010 9:02 AM

    Hi
      might be your data source not collected into transport request.
    If you are moving data source from once system to other system, this may missed.
    RSA1->Transport connection>all objects>Datasource --> Select your data source as only neecessary to move
    When ever we are moving objects from one system to other follow below are order to avoid failures
    1).New Infoobjects.
    2). Data source/Infosource
    3). Info Providers ( Cube/DSo)
    4). Update rules/Transformation
    5).Impacted objects and other
    Mahesh.

  • Error while transporting Queries

    Hi,
    I am getting this error while transporting queries!!
    Object '!ZTIC_UKA' (ELEM) of type 'Query' is not available in version 'A'
    Message no. RSO252
    Diagnosis
    You wanted to generate an object with the name '!ZTIC_UKA' (in transport request ELEM) of type 'Query' (TLOGO). This is, however, not available in the BW Repository database. It does not exist in the requested version A. If the version is 'D' then it is possible that an error arose during the delivery or installation. If the version is 'A' then the Object was either not created or not activated.
    System Response
    The object was not taken into account in the next stage of processing
    Thanks

    Hi Murali,
    YOu are trying to transport the element ZTIC_UKA'  of the query,may be an variable  which is not colelcted in the request.
    Try to transport the query through RSA1> Transport connection->Query-->give you query name -->Drag and Drop to Right hand side  and Click on collect all dependent objects and check whetehr they have collected in the same request.Make sure ur variables are collected.
    Tranport it now and Check.
    Rgds
    SVU123
    Edited by: svu123 on Mar 4, 2010 7:41 AM

  • Error while transporting database index into quality system

    Hello,
    I am getting an error while transporting a new index in quality system.
    I have created a new index for table VBFA in TRD and activity the object without errors. I even adjusted the database table using database utility.
    While transporting the request there was a strange error "R3TRTABLVBFA was repaired in this system".
    I retransported the objects using a new request. However I still got the same error.
    Please help.

    Navin,
    No idea about the error you have mentioned but check the SAP Notes 185530 and see if you can avoid creating an index.In this Notes it is clearly mentioned on how to use VBFA table without any performance issues.
    K.Kiran.

Maybe you are looking for