Downcasting in Object PL/SQL Does not Work in Oracle 10g Enterprise Edition

create type one_t as object (
x number, y date ) not final
create type two_t under one_t()
set serverout on
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := new two_t(1, sysdate);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
The Other Piece Does not Even Compile
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := treat(super as two_t);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
ORA-06502: PL/SQL: numeric or value error: cannot assign supertype instance to
subtype
ORA-06512: at line 6

You need use correct type when you create object.
Don't forget object in reality is a memory pointer,
so what if you don't allocate correct memory in creation,
you can't treat object as subtype.
And meanwhile, it doesn't depend on Oracle version -
your example doesn't work in 9.2.0.1 for example.
SQL> declare
  2  super one_t;
  3  sub two_t := two_t(1, sysdate);
  4  begin
  5  super := two_t(1, sysdate);
  6  sub := treat(super as two_t);
  7  dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
  8  select treat(super as two_t) into sub from dual;
  9  dbms_output.put_line('super ' || super.x || ' ' || super.y );
10  if sub is null then
11  dbms_output.put_line('stupid');
12  end if;
13  if sub is of (two_t) then
14  dbms_output.put_line('stupid');
15  end if;
16  end;
17  /
sub 1 08.06.05
super 1 08.06.05
stupid
&nbsp
PL/SQL procedure successfully completed.Rgds.

