How to resolve the error ORA-12560 TNSprotocol adapter

I am using Oracle 9i release 2 database on my window xp machine. My database created using DBCA during installation is working fine . Now i want to create the database manually, When i set SET ORACLE_SID=newdb and try to connect to like this
c:\sqlplus /nolog
enter username:sys/sys as sysdba
gives an error ORA-12560 TNSprotocol adapter
how to resolve this error

see this:
ERROR:ORA-12560: TNS:protocol adapter error
see post of user601010

Similar Messages

  • How to resolve the error in trigger

    Hi,
    I've written the trigger and the logic is correct but unable to resolve the error.. Could you please suggest me to resolve the error...
    Solved
    Thank you
    Edited by: Smile on Feb 19, 2013 2:34 AM                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Yes you can very well do that
    See the example below. I have three tables.
    SQL> create table t1(no integer)
      2  /
    Table created.
    SQL> create table t2(no integer)
      2  /
    Table created.
    SQL> create table t(no integer)
      2  /
    Table created.I have inserted sample data into t
    SQL> insert into t
      2  select level
      3    from dual
      4  connect by level <= 10
      5  /
    10 rows created.
    SQL> commit
      2  /Now i want to insert even numbers into table t1 and odd numbers into table t2
    SQL> begin
      2     insert all
      3             when (mod(no,2) = 0) then
      4                     into t1 (no) values(no)
      5             else
      6                     into t2 (no) values(no)
      7     select no
      8       from t;
      9  end;
    10  /
    PL/SQL procedure successfully completed.The output is below...
    SQL> select * from t1
      2  /
            NO
             2
             4
             6
             8
            10
    SQL> select * from t2
      2  /
            NO
             1
             3
             5
             7
             9Thanks,
    Karthick.

  • How to fix the error ORA-02289 using msync.exe for WIN32

    Hi All,
    I am testing OLITE 10.3.0.1.0 and I got the error Ora-02289 when I am synchronizing
    any idea to fix it?
    Regards.
    Charly

    Hi,
    The Mobile Manager Didn't delete/create properly the mobile user.
    The Mobile Manager is an J2EE Application which connects to the Mobile Repository using the Oracle JDBC Thin Driver, it is possible that when some users were deleted/created, the http connection or JDBC connection was cut.
    Can you try to reset the metadata cache, delete the mobile user, create and configure this mobile user then Synchronize it.
    It will make a Complete refresh but it should synchronize fine after.
    Regards.
    Marc

  • How to resolve this Error ORA-04030: out of process memory when trying to a

    Hi
    I am connecting as a sysdba and trying to execute a query on the V$Logmnr_contents but getting the following Error
    ORA-04030: out of process memory when trying to allocate 408 bytes (T-LCR
    structs,krvuinl_InitNewLcr)
    Can anyone guide me how to resolve this issue.
    Thanks

    Hi,
    As root user, edit the /etc/sysconfigtab file, and try to set the udp_recvspace parameter to 262144 and reboot the machine :
    inet:
    udp_recvspace = 262144
    Metalink note 297030.1 Ora-04030 During Execution Of LogMiner Query
    Nicolas.

  • How to handle the error ORA-04052

    We have two Oracle database servers Primary and Secondary, and a DBLINK from Primary to Secondary.
    We have a table EmployeeDetails in both the database.
    we have written a query to retreive data from both the database using DBLINK without any problem.
    When the SECONDARY database was shutdown,
    we get exception in the query.
    ORA-04052: error occurred when looking up remote object SYSTEM.EmployeeDetails@REMOTEDB
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12505: TNS:listener could not resolve SID given in connect descriptor.

    What kind of query is this? How is the "erroring" statement called?
    ORA-04052: error occurred when looking up remote
    object SYSTEM.EmployeeDetails@REMOTEDB While designing, do not use the system schema - use a separate schema for your app's objects !

  • How to resolve the error -1073807339 when using Agilent LAN/GPIB Gateway (E5810A)?

    Dear Sir/Madam,
    Appreciate that you could advise me on the following error occur when connect power meter E4419B to computer via E5810A LAN/GPIB Gateway(remote interface) & run with Labview: 
    -1073807339
    VISA Write in E4419_read_power.vi
    I have added 5s timeout to Labview program but the result as previous.
    There no error occurs when the power meter to computer via USB/GPIB interface(82357B).
    Is it related to E5810A driver or the program I wrote?
    How to resolve it?
    Attachments:
    E4419_read_power.vi ‏16 KB

    Hi.
    I'm experiencing the same problem when connecting a laser controller (New Focus Vortex TLB-6000) via the Agilent E5810A to a PC.  
    There are no problems when connected through a regular serial port, but timeouts arise every few seconds through the E5810A.  I have another controller (SRS LDC501) which works very well with a second Agilent console.
    Have you managed to find a solution to this problem?
    Thanks,
    Orel.

  • How to resolve the error " low paging memory"

    HI all ,
    I developed a report, which is running fine in development and in quality , but when it runs on production , it shows the dump 'low paging memory'. how to resolve this , can any one sujjest please ?

    Hi,
    1) Run a trace ST05 in ur quality system and fine tune the memory consuming select queries.
    2) Discuss with the basis regarding this error, probably they can help you out by increasing some space in pRODN.
    Regards
    Subbu

  • Oracle 9i Database gives the error "ORA-12560: TNS: Protocol Adaptor Error"

    Hi
    I am working on Oracle9i Database, but from few days there is a problem, I can not enter in the database using SQL*PLUS or any other tool. When I give the user name and password it give the error message, that is given below:
    "ORA-12560: TNS: Protocol Adaptor Error"
    Please help me regarding this error.
    Gul Bahar Oad

    A bit generic .... In SqlPlus are you connecting from the server or from a Client ?
    Did you check if the listener is running ?
    Did you try tnsping ?
    What is your OS ?

  • How to resolve the error while using user defined function.

    EPN Assembly file
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:osgi="http://www.springframework.org/schema/osgi"
    xmlns:wlevs="http://www.bea.com/ns/wlevs/spring"
    xmlns:jdbc="http://www.oracle.com/ns/ocep/jdbc"
    xmlns:spatial="http://www.oracle.com/ns/ocep/spatial"
    xsi:schemaLocation="
    http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans.xsd
    http://www.springframework.org/schema/osgi
    http://www.springframework.org/schema/osgi/spring-osgi.xsd
    http://www.bea.com/ns/wlevs/spring
    http://www.bea.com/ns/wlevs/spring/spring-wlevs-v11_1_1_3.xsd
    http://www.oracle.com/ns/ocep/jdbc
    http://www.oracle.com/ns/ocep/jdbc/ocep-jdbc.xsd
    http://www.oracle.com/ns/ocep/spatial
    http://www.oracle.com/ns/ocep/spatial/ocep-spatial.xsd">
         <wlevs:event-type-repository>
              <wlevs:event-type type-name="TestEvent">
                   <wlevs:class>com.bea.wlevs.event.example.FunctionCEP.TestEvent</wlevs:class>
              </wlevs:event-type>
         </wlevs:event-type-repository>
         <wlevs:adapter id="InputAdapter"
              class="com.bea.wlevs.adapter.example.FunctionCEP.InputAdapter">
              <wlevs:listener ref="inputStream" />
         </wlevs:adapter>
         <wlevs:channel id="inputStream" event-type="TestEvent">
              <wlevs:listener ref="processor" />
         </wlevs:channel>
         <wlevs:processor id="processor">
              <wlevs:listener ref="outputStream" />
              <wlevs:function function-name="sum_fxn" exec-method="execute">
              <bean>com.bea.wlevs.example.FunctionCEP.TestFunction</bean>
              </wlevs:function>
         </wlevs:processor>
         <wlevs:channel id="outputStream" event-type="TestEvent">
              <wlevs:listener ref="bean" />
         </wlevs:channel>
         <bean id="bean" class="com.bea.wlevs.example.FunctionCEP.OutputBean">
         </bean>
    </beans>
    Event class
    package com.bea.wlevs.event.example.FunctionCEP;
    public class TestEvent {
         private int num_1;
         private int num_2;
         private int sum_num;
         public int getSum_num() {
              return sum_num;
         public void setSum_num(int sumNum) {
              sum_num = sumNum;
         public int getNum_1() {
              return num_1;
         public void setNum_1(int num_1) {
              this.num_1 = num_1;
         public int getNum_2() {
              return num_2;
         public void setNum_2(int num_2) {
              this.num_2 = num_2;
    Adapter class
    package com.bea.wlevs.adapter.example.FunctionCEP;
    import com.bea.wlevs.ede.api.RunnableBean;
    import com.bea.wlevs.ede.api.StreamSender;
    import com.bea.wlevs.ede.api.StreamSource;
    import com.bea.wlevs.event.example.FunctionCEP.TestEvent;
    public class InputAdapter implements RunnableBean, StreamSource {
    private StreamSender eventSender;
    public InputAdapter() {
    super();
    public void run() {
         generateMessage();
    private void generateMessage() {
         TestEvent event = new TestEvent();
         event.setNum_1(10);
         event.setNum_2(20);
         eventSender.sendInsertEvent(event);
    public void setEventSender(StreamSender sender) {
    eventSender = sender;
    public synchronized void suspend() {
    Output Bean class
    package com.bea.wlevs.example.FunctionCEP;
    import com.bea.wlevs.ede.api.StreamSink;
    import com.bea.wlevs.event.example.FunctionCEP.TestEvent;
    import com.bea.wlevs.util.Service;
    public class OutputBean implements StreamSink {
         public void onInsertEvent(Object event) {
              System.out.println("In Output Bean");
              TestEvent event1 = new TestEvent();
              System.out.println("Num_1 is :: " + event1.getNum_1());
              System.out.println("Num_2 is :: " +event1.getNum_2());
              System.out.println("Sum of the numbers is :: " +event1.getSum_num());
    Function Class
    package com.bea.wlevs.example.FunctionCEP;
    public class TestFunction {
         public Object execute(int num_1, int num_2)
              return (num_1 + num_2);
    config.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <wlevs:config xmlns:wlevs="http://www.bea.com/ns/wlevs/config/application"
    xmlns:jdbc="http://www.oracle.com/ns/ocep/config/jdbc">
         <processor>
              <name>processor</name>
                   <rules>
                   <view id="v1" schema="num_1 num_2">
                        <![CDATA[
                             select num_1, num_2 from inputStream     
                        ]]>
                   </view>
                   <view id="v2" schema="num_1 num_2">
                   <![CDATA[
                   select sum_fxn(num_1,num_2), num_2 from inputStream // I am getting error when i am trying to call this function
                   ]]>
                   </view>
                   <query id="q1">
                        <![CDATA[
                             select from v2[now] as num_2*     // Showing error while accessing the view also               ]]>
                   </query>
              </rules>
         </processor>
    </wlevs:config>
    Error I am getting is :
    Invalid statement: "select >>sum_fxn<<(num_1,num_2),age from inputStream"
    Description: Invalid call to function or constructor: sum_fxn
    Cause: Probable causes are: Function name sum_fxn(int,int) provided is invalid, or arguments are of
    the wrong type., or Error while handling member access to complex type. Constructor sum_fxn of type
    sum_fxn not found. or Probable causes are: Function name sum_fxn(int,int) provided is invalid, or
    arguments are of the wrong type., or Error while handling member access to complex type.
    Constructor sum_fxn of type sum_fxn not found.
    Action: Verify function or constructor for complex type exists, is not ambiguous, and has the correct
    number of parameters.
    I have made a user defined function in a java class and configured this function in the EPN assembly file under the processor tag.
    But when i am trying to access the function in the config.xml file , it is giving me an error in the query.
    Please provide urgent help that how to write the exact query.

    Hi,
    In the EPN Assembly file use
    <bean class="com.bea.wlevs.example.FunctionCEP.TestFunction"/>
    instead of
    <bean>com.bea.wlevs.example.FunctionCEP.TestFunction</bean>
    Best Regards,
    Sandeep

  • How to resolve the error message "JBO-25009" in ADF table?

    Hi all,
    There is a master detail form in jsff page using adf application. Detail is represented as ADF table. In the adf Table we have 4 primary key, two foreign key from master table.
    Type of primary key in master are Big Decimal and String. When I input value in field of detail, we get error message :
    "JBO-25009: Cannot create an object of type:java.math.BigDecimal from type:java.lang.String with value:AC".
    How to make if I input value in detail table don't show the error message?
    Please let me know if you have any solution for this.
    Thanks.

    Hi Rakesh.
    I don't try insert String into Big Decimal variable. I have adf table with 5 column and 4 primary key. The type of primary key are: 1Big Decimal and 3 String.
    Now, I want to insert data to the table. when I input data to first column (primary key : Big Decimal) is work well and then I want to insert data to second column (primary key : String) with value "AC"
    but when I insert, the error message is show "JBO-25009: Cannot create an object of type:java.math.BigDecimal from type:java.lang.String with value:AC".
    Why the error message is show when I insert data to second column with type String and I have been input data with String value?
    Are the second column is remember of type first column is Big Decimal ?
    Thanks.

  • HT1369 how to resolve the error 1015 code

    why my iphone 3g cannot restore and update the hardware and firmware? it i try to click the restore and update at itunes, the error code is 1015.

    You have a 3G. It cannot be updated past 4.2.1. That error code means that you are trying to install a version that isn't supported on your phone, or that your phone has been hacked to unlock it. In either case there is no solution.

  • How to resolve the errors 134013003!

    Problem: I am running some of the NI-DAQmx Base examples for Pocket PC and am receiving error code 130413003, unable to lock memory chunk.
    Solution: This problem can be caused when changes are made to the development machine's Windows operating system properties such as the font, color scheme, or language. When using the NI-DAQmx Base driver, only ESeries AI Read FIFO Raw 1D I16 Pretrigger.vi and ESeries AI Read FIFO Raw 1D I16.vi are affected by this problem. Therefore, if you receive this error, you should open these VIs, place a VI on the block diagram then delete the VI you placed on the block diagram. Basically, when an item is placed on the block diagram, this triggers LabVIEW to examine all wires and prototypes and the type mismatch caused by the property change on the Windows development machine will be corrected.
    This issue will be fixed in a future version of the NI-DAQmx Base driver.

    Hi Arun,
    Actully i  realized later the  problem also witht he used DC's of ESS business package. when i open the webdypro  component diagram it is showning  some Used Dcs are missed. i tried lot to find out those DCs but i could not .
    Actually the ESS business package is getting imported in to NWDI perfectely and even   i am facing the problem with componenet Build also  it is showing build failure( DC's) ....
    I think the problem may also be with the misssing  components. could you please  let me know how can i check  and find out the missed components.
    give  reasponse ASAP .............
    regards
    Ratnakar

  • Can someone explain how to resolve the error "Error al intentar cambiar los módulos"?

    I just reinstalled Lightroom 5, but when i run it, it show the message"Error al intentar cambiar los módulos",
    Does someone know how to fix that? Thanks!

    Error changing modules | Lightroom

  • How to resolve the error "File could not open" in AL11?

    Hi Friends,
    When I am going to write a file via DATASET.
    But it's showing me a error"File Could not Found"?
    And I am unable to check my fiel at AL11.
    Please suggest me the solutions.
    Regards
    Ricky

    Hi,
    Try this code
    TYPES : BEGIN OF ty_emp,
    empno(2) TYPE c,
    empid(10) TYPE c,
    empname(3) TYPE c,
    END OF ty_emp.
    DATA : it_emp TYPE TABLE OF ty_emp,
    wa_emp TYPE ty_emp.
    DATA : pbk TYPE string.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS : p_file TYPE rlgrap-filename default 'D:\EMP.TXT'.
    PARAMETERS : p_asfile TYPE rlgrap-filename default 'EMP'.
    SELECTION-SCREEN END OF BLOCK b1.
    pbk = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = pbk
      FILETYPE                      = 'ASC'
    has_field_separator           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
        TABLES
          data_tab                      = it_emp
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    OPEN DATASET p_asfile FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
      LOOP AT it_emp INTO wa_emp.
        TRANSFER wa_emp TO p_asfile.
      ENDLOOP.
      CLOSE DATASET p_asfile.
    ==============================================
    Regards,
    Krrishna

  • How to resolve the error in bdc call transaction in ALV report

    Dear Experts, i am executing the alv report program and in alv report program one bdc is there..
    after executing output is showing in alv format but one button is there (update master)..when i am clicking update button the bdc is run but is not updated in the material master..after executing my bdc is not updated in mm02.
    how to resove it?
    CALL TRANSACTION 'MM02' USING BDCDATA MODE MODE
                                                              UPDATE 'S'
                                                      MESSAGES INTO MESSTAB.

    Hi Kaustav,
    Looking at the code you attached, it appears to me that your BDC (Form  USER_COMMAND) is not executed at all as you haven't passed the 'USER_COMMAND' in FM REUSE_ALV_GRID_DISPLAY for ALV display.
    You must pass the importing parameter  I_CALLBACK_USER_COMMAND of this FM as 'USER_COMMAND', only then this form will be executed and your BDC will run.
    Thereafter, in case your BDC update fails, you can put a break-point in the form (at CALL TRANSACTION statement) and analyze the message table MESSTAB.
    Hope it helps.
    Regards,
    Sapeksh

Maybe you are looking for