Similar Messages

  • Downcasting In Object PL/SQL Does not Work in Oracle 10g 10.1.0.2

    create type one_t as object (
    x number, y date ) not final
    create type two_t under one_t()
    set serverout on
    declare
    super one_t;
    sub two_t := two_t(1, sysdate);
    begin
    super := one_t(1, sysdate);
    sub := new two_t(1, sysdate);
    dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
    select treat(super as two_t) into sub from dual;
    dbms_output.put_line('super ' || super.x || ' ' || super.y );
    if sub is null then
    dbms_output.put_line('stupid');
    end if;
    if sub is of (two_t) then
    dbms_output.put_line('stupid');
    end if;
    end;
    The Other Piece Does not Even Compile
    declare
    super one_t;
    sub two_t := two_t(1, sysdate);
    begin
    super := one_t(1, sysdate);
    sub := treat(super as two_t);
    dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
    select treat(super as two_t) into sub from dual;
    dbms_output.put_line('super ' || super.x || ' ' || super.y );
    if sub is null then
    dbms_output.put_line('stupid');
    end if;
    if sub is of (two_t) then
    dbms_output.put_line('stupid');
    end if;
    end;
    ORA-06502: PL/SQL: numeric or value error: cannot assign supertype instance to
    subtype
    ORA-06512: at line 6

    You need use correct type when you create object.
    Don't forget object in reality is a memory pointer,
    so what if you don't allocate correct memory in creation,
    you can't treat object as subtype.
    And meanwhile, it doesn't depend on Oracle version -
    your example doesn't work in 9.2.0.1 for example.
    SQL> declare
      2  super one_t;
      3  sub two_t := two_t(1, sysdate);
      4  begin
      5  super := two_t(1, sysdate);
      6  sub := treat(super as two_t);
      7  dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
      8  select treat(super as two_t) into sub from dual;
      9  dbms_output.put_line('super ' || super.x || ' ' || super.y );
    10  if sub is null then
    11  dbms_output.put_line('stupid');
    12  end if;
    13  if sub is of (two_t) then
    14  dbms_output.put_line('stupid');
    15  end if;
    16  end;
    17  /
    sub 1 08.06.05
    super 1 08.06.05
    stupid
    &nbsp
    PL/SQL procedure successfully completed.Rgds.

  • PL/SQL does not work in Oracle 8i Personal Edition

    I just installed Oracle 8i Personal Edition for Win 98. Everything works perfectly, except the PL/SQL.
    Then I tried to install Oracle 8i EM, but I always get the listener or adapter error. Even when I tried to start the listener from lsnrctl prompt, it gives me those errors. Anyone can help?

    You need use correct type when you create object.
    Don't forget object in reality is a memory pointer,
    so what if you don't allocate correct memory in creation,
    you can't treat object as subtype.
    And meanwhile, it doesn't depend on Oracle version -
    your example doesn't work in 9.2.0.1 for example.
    SQL> declare
      2  super one_t;
      3  sub two_t := two_t(1, sysdate);
      4  begin
      5  super := two_t(1, sysdate);
      6  sub := treat(super as two_t);
      7  dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
      8  select treat(super as two_t) into sub from dual;
      9  dbms_output.put_line('super ' || super.x || ' ' || super.y );
    10  if sub is null then
    11  dbms_output.put_line('stupid');
    12  end if;
    13  if sub is of (two_t) then
    14  dbms_output.put_line('stupid');
    15  end if;
    16  end;
    17  /
    sub 1 08.06.05
    super 1 08.06.05
    stupid
    &nbsp
    PL/SQL procedure successfully completed.Rgds.

  • What will you do if any SQL is not working.in oracle 10g...apps 11.5.10.2

    What will you do if any SQL is not working. in oracle 10g....apps 11.5.10.2

    928714 wrote:
    yes sir.If you help me in answering my questions i wll be very thankful to you sir.
    tnx,I haven't a clue.
    As you have been advised in many of your posts, go study the documentation for whichever specific topic you are interested in.
    For me to answer your questions, I would need to go get that documentation.
    Then I would need to read that documentation.
    Then I would need to write a forum post that interprets what I think I learned from that documentation.
    It is so very much faster if YOU go do that instead of posting to a forum and expecting others to do it. You will remember what you study for a lot longer time if you teach yourself.

  • SQL Plus not working in Oracle 8i personal edition

    I just installed Oracle 8i personal edition, went through all the steps. When I start SQL* Plus, I give it the SCOTT/TIGER combo, but when it tries to start up the database, it asks for another password, which I can't figurew out.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Meyer ([email protected]):
    I just installed Oracle 8i personal edition, went through all the steps. When I start SQL* Plus, I give it the SCOTT/TIGER combo, but when it tries to start up the database, it asks for another password, which I can't figurew out.<HR></BLOCKQUOTE>
    Fixed the problem yesterday.
    null

  • Select * from tab is not working in oracle 10g

    select * from tab is not working in oracle 10g. But at the same time,
    select * from <<table>> is working.
    Please advise me.

    This works for me in 10.2.0.2
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select * from tab;
    TNAME                          TABTYPE            CLUSTERID
    LOAN_DETAIL                    TABLE
    PLAN_TABLE                     TABLE
    ...

  • Table_From_Block Build-in Package is not working in Oracle 10G

    Hi
    Table_From_Block Build-in Package is not working in Oracle 10G
    Kindly advice..

    user648759 wrote:
    Hi
    Table_From_Block Build-in Package is not working in Oracle 10G
    Kindly advice..Provide a little more information. Forms version OS version, more information about your problem and question.
    --and explain what on earth Table_From_Block* mean's--
    Tony
    PS: TABLE_FORM_BLOCK is a built-in for internal use, usually auto generated by forms. For a moment I didn't get what that meant, need more coffee.
    Edited by: Tony Garabedian on Aug 29, 2008 12:39 PM

  • {@link Object#clone()} , -link does not work!!

    I have a problem with this!!
    Somehow the -link option does not work very well.
    I have ensured that I did correctly set my command option -link to
    -link http://java.sun.com/j2se/1.4.1/docs/api
    I have already imported java.lang.Object at the top of my source code.
    When I tried to use {@link Object#clone()}, it doesnt work at all.
    I have also tried all sorts of names like fully qualified ones and such.
    The hyperlinks do not appear ( i.e. they just appear as plain text but not hyperlinks!!) I realise the ONLY way I can get it to point to the correct link is
    {@link <a href = "http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#clone()">clone()</a>}
    which is very lame.
    I want to be able to write doc @tags such that I do not have to specify the full complete http address.
    Anyone can help ? Thank you very much!!
    P/S: I know this is a bug in 1.2.2 javadoc but I suppose this bug would have been fixed by now....
    Regards
    David

    I would upgrade to 1.4.2. That should fix the problem.
    -Jamie Ho

  • Headstart forms - down key does not work in Oracle Forms 11g

    Just moved forms from 10g to 11g.
    But when run the down key does not work. The .res file looks OK.
    I have included the hst65.jar in the search path for jar-files in formsweb.cfg.
    Anybody had this isssue?

    It was an erroneous .res-file! So problem solved. :-)

  • Ctrl+Z fuctianlity is not working in oracle 10g Form

    Hi
    I am using oracle 10g form and using
    Edit_TextItem to invoke Text Editor
    When i using CTRL+Z to undo things in editor it is not working but it works when i used Form6i.
    Please help me to solve this issue. i need to this functinality to be work.
    BR,
    SPS

    This works for me in 10.2.0.2
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select * from tab;
    TNAME                          TABTYPE            CLUSTERID
    LOAN_DETAIL                    TABLE
    PLAN_TABLE                     TABLE
    ...

  • Insert SQL does not work properly when called using CALL

    I have a stored procedure (TEST_SP) which is used to insert a record in this perticular case. The SQL statement is 2526 characters long. I'm using
    dim Params : Params=chr(1) & "Insert query" & Chr(1) & "=300"
    runsql=&"{call TEST_SP(?,?)}"&Params 
    dim db : db=dbSelect("",0,"","")
    dbExecSQL db,runsqlto execute the stored procedure. I'm facing an issue when the 2000th character on the insert SQL (pUPDSQL) is a single quote, where the SQL is not getting executed (i.e. record is not getting created).
    The same stored procedure and the same SQL when run as below
    runsql=runsql&"DECLARE "
    runsql=runsql&"PUPDSQL VARCHAR2(4000); "
    runsql=runsql&"PRES VARCHAR2(300); "
    runsql=runsql&"BEGIN "
    runsql=runsql&"PUPDSQL := 'INSERT query..."
    runsql=runsql&"PRES:=300; "
    runsql=runsql&"MRT_LKIDFULUP(PUPDSQL => PUPDSQL,PRES => PRES); "
    runsql=runsql&"END; "
    dim db : db=dbSelect("",0,"","")
    dbExecSQL db,runsqlis working fine. Does anyone know if there is a limitaion in ODBC Call function or any explanation to above behaviour? I'm connecting to a Oracle 11g database using Microsoft ODBC for Oracle driver on Window 7
    The stored procedures:
    create or replace procedure TEST_SP(pUPDSQL IN VARCHAR2,pRES OUT VARCHAR2)
    AS
    BEGIN
    DECLARE
      emsg VARCHAR2(100);
    BEGIN
    if pUPDSQL&lt;&gt;'-1' then
      emsg:='Cant exec UPDATE';
      EXECUTE IMMEDIATE pUPDSQL;
        if SQL%RowCount=0 then
        pRES:='ERR:No row updated';
        return;
      end if;
    end if;
    pRES:='OK:';
    EXCEPTION
      WHEN OTHERS THEN
       pRES:='ERR:' || emsg;
    END;
    END;Edited by: BluShadow on 11-Dec-2012 15:47
    added {noformat}{noformat} tags for readability.  Please read {message:id=9360002} and learn to do this yourself in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    ... I'm facing an issue when the 2000th character on the insert SQL (pUPDSQL) is a single quote, ...Perhaps you need two single quotes? like:
    runsql=runsql&"PUPDSQL := 'INSERT query...Values(..,..,,,''This value in two single quotes'',..,...)' "
    ... I'm connecting to a Oracle 11g database using Microsoft ODBC ...Dump windoze ODBC and better use the Oracle client ODBC.
    :p

  • Linux script call from PL/SQL does not work?

    We are trying to run a simple Linux command using this PL/SQL 10.2 procedure:
    PROCEDURE run_linux_script_from_oracle IS
        BEGIN
          dbms_scheduler.create_job
              job_name=>'runtop',
              job_type=>'executable',
              job_action=>'/vol0/FileLoadDir/Bank/DATA_FILES/spell_check.sh',
              enabled=>true,
              auto_drop=>true
          DBMS_OUTPUT.PUT_LINE('Successful');
        EXCEPTION
          WHEN OTHERS THEN
            DBMS_OUTPUT.PUT_LINE('Error: ' || SQLERRM);
        END;The .sh file has this command which works fine when we run in Linux.
    spell /vol0/FileLoadDir/Bank/DATA_FILES/ebill2.fmt_form_strings_.txt > /vol0/FileLoadDir/Bank/DATA_FILES/abcd.txtI get a Successful when I run this command in my SQL*Navigator and a PLS-00225: subprogram or cursor 'ABS' reference is out of scope when I run it in the SQL*Nav in another machine???
    Any help would be greatly appreciated.

    Channa wrote:
    We are trying to run a simple Linux command using this PL/SQL 10.2 procedure:NO, posted procedure below RUNS nothing,
    post code simply CREATE JOB, but does NOT invoke it!
    >
    PROCEDURE run_linux_script_from_oracle IS
    BEGIN
    dbms_scheduler.create_job
    job_name=>'runtop',
    job_type=>'executable',
    job_action=>'/vol0/FileLoadDir/Bank/DATA_FILES/spell_check.sh',
    enabled=>true,
    auto_drop=>true
    DBMS_OUTPUT.PUT_LINE('Successful');
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('Error: ' || SQLERRM);
    END;EXCEPTION handler is BUG & should be removed, discarded & 100% eliminated.
    >
    The .sh file has this command which works fine when we run in Linux.
    spell /vol0/FileLoadDir/Bank/DATA_FILES/ebill2.fmt_form_strings_.txt > /vol0/FileLoadDir/Bank/DATA_FILES/abcd.txtI get a Successful when I run this command in my SQL*Navigator and a PLS-00225: subprogram or cursor 'ABS' reference is out of scope when I run it in the SQL*Nav in another machine???What is "ABS" & why/how does it exist in error message?

  • Pasword Manger does not work with IE8 64-bit edition

    Recently I upgraded my IE7 to IE8 and decided to try 64-bit version. Everything works perfectly except Pasword Manager which does not supply paswords for logins anymore. Has anybody ecnountered this problem and found a solution?
    ThinkPad T500 2242-CTO P8600 / 4GB RAM / WSXGA+ / HDD Fujitsu 7200rpm 1TB / 6 Cell Sony / Windows 8 Pro 64-bit
    ThinkPad Tablet 2
    ThinkPad X61s 7669-3KG Windows 7 Home Premium 32-bit

    This may solve your problem - It solved mine. 
    In the latest update for iTunes and QuickTime Player,  For some reason the QuickTime update isn't completing and there's no error message warning that it's not initialized.  The solution:
    1) Reboot your PC.
    2) Launch QuickTime (If windows says that it is configuring QuickTime then this is most likely the culprit).
    3) When QuickTime opens successfully , then launch iTunes and it should launch successfully this time.
    The other thing I did was to rename my iTunes library before step 3 and let iTunes create a new library.  Then, when iTunes launched successfully, I shut it down - renamed the new library iTunesNew and renamed the original library iTunes. (I'm not sure this step is necessary since the root problem was the incomplete installation of QuickTime during the program update.)

  • SQL file not working in Oracle

    I cannot get all my tables to work in Oracle, can anyone see where i'm going wrong?
    CREATE TABLE Property
    (Property_Num CHAR (4) PRIMARY KEY,
    Property_Address CHAR (25),
    Property_City CHAR (15),
    Property_State CHAR (2),
    Property_Zip CHAR (5),
    Property_Price DECIMAL (15,2),
    Property_Type CHAR (15));
    CREATE TABLE Owner
    (Owner_Num CHAR (3) PRIMARY KEY,
    Property_Num CHAR (4),
    Owner_Name CHAR (15),
    Owner_Telephone CHAR (15));
    CREATE TABLE Inspection
    (Inspection_Code CHAR (4) PRIMARY KEY,
    Inspection_Type CHAR (20),
    Inspection_Description CHAR (30),
    Owner_Num CHAR (3),
    Inspection_Date DATE (15));
    CREATE TABLE Realtor
    (Realtor_Num CHAR (2) PRIMARY KEY,
    Inspection_Code CHAR (4),
    Realtor_Name CHAR (30),
    Realtor_Telephone CHAR (15));
    INSERT INTO Property
    VALUES ('0001', '245 Benner St', 'Philadelphia', 'PA', '19111', '152.000.00', 'Townhome');
    INSERT INTO Property
    VALUES ('0002', '327 Silver Ave', 'Willow Grove', 'PA', '19090', '260.000.00', 'Duplex');     
    INSERT INTO Property
    VALUES ('0003', '9243 Treaty Rd', 'Philadelphia', 'PA', '19114', '190.000.00', 'Single Family');
    INSERT INTO Property
    VALUES ('0004', '225 Chestnut St', 'Philadelphia', 'PA', '19103', '245.000.00', 'Condo');
    INSERT INTO Property
    VALUES ('0005', '511 Franklin Ave', 'Cherry Hill', 'NJ', '08002', '225.000.00'', 'Single Family');
    INSERT INTO Owner
    VALUES ('101', '0001', 'John Smith', '267-333-4667');
    INSERT INTO Owner
    VALUES ('102', '0002', 'Joe Taylor', '215-657-2200');
    INSERT INTO Owner
    VALUES ('103', '0003', 'Debra Jones', '215-745-9087');
    INSERT INTO Owner
    VALUES ('104', '0004', 'Frank Martin', '267-457-9300');
    INSERT INTO Owner
    VALUES ('105', '0005', 'Drew Hunt', '856-908-3200');
    INSERT INTO Inspection
    VALUES ('1001', 'Pre-Listing Check', 'Passed all eight tests', '101', '2/16/10');
    INSERT INTO Inspection
    VALUES ('1002', 'Walk-In', 'Property up to date on requirements', '102', '3/11/10');
    INSERT INTO Inspection
    VALUES ('1003', 'Appointment', 'All checks upo to date', '103', '1/15/10');
    INSERT INTO Inspection
    VALUES ('1004', 'General Check', 'Property is in good shape to sell', '104', '3/14/10');
    INSERT INTO Inspection
    VALUES ('1005', 'Request', 'Everything requested is up to date', '105', '2/22/10');
    INSERT INTO Realtor
    VALUES ('01', '1001', 'Tim Simpson', '267-543-2267');
    INSERT INTO Realtor
    VALUES ('02', '1002', 'Bill Bradley', '215-754-2330');
    INSERT INTO Realtor
    VALUES ('03', '1003', 'Phil Harris', '215-742-6687');
    INSERT INTO Realtor
    VALUES ('04', '1004', 'Sam Brown', '267-277-5500');
    INSERT INTO Realtor
    VALUES ('05', '1005', 'April Young', '856-228-3550');

    I changed everything, can someone please check these tables in Oracle. I am in school with no access to Oracle.
    CREATE TABLE Property
    (Property_Num CHAR (4) PRIMARY KEY,
    Property_Address CHAR (25),
    Property_City CHAR (15),
    Property_State CHAR (2),
    Property_Zip CHAR (5),
    Property_Price DECIMAL (15,2),
    Property_Type CHAR (15));
    CREATE TABLE Owner
    (Owner_Num CHAR (3) PRIMARY KEY,
    Property_Num CHAR (4),
    Owner_Name CHAR (15),
    Owner_Telephone CHAR (15));
    CREATE TABLE Inspection
    (Inspection_Code CHAR (4) PRIMARY KEY,
    Inspection_Type CHAR (20),
    Inspection_Description CHAR (40),
    Owner_Num CHAR (3),
    Inspection_Date DATE );
    CREATE TABLE Realtor
    (Realtor_Num CHAR (2) PRIMARY KEY,
    Inspection_Code CHAR (4),
    Realtor_Name CHAR (30),
    Realtor_Telephone CHAR (15));
    INSERT INTO Property
    VALUES ('0001', '245 Benner St', 'Philadelphia', 'PA', '19111', 152.00, 'Townhome');
    INSERT INTO Property
    VALUES ('0002', '327 Silver Ave', 'Willow Grove', 'PA', '19090', 260.00, 'Duplex');
    INSERT INTO Property
    VALUES ('0003', '9243 Treaty Rd', 'Philadelphia', 'PA', '19114', 190.00, 'Single Family');
    INSERT INTO Property
    VALUES ('0004', '225 Chestnut St', 'Philadelphia', 'PA', '19103', 245.00, 'Condo');
    INSERT INTO Property
    VALUES ('0005', '511 Franklin Ave', 'Cherry Hill', 'NJ', '08002', 225.00, 'Single Family');
    INSERT INTO Owner
    VALUES ('101', '0001', 'John Smith', '267-333-4667');
    INSERT INTO Owner
    VALUES ('102', '0002', 'Joe Taylor', '215-657-2200');
    INSERT INTO Owner
    VALUES ('103', '0003', 'Debra Jones', '215-745-9087');
    INSERT INTO Owner
    VALUES ('104', '0004', 'Frank Martin', '267-457-9300');
    INSERT INTO Owner
    VALUES ('105', '0005', 'Drew Hunt', '856-908-3200');
    INSERT INTO Inspection
    VALUES ('1001', 'Pre-Listing Check', 'Passed all eight tests', '101', to_Date('2/16/10','mm/dd/yyyy'));
    INSERT INTO Inspection
    VALUES ('1002', 'Walk-In', 'Property up to date on requirements', '102', to_Date('3/11/10','mm/dd/yyyy'));
    INSERT INTO Inspection
    VALUES ('1003', 'Appointment', 'All checks upo to date', '103', to_Date('1/15/10','mm/dd/yyyy'));
    INSERT INTO Inspection
    VALUES ('1004', 'General Check', 'Property is in good shape to sell', '104', to_date('3/14/10','mm/dd/yyyy'));
    INSERT INTO Inspection
    VALUES ('1005', 'Request', 'Everything requested is up to date', '105', to_date('2/22/10','mm/dd/yyyy'));
    INSERT INTO Realtor
    VALUES ('01', '1001', 'Tim Simpson', '267-543-2267');
    INSERT INTO Realtor
    VALUES ('02', '1002', 'Bill Bradley', '215-754-2330');
    INSERT INTO Realtor
    VALUES ('03', '1003', 'Phil Harris', '215-742-6687');
    INSERT INTO Realtor
    VALUES ('04', '1004', 'Sam Brown', '267-277-5500');
    INSERT INTO Realtor
    VALUES ('05', '1005', 'April Young', '856-228-3550');

  • RH Linux VIP configuration not working for Oracle 10g RAC installation

    Hi all,
    I am trying to setup my test cluster on Oracle 10gR2 and Red Hat Linux 4. I have the public and private networks working fine and setup. However, after I setup the two VIP addresses, I cannot even ping these two virtual IPs from Linux. CRS install fails during initial run because it cannot communicate with the two VIP IP addresses. Can anyone help me out as to how to go about fixing the two VIPs so that Linux can ping them and CRS will install?
    Thanks

    It sounds like you configured your VIP on Linux in advance, before installing Oracle.
    You are not supposed to do that.
    Decide on an IP that the VIP will use with your network manager, but don't configure it in Linux. So before you start the clusterware install, ifconfig should not show your VIP.
    CRS does not need VIP when you install the clusterware, only the interconnect address.
    VIP is configured using a utility called VIPCA. If Clusterware installation fails and you think it was caused by VIP issues, try running VIPCA manually and let us know what were the results.

Maybe you are looking for

  • Financial statement generator & Oracle Reports Manager

    We are moving into Oracle Apps R12.1.3 on Solaris. Most end user machines are Windows 7 & going to be Windows 8. Some are Windows XP. Majority have Microsoft 2007 and some have Microsoft 2010. Financial Statement Generator (FSG) reports are called fr

  • Propsal in F110 not created

    dear all, please help me with a strange error message in F110.  I create a proposal and the system tells me Wrong values for payment method. Do you know where could be the problem. Thank you, Desimira

  • Power Point video captivate?

    Is there a simple way to record audio while I present a power point presentation in Captivate? 

  • Control-d and stopA from PC console

    pls help. having trouble during first install. im plugged into the LOM using hyperterminal on Winblows PC. - how do I issue control-d and/or stop-A the /etc/inittab file is corrupted and need to issue control-d (or know root password) - is there a de

  • OS X Mavericks issue

    If I am using Safari to browse something on the web.  All the sudden my computer will switch to the finder.  Safari is still running in the background, but it is a huge problem!  How do I fix this?