ORA:00205 fro the second database

Thanks to all your suggestions, I finally got it. I tried to run dbca remotely and I think that's why I didn't get the GUI. So I installed a VNC server to view the remote server's desktop . The re I ran dbca ,created a second database successfully.
Now I have a question. How to get connected to the second database without affecting the first one. I typed startup command from sqlplus. It said ORA:00205 --control files not found errror . But I have the correct path of the control files in my
$ORACLE_HOME/dbs/initorcl2.ora (ex: /oracle/product/10.2.0/oradata/orcl2/control01,
/oracle/product/10.2.0/oradata/orcl2/control01,
/oracle/product/10.2.0/oradata/orcl2/control01,
Where doed it look for the control file parameter. In the init.ora file or initorcl2.ora??
Or do I have start the instance first for the second database. How?
Please let me know.
Thanks.

which OS do you use,windows or unix?

Similar Messages

  • SQLException occurs in getConnection to the Second Database

    Hello all!
    I have posted this earlier and apparently no one is able to reply. I need some answers regarding this matter. We are currently doing a project in one of our clients.
    Right now, our team has created second database in our server, we now have two databases, one is in port 1521 and the new one is in port 1526. We need to access our 2nd database named SWITCHDB. Unfortunately, we are encountering the following error in our test program:
    java.sql.SQLException: No more data to read from socket
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.sql.SQLException.<init>(SQLException.java:43)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java)
    at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(Compiled Code)
    at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java)
    at oracle.jdbc.ttc7.TTIpro.receive(TTIpro.java)
    at oracle.jdbc.ttc7.v8TTIpro.receive(v8TTIpro.java)
    at oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)
    at com.weserv.ibo.reports.TestSwitch.setConnection(TestSmsDb.java:40)
    at com.weserv.ibo.reports.TestSwitchDb.main(TestSmsDb.java:122)
    The error occurs in the following lines:
    Connection connection = DriverManager.getConnection(DATABASE, USERNAME, PASSWORD);
    where:
    DATABASE = jdbc:oracle:thin:@Victoria:1526:SWITCHDB
    USERNAME = switch
    PASSWORD = switch
    DRIVER = oracle.jdbc.driver.OracleDriver
    We searched through this forum as well and we followed the advice to get the latest classes111.zip and put it in our classpath. Unfortunately, the error remains the same. Even if we changed our classes111.zip to classes12.zip, still the error is the same. =(
    We are using Oracle 8i and Sun Solaris. We don't have any idea right now on how to go through this scenario. We could still connect to the first database and have the usual transactions without encountering any errors, but not when we connect in the second database. How is that? Are we missing some things?
    Please feel free to reply. I would really appreciate it to state your views and advices.
    Thanks you so much.
    Regards,
    Ronron

    I make multiple database connections all the time with this code, perhaps you can try it. If it still does'nt work then perhaps your second database is not configured properly. In that case, compare the two databases for differences:
    try
    Connection conn = null;
    String host= "serverip:1526"; //server ip address : portnumber
    String sid = "SWITCHDB"; //use the db's SID
    String user = "Victoria";
    String pwd = "VicsPassword";
    //Register driver, make sure you have installed correct drivers.
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    //Get thin connection
    String thin = "jdbc:oracle:thin:@" + host + ":" + sid;
    conn = DriverManager.getConnection(thin,user,pwd);
    catch(SQLException se)
    se.printStackTrace();

  • How configure a primavera web service to return data from the second database?

    Hi everyone,
    We have P6 with first WS deployed on a single server weblogic domain. The first WS return data from the first database instance.
    Then deployed advanced second WS on a separate weblogic domain server with a different port. Configured second WS with <WS2_INSTALL_HOME>/bin/dbconfig.sh, creating a new branch of a configuration that specifies a different second instance of the database. However, this configuration is ignored and second web services return data from the first database.
    We have one domain, which including next servers:
    Name / Host / Port / Deployments
    P6 / localhost / 0001 / P6(v8.3), p6ws1(v8.3)
    p6ws2 / localhost / 0002 / p6ws2(v8.3)
    Now we have two different file BREBootstrap.xml.
    P6 BREBootstrap.xml:
    <Database>
    <URL>jdbc:oracle:thin:@db1:1521:db1</URL>
    <UserName>pubuser</UserName>
    <Password>anycriptopass1</Password>
    <Driver>oracle.jdbc.OracleDriver</Driver>
    <PublicGroupId>1</PublicGroupId>
    </Database>
    <CfgVersion>8.330</CfgVersion>
    <Configurations>
    <BRE name="P6 Config_DB1" instances="1" logDir="anydir/P6EPPM/p6/PrimaveraLogs"/>
    </Configurations>
    p6ws2 BREBootstrap.xml:
    <Database>
    <URL>jdbc:oracle:thin:@db2:1521:db2</URL>
    <UserName>pubuser</UserName>
    <Password>anycriptopass2</Password>
    <Driver>oracle.jdbc.OracleDriver</Driver>
    <PublicGroupId>1</PublicGroupId>
    </Database>
    <CfgVersion>8.330</CfgVersion>
    <Configurations>
    <BRE name="P6 Config_DB2" instances="1" logDir="anydir/P6EPPM/ws2/PrimaveraLogs"/>
    </Configurations>
    ‘P6 Config_DB1’ and ‘P6 Config_DB2’ including Database property for 1 and 2 database respectively.
    How to configure a second web service to return data from the second database?
    Thanks in advance!
    Regards,
    Dmitry

    OK, so I got this to work this morning with Username Token Profile (with little help from Oracle Support).
    I followed your steps 1-4 but in step 2 I didn't add the -Ddatabase.instance=2 because I want to check to see if my code could swap between different instances.
    It appears for Username Token Profile to use Database Instance, you need to set it in the soap header.
    So my soap request looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
        <s:Header>
            <DatabaseInstanceId xmlns="http://xmlns.oracle.com/Primavera/P6/WS/Authentication/V1">2</DatabaseInstanceId>
            <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                <u:Timestamp xmlns:u='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' u:Id='uuid-327b6ed1-b26d-4a61-81d5-e326174c1961-3'>
                    <u:Created>2014-10-23T04:28:01.152Z</u:Created>
                    <u:Expires>2014-10-23T04:29:01.152Z</u:Expires>
                </u:Timestamp>
                <o:UsernameToken u:Id='uuid-327b6ed1-b26d-4a61-81d5-e326174c1961-3' xmlns:u='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'>
                    <o:Username>admin</o:Username>
                    <o:Password Type='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText'>password</o:Password>
                    <o:Nonce EncodingType='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary'>vJBQhCc28bAeszej7gOaiC2tVCQ=</o:Nonce>
                    <u:Created>2014-10-23T04:28:01.152Z</u:Created>
                </o:UsernameToken>
            </o:Security>
        </s:Header>
        <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <ReadProjects xmlns="http://xmlns.oracle.com/Primavera/P6/WS/Project/V2">
                <Field>ObjectId</Field>
                <Field>Id</Field>
                <Field>Name</Field>
                <Field>Status</Field>
                <Field>StartDate</Field>
                <Field>FinishDate</Field>
                <Field>DataDate</Field>
                <Filter>Id = 'EC00515'</Filter>
            </ReadProjects>
        </s:Body>
    </s:Envelope>
    This request pulled the project from the second instance.
    V/r,
    Gene

  • Ora-12154 after creation of second database

    DB 10g ver 10.1.0.2.0
    OS Windows server 2003 32bit +sp1
    Summary:
    Due to the addition of extra storage to the server I decided to rebuild from scratch, and all was working correctly until I came to create a second database on the server, once this is created I get ORA-12154 errors at logon for both databases.
    Full:
    Installation of Windows and Oracle are fine, creation of the first database also works correctly and connection is without problems e.g sqlplus user/pass@database1 allows me to logon.
    On creation of the second database the same command: sqlplus user/pass@database1 or sqlplus user/pass@database2 gives me an ORA-12154 error.
    If in the command prompt window I set ORACLE_SID=database1 then try sqlplus user/pass it connects without problems, the same for database2, although sqlplus user/pass@database1 still fails.
    I have checked tnsnames.ora, all looks fine, I used the net configuration assistant to generate the entries and used the connection test to verfiy all was ok, both connection tests worked fine.
    I can tnsping both database1 and database2 and lsnrctl status shows
    Service "database1" has 1 instance(s).
    Instance "database1", status READY, has 1 handler(s) for this service...
    Service "database1XDB" has 1 instance(s).
    Instance "database1", status READY, has 1 handler(s) for this service...
    Service "database2" has 1 instance(s).
    Instance "database2", status READY, has 1 handler(s) for this service...
    Service "database2XDB" has 1 instance(s).
    Instance "database2", status READY, has 1 handler(s) for this service...
    I have searched through back posts and the web and as yet have not been able to find how to resolve this. Any pointers or ideas as to why I cannot use the sqlplus user/pass@database to connect?
    TIA
    Will
    .

    Hi,
    Thanks for the quick reply, I created the listener using the net configuration assistant, I assumed this would add all necessary configuration entries?
    I have added an extra section as suggested to the listener.ora, it now reads
    # listener.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
         (GLOBAL_DBNAME = dm)
         (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
         (SID_NAME = dm)
        (SID_DESC =
         (GLOBAL_DBNAME = medline)
         (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
         (SID_NAME = medline)
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = well-mccarthy02)(PORT = 1521))
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
      )Is this correct, I have bounced the listener and still get ora-12154 errors on connection.
    running lsnrctl services gives:
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 21-FEB-2006 13:28
    :10
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=well-mccarthy02)(PORT=15
    21)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "dm" has 2 instance(s).
      Instance "dm", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:1 refused:0
             LOCAL SERVER
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "dmXDB" has 1 instance(s).
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 1680>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1505))
    Service "medline" has 2 instance(s).
      Instance "medline", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:1 refused:0 state:ready
             LOCAL SERVER
    Service "medlineXDB" has 1 instance(s).
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 2804>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1677))
    The command completed successfullywith the original listener.ora file lsnrctl services gave
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 21-FEB-2006 13:36
    :13
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=well-mccarthy02)(PORT=15
    21)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "dm" has 1 instance(s).
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "dmXDB" has 1 instance(s).
      Instance "dm", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 1680>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1505))
    Service "medline" has 1 instance(s).
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "medlineXDB" has 1 instance(s).
      Instance "medline", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER <machine: WELL-MCCARTHY02, pid: 2804>
             (ADDRESS=(PROTOCOL=tcp)(HOST=well-mccarthy02)(PORT=1677))
    The command completed successfully

  • Tnsnames issue with second database

    hi,
    I have a tnsnames.ora file which has an entry for a particular database in a recovery catalog. the database is a production database. I have cloned this database onto a new server with the same name. I now need to add this into the recovery catalog. Can I have two entries in the tnsnames.ora files with the same entries? If not is it possible to create an 'alias' for the second database
    thanks

    tnsnames is just an entry to look for database in server, so as long as your servers are different, the db names can be same and can be configured with different tns entry for the two servers.

  • Getting error while starting my second database

    Hi to all,
    I have a problem of getting start of Enterprise manager of my second database:-
    I create another database on same machine & after creation i restart my laptop & start listener & dbconsole but after this i am not able to login in Enterprise Manager of my second database whose url is:
    http://localhost.localdoamin:5500/em.
    I am able to connect my first database through Enterprise managaer.But when i try to connect my second database it show me error:-
    error:-”*CANNOT ESTABLISH THE CONNECTION WITH LOCALHOST.LOCALDOMAIN”*
    I am using Linux operating system
    I donot understand what is the problem.
    Please help me.

    I have a problem of getting start of Enterprise manager of my second database:-
    I create another database on same machine & after creation i restart my laptop & start listener & dbconsole but after this i am not able to login in Enterprise Manager of my second database whose url is:
    http://localhost.localdoamin:5500/em.
    I am able to connect my first database through Enterprise managaer.But when i try to connect my second database it show me error:-
    error:-”*CANNOT ESTABLISH THE CONNECTION WITH LOCALHOST.LOCALDOMAIN”*
    I am using Linux operating system
    I donot understand what is the problem.Your subject line is not correct. It should be "Unable to open OEM for second database". Any way post the status the second database's OEM status. Post the output of following command, please copy paste the exact command you fired.
    $export ORACLE_SID=<second SID>
    $emctl status dbconsole
    Regards.

  • Internet explorer Enterprise Manager connectivity on the 2nd database

    I am using oracle 10g release 2 on Linux red hat.
    I just created using DBCA utility another database on the same oracle instance. When i try to connect using Internet exploere Oracle enterprise manager it goes to the connectivity of the 1st database. I am using
    http://<IP address>:1158/em/console
    How can i get the connectivity for the new database?

    You need to make sure the EM dbconsole is running for the second database. On your Linux host do the following:
    export ORACLE_SID=<second db SID>
    emctl status dbconsole -- to see if it is running
    emctl start dbconsole -- to star the dbconsole
    The output will give the proper URL to connect to the EM console.

  • Problem in accessing second database instance on same host (ORA-12514)

    Hi,
    I had a database ICMDB installed on my machine. After that i created a second database instance (Service name: BI_APPS) using DBCA on the same machine. Using NETCA i also created a new listener OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER on port 1522 on my machine. Then i configured this listener to listen for connections to service BI_APPS by adding the following to my tnsnames.ora:
    BI_APPS_LISTENER =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    Then i changed the port in my tns entry for BI_APPS to 1522 as follows:
    BI_APPS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = BI_APPS)
    I then restarted the following services:
    OracleOraDb11g_home1TNSListener
    OracleServiceBIAPPS
    OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER
    After this, when i try to access my first DB ICMDB via toad, the connection is successful. However, when i try to access the service BI_APPS i get the following error:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    What am i doing wrong? Here is the content of my files:
    TNSNAMES.ORA
    # tnsnames.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    BI_APPS_LISTENER =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    BI_APPS =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = BI_APPS)
    LISTENER_ICMDB =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    ICMDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = icmdb)
    SQLNET.ORA
    # sqlnet.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    LISTENER.ORA
    # listener.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    BI_APPS_LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    ADR_BASE_BI_APPS_LISTENER = D:\app\Oracle
    SID_LIST_BI_APPS_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = D:\app\Oracle\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:D:\app\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    Here is output of lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-DEC-2013 16:17:01
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                12-DEC-2013 10:34:35
    Uptime                    0 days 5 hr. 42 min. 26 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         d:\app\oracle\diag\tnslsnr\ICMDEVDB\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ICMDEVDB)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.109)(PORT=1521)))
    Services Summary...
    Service "BIAPPSXDB" has 1 instance(s).
      Instance "biapps", status READY, has 1 handler(s) for this service...
    Service "BI_APPS" has 1 instance(s).
      Instance "biapps", status READY, has 1 handler(s) for this service...
    Service "icmdb" has 1 instance(s).
      Instance "icmdb", status READY, has 1 handler(s) for this service...
    Service "icmdbXDB" has 1 instance(s).
      Instance "icmdb", status READY, has 1 handler(s) for this service...
    The command completed successfully

    Jimit wrote:
    Hi Ed,
    I understand your point, however whenever i have tried to use the same listener to access my second instance, this is the error i have always received:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    That does not indicate you need a second listener.
    And, after deleting the listener.ora file ,if i try the the command lsnrctl start, i get the error:
    ORA-12560: TNS:protocol adapter error
    Hence i restored the files. What do i do?
    I've never experienced a 12560 trying to start a listener.  I'll need to see if I can create a test system on Windows and try to recreate.  Will be a good subject for my blog, that has been too long with no new content.
    Since this is windows, I'd first check that the Windows service for the listenr is started.
    Whatever, multiple listeners is NOT the solution.

  • ISSUE Sharepoint 2013 databases for reporting services on the second server SQL 2012

    Hello,
    I have server A: Operating system windows 2012 standard, SQL server 2012 standard
    instance: Sharepoint contains data for sharepint
    instance: Reporting should be contain databases for reporting
    Server B:
    Windows server 2012 standard contains installation Sharepoint 2013
    Sharepoint works (without reporting services), it is OK - databases are located on server A:
    My issue is:
    When I have installed reporting services on server B, I have already installed SQL server 2012 on server B, it works.
    I am able to create report in report builder adn place it in to sharepoint.
    But I would like to use only one full SQL machine on server A:
    When I reconfigure repoting settings on server A in central administration - manage service aplications,
    On the SQL server A in instance reporting , there is automatically created databases. It is no problem.
    But the first difference is, when I want to manage service aplication for reporting  in
    Provision Subscriptions and Alerts, there is information
    SQL Server Agent state cannot be determined
    When I want to create report in report builder, I have issue:
    server A-7380mw016\reporting it means server A with full SQL server:
    The Test of connection was successful
    Then I have clicked test connection
    I have recieved this screen with fail: Logon faild for user NT Authority\anonymous logon
    My account belongs to SQL admin on server A (A-7380mw016\reporting) I do not know it is not possible to create report, when it is possible to test connection in the first step and in the second step, there is problem...
    Please, can somebody help me?

    Hi,
    Since you are getting an Anonymous Logon error, it appears there may be a problem passing your credentials to the SQL Server Agent Service. This would indicate a Kerberos issue. See this thread for details:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/46b7c773-6a77-435d-b471-cb9a6ec41c43/has-anyone-else-upgraded-reporting-services-to-denali-2012
    Microsoft Virtual Academy: Breakthrough Insights using SQL Server 2012 : Analysis Services and Credible, Consistent data (Module 2) - Configuring and Securing Complex BI Applications in a SharePoint 2010 Environment with Microsoft SQL Server 2012
    http://technet.microsoft.com/en-us/video/Video/hh858469
    Tips from the video:
    We are connecting to Reporting services using Kerberos when using Reporting Services in SharePoint integrated mode
    For the account using reporting services, we just need a dummy SPN. We go to Attribute editor tab in AD for RS account. And then we will be enabled with Delegation tab.
    In Delegation tab. I we are using claims to windows token, we need to use "Trust this user for delegation to specified services only"
    There you have 2 options: "Use Kerberos only": It means I only want to delegate in the situation where the service that is doing the delegation actually has the Kerberos ticket to start with
    "Use any authentication protocol" When we need protocol transition (like from NTLM to claims for intra farm communication)
    We need to delegate this to SQL server.
    Please check out these articles as well:
    How to configure SQL Reporting Services in SharePoint Server for Kerberos authentication
    http://support.microsoft.com/kb/2723587
    Configure Kerberos authentication (Office SharePoint Server)
    http://blogs.technet.com/b/mbiswas/archive/2009/07/10/configure-kerberos-authentication-office-sharepoint-server.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • ORA-00205: error in identifying control file while startup database

    Dear Experts,
    we are using Oracle 10g on RHEL5.4 64Bit ecc 6.0 with eph 4 i have moved all my sap data files along with Temp file.
    when i startup my database getting error.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 535662592 bytes
    Fixed Size 1334380 bytes
    Variable Size 306185108 bytes
    Database Buffers 222298112 bytes
    Redo Buffers 5844992 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    when i checked initSID.ora then found old location of control file.
    1)/oracle/SID/sapdata1/cntrl
    2)/oracle/SID/origlogA/cntrl
    3)/oracle/SID/origlogB/cntrl
    i have manually changed location of control file.
    1)/oracle/SID/sapdata10/cntrl
    2)/oracle/SID/origlogA/cntrl
    3)/oracle/SID/origlogB/cntrl
    SQL> Create Pfile from Spfile;
    File Created.
    i would like to mount my database from Pfile plese help me i execute scripts below.
    SQL> STARTUP MOUNT=/oracle/SID/ORACLE_HOME/dbs/initSID.ora
    invalid startup option.
    or suggest me some other way so that i can startup my Database.
    with Regards

    Thanks,LOG of alert_SID.log  control_files            = /oracle/PRD/origlogA/cntrl/cntrlPRD.dbf, /oracle/PRD/origlogB/cntrl/cntrlPRD.dbf, /oracle/PRD/sapdata1/cntrl/cntrlPRD.dbf, control_file_record_keep_time= 30, Mon Nov 14 08:24:52 2011
    CREATE DATABASE PRD CONTROLFILE REUSE  MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/PRD/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/PRD/sapdata1/temp_1/temp.data1' SIZE 570M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/PRD/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/PRD/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    LOGFILE GROUP 1 ('/oracle/PRD/origlogA/log_g11m1.dbf',
    '/oracle/PRD/mirrlogA/log_g11m2.dbf') SIZE 50M  REUSE ,GROUP 2 ('/oracle/PRD/origlogB/log_g12m1.dbf',
    '/oracle/PRD/mirrlogB/log_g12m2.dbf') SIZE 50M  REUSE ,GROUP 3 ('/oracle/PRD/origlogA/log_g13m1.dbf',
    '/oracle/PRD/mirrlogA/log_g13m2.dbf') SIZE 50M  REUSE ,GROUP 4 ('/oracle/PRD/origlogB/log_g14m1.dbf',
    '/oracle/PRD/mirrlogB/log_g14m2.dbf') SIZE 50M  REUSEMon Nov 14 08:24:53 2011Database mounted in Exclusive Mode
    Mon Nov 14 08:25:06 2011Successful mount of redo thread 1, with mount id 1830841300
    Assigning activation ID 1830841300 (0x6d206bd4) Thread 1 opened at log sequence 1
    Current log# 1 seq# 1 mem# 0: /oracle/PRD/origlogA/log_g11m1.dbf
      Current log# 1 seq# 1 mem# 1: /oracle/PRD/mirrlogA/log_g11m2.dbf,m Successful open of redo thread 1
    Mon Nov 14 08:25:06 2011 MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Mon Nov 14 08:25:06 2011 SMON: enabling cache recovery
    Mon Nov 14 08:25:06 2011
    create tablespace SYSTEM datafile  '/oracle/PRD/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
      EXTENT MANAGEMENT LOCAL online
    Mon Nov 14 08:25:09 2011
    Incremental checkpoint up to RBA [0x1.3.0], current log tail at RBA [0x1.3.0]
    Mon Nov 14 08:25:15 2011
    Completed: create tablespace SYSTEM datafile  '/oracle/PRD/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
      EXTENT MANAGEMENT LOCAL online
    Mon Nov 14 08:25:15 2011
    create rollback segment SYSTEM tablespace SYSTEM
      storage (initial 50K next 50K)
    Completed: create rollback segment SYSTEM tablespace SYSTEM
      storage (initial 50K next 50K)
    Mon Nov 14 08:25:19 2011
    CREATE UNDO TABLESPACE PSAPUNDO DATAFILE  '/oracle/PRD/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    Mon Nov 14 08:25:36 2011
    Successfully onlined Undo Tablespace 1.
    Completed: CREATE UNDO TABLESPACE PSAPUNDO DATAFILE  '/oracle/PRD/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
    Mon Nov 14 08:25:36 2011
    create tablespace SYSAUX datafile  '/oracle/PRD/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
      EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO online
    Completed: create tablespace SYSAUX datafile  '/oracle/PRD/sapdata1/sysaux_1/sysaux.data1' SIZE 200M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
      EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO online

  • DUPLICATE DB : ORA-17629: Cannot connect to the remote database server

    [oracle@ora11g1 ~]$ export ORACLE_SID=sales
    [oracle@ora11g1 ~]$ rman target sys/sales@sales
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jun 5 13:00:15 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: SALES (DBID=690066655)
    RMAN> connect auxiliary sys/salestby2@salestby2
    connected to auxiliary database: SALES (not mounted)
    RMAN> DUPLICATE TARGET DATABASE FOR STANDBY FROM ACTIVE DATABASE SPFILE
    2> SET DB_NAME= 'sales'
    3> SET DB_UNIQUE_NAME= 'salestby2'
    4> SET control_files='/u02/oradata/salestby2/control01.ctl','/u02/oradata/salestby2/control02.ctl'
    5> SET DB_FILE_NAME_CONVERT='/u02/oradata/sales/','/u02/oradata/salestby2/'
    6> SET LOG_FILE_NAME_CONVERT='/u02/oradata/sales/','/u02/oradata/salestby2/';
    Starting Duplicate Db at 05-JUN-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=20 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsales' auxiliary format
    '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/orapwsalestby2' targetfile
    '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesales.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/dbhome_1/dbs/spfilesalestby2.ora''";
    executing Memory Script
    Starting backup at 05-JUN-13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=58 device type=DISK
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/05/2013 13:05:26
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server
    continuing other job steps, job failed will not be re-run
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/05/2013 13:05:27
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/05/2013 13:05:27
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server

    Welcome to the oracle forums!
    Please take some time to go through [url https://forums.oracle.com/forums/ann.jspa?annID=1535]FAQ PAGE
    Always post 4 digit oracle version and OS details.
    Post any query out put between \  \ tags
    Mark your questions as answered if you get the answer
    Password of SYS user on primary and standby must be same.Copy the password file from primary to standby server
    scp $ORACLE_HOME/dbs/orapwv112 <oracle_user@auxiliary_host>:/u01/app/oracle/product/11.2/dbs/orapwdupv112

  • Can't mount 9.2.0.1.0 database due to ORA-00205

    I'm having problems starting up our database and need help soon, please :-)
    I start up the listener and log into sqlplus. When I run the STARTUP command, I get the following output.
    ORACLE instance started.
    Total System Global Area 235999352 bytes
    Fixed Size 450680 bytes
    Variable Size 201326592 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 667648 bytes
    ORA-00204: error in reading (block 3, # blocks 1) of controlfile
    ORA-00202: controlfile: '/home/gditech/OraHome1/oradata/GDI/control01.ctl'
    ORA-27091: skgfqio: unable to queue I/O
    ORA-27072: skgfdisp: I/O error
    Linux Error: 5: Input/output error
    Additional information: 3
    The alert file ends with the following lines:
    Mon Aug 2 15:24:48 2004
    ALTER DATABASE MOUNT
    Mon Aug 2 15:24:49 2004
    Errors in file /home/gditech/OraHome1/admin/GDI/udump/gdi_ora_17873.trc:
    ORA-00202: controlfile: '/home/gditech/OraHome1/oradata/GDI/control01.ctl'
    ORA-27091: skgfqio: unable to queue I/O
    ORA-27072: skgfdisp: I/O error
    Linux Error: 5: Input/output error
    Additional information: 3
    Mon Aug 2 15:24:51 2004
    ORA-204 signalled during: ALTER DATABASE MOUNT...
    I have verified that all 3 control files are there (and they're all the same size, too.)
    Can someone tell me what I'm doing wrong?
    Thanks,
    Michael

    You may want to further analyze this problem, if it is due to disk failure
    # oerr ora 204
    00204, 00000, "error in reading (block %s, # blocks %s) of controlfile"
    // *Cause:  A disk I/O failure was detected on reading the controlfile.
    // *Action: Check if the disk is online, if it is not, bring it online and try
    //          a warm start again.  If it is online, then you need to recover
    //          the disk.bring it online is a kind of expression for saying be sure your disk is accessible, "mount" it. It has nothing to do with Oracle "online" controlfile/instance/tablespace/redolog etc...
    you can use the "dbv" utility to check your other datafiles for block corruption
    Kind regards
    Laurent Schneider
    OCM DBA

  • ORA-00205: error in identifying controlfile, check alert log for more info

    Hello All,
    I am performing my first Collab Suite install in quite some time and I have successfully installed Collaboration Suite on Linux Red Hat AS 4. I first performed an infrastructure installation for the Collab Suite database which completed with no errors, however, it appears that no control files were created in my $ORACLE_HOME/dbs directory during installation. I am also unable to specify their exact location in the initSID.ora file as I am unable to find them in any other directory on my server. The database starts despite the control file error, as you can see from the second SQL*Plus prompt. However, I am unsure how to create the control files or correct this error. Any assistance would be greatly appreciated!
    SQL*Plus: Release 10.1.0.4.2 - Production on Wed Mar 21 09:51:49 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect SYS as SYSDBA
    Enter password:
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 100663296 bytes
    Fixed Size 778024 bytes
    Variable Size 99623128 bytes
    Database Buffers 0 bytes
    Redo Buffers 262144 bytes
    ORA-00205: error in identifying controlfile, check alert log for more info
    ======================================================================
    SQL*Plus: Release 10.1.0.4.2 - Production on Wed Mar 21 11:18:57 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect SYS as SYSDBA
    Enter password:
    Connected.
    SQL> startup nomount
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Production
    With the Partitioning, OLAP and Data Mining options

    Control files are database-specific, since they contain information describing the database (location of data files, etc.) You can't copy them from one database to another.
    Do you have a backup?

  • Post server reboot , instance 1 crashes on starting the second one

    Hi ,
    We had a server reboot ( Solaris SPARC 64 bit) and had to shutdown the application running on RAC system on 2 servers.
    now post the activity , we are trying to bring up the instances but whenever one comes up the other goes down.
    If we try to start the second one , first goes down.
    Oracle database version : 10.2.0.3.0
    Alert logs for both have been mentioned below :
    instance1:
    Mon Jul 23 16:17:22 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
    Interface type 1 bge0 58.2.35.0 configured from OCR for use as  a public interface
    Interface type 1 bge1 58.2.35.0 configured from OCR for use as  a public interface
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
    Autotune of undo retention is turned on.
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
      processes                = 400
      __shared_pool_size       = 956301312
      shared_pool_size         = 201326592
      __large_pool_size        = 16777216
      __java_pool_size         = 150994944
      java_pool_size           = 150994944
      __streams_pool_size      = 16777216
      streams_pool_size        = 16777216
      sga_target               = 1610612736
      control_files            = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 452984832
      db_cache_size            = 167772160
      compatible               = 10.2.0.3.0
      db_file_multiblock_read_count= 16
      cluster_database         = TRUE
      cluster_database_instances= 2
      thread                   = 1
      instance_number          = 1
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      ldap_directory_access    = PASSWORD
      remote_login_passwordfile= EXCLUSIVE
      db_domain                = intranet.genpact.com
      remote_listener          = LISTENERS_ASDB
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/orainf/admin/asdb/bdump
      user_dump_dest           = /u01/app/orainf/admin/asdb/udump
      core_dump_dest           = /u01/app/orainf/admin/asdb/cdump
      audit_file_dest          = /u01/app/orainf/admin/asdb/adump
      db_name                  = asdb
      open_cursors             = 300
      pga_aggregate_target     = 848297984
      aq_tm_processes          = 1
    Mon Jul 23 16:17:24 2012
    Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
    cluster interconnect IPC version:
            VERITAS IPC '5.0MP3' 07:30:15 Jul 29 2008
    IPC Vendor 86 proto 76
      Version 1.0
    PMON started with pid=2, OS id=17279
    DIAG started with pid=3, OS id=17281
    Mon Jul 23 16:17:24 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_diag_17281.trc:
    ORA-07445: exception encountered: core dump [_kill()+8] [SIGIOT] [unknown code] [0x438100000000] [] []
    PSP0 started with pid=4, OS id=17283
    LMON started with pid=5, OS id=17285
    LMD0 started with pid=6, OS id=17287
    LMS0 started with pid=7, OS id=17289
    LMS1 started with pid=8, OS id=17293
    MMAN started with pid=9, OS id=17297
    DBW0 started with pid=10, OS id=17299
    LGWR started with pid=11, OS id=17301
    CKPT started with pid=12, OS id=17303
    SMON started with pid=13, OS id=17333
    RECO started with pid=14, OS id=17338
    CJQ0 started with pid=15, OS id=17340
    MMON started with pid=16, OS id=17342
    MMNL started with pid=17, OS id=17344
    Mon Jul 23 16:17:26 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_lmon_17285.trc:
    ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
    Mon Jul 23 16:17:26 2012
    LMON: terminating instance due to error 27550
    Instance terminated by LMON, pid = 17285
    Mon Jul 23 16:18:33 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
    Interface type 1 bge0 58.2.35.0 configured from OCR for use as  a public interface
    Interface type 1 bge1 58.2.35.0 configured from OCR for use as  a public interface
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
    Autotune of undo retention is turned on.
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
      processes                = 400
      __shared_pool_size       = 956301312
      shared_pool_size         = 201326592
      __large_pool_size        = 16777216
      __java_pool_size         = 150994944
      java_pool_size           = 150994944
      __streams_pool_size      = 16777216
      streams_pool_size        = 16777216
      sga_target               = 1610612736
      control_files            = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 452984832
      db_cache_size            = 167772160
      compatible               = 10.2.0.3.0
      db_file_multiblock_read_count= 16
      cluster_database         = TRUE
      cluster_database_instances= 2
      thread                   = 1
      instance_number          = 1
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      remote_login_passwordfile= EXCLUSIVE
      db_domain                = intranet.genpact.com
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/orainf/admin/asdb/bdump
      user_dump_dest           = /u01/app/orainf/admin/asdb/udump
      core_dump_dest           = /u01/app/orainf/admin/asdb/cdump
      audit_file_dest          = /u01/app/orainf/admin/asdb/adump
      db_name                  = asdb
      open_cursors             = 300
      pga_aggregate_target     = 848297984
      aq_tm_processes          = 1
    Mon Jul 23 16:18:35 2012
    Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
    cluster interconnect IPC version:
            VERITAS IPC '5.0MP3' 07:30:15 Jul 29 2008
    IPC Vendor 86 proto 76
      Version 1.0
    PMON started with pid=2, OS id=19523
    DIAG started with pid=3, OS id=19525
    Mon Jul 23 16:18:36 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_diag_19525.trc:
    ORA-07445: exception encountered: core dump [_kill()+8] [SIGIOT] [unknown code] [0x4C4500000000] [] []
    PSP0 started with pid=4, OS id=19527
    LMON started with pid=5, OS id=19529
    LMD0 started with pid=6, OS id=19531
    LMS0 started with pid=7, OS id=19533
    LMS1 started with pid=8, OS id=19537
    MMAN started with pid=9, OS id=19557
    DBW0 started with pid=10, OS id=19573
    LGWR started with pid=11, OS id=19576
    CKPT started with pid=12, OS id=19578
    SMON started with pid=13, OS id=19580
    RECO started with pid=14, OS id=19582
    CJQ0 started with pid=15, OS id=19584
    MMON started with pid=16, OS id=19586
    MMNL started with pid=17, OS id=19588
    Mon Jul 23 16:18:37 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_lmon_19529.trc:
    ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
    Mon Jul 23 16:18:37 2012
    LMON: terminating instance due to error 27550
    Instance terminated by LMON, pid = 19529
    Mon Jul 23 16:20:16 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
    Interface type 1 bge0 58.2.35.0 configured from OCR for use as  a public interface
    Interface type 1 bge1 58.2.35.0 configured from OCR for use as  a public interface
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
    Autotune of undo retention is turned on.
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
      processes                = 400
      __shared_pool_size       = 956301312
      shared_pool_size         = 201326592
      __large_pool_size        = 16777216
      __java_pool_size         = 150994944
      java_pool_size           = 150994944
      __streams_pool_size      = 16777216
      streams_pool_size        = 16777216
      sga_target               = 1610612736
      control_files            = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 452984832
      db_cache_size            = 167772160
      compatible               = 10.2.0.3.0
      db_file_multiblock_read_count= 16
      cluster_database         = TRUE
      cluster_database_instances= 2
      thread                   = 1
      instance_number          = 1
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      db_domain                = intranet.genpact.com
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/orainf/admin/asdb/bdump
      user_dump_dest           = /u01/app/orainf/admin/asdb/udump
      core_dump_dest           = /u01/app/orainf/admin/asdb/cdump
      audit_file_dest          = /u01/app/orainf/admin/asdb/adump
      db_name                  = asdb
      open_cursors             = 300
      pga_aggregate_target     = 848297984
    Mon Jul 23 16:20:18 2012
    Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
    cluster interconnect IPC version:
            VERITAS IPC '5.0MP3' 07:30:15 Jul 29 2008
    IPC Vendor 86 proto 76
      Version 1.0
    PMON started with pid=2, OS id=22860
    DIAG started with pid=3, OS id=22870
    Mon Jul 23 16:20:18 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_diag_22870.trc:
    ORA-07445: exception encountered: core dump [_kill()+8] [SIGIOT] [unknown code] [0x595600000000] [] []
    PSP0 started with pid=4, OS id=22888
    LMON started with pid=5, OS id=22892
    LMD0 started with pid=6, OS id=22899
    LMS0 started with pid=7, OS id=22901
    LMS1 started with pid=8, OS id=22905
    MMAN started with pid=9, OS id=22909
    DBW0 started with pid=10, OS id=22911
    LGWR started with pid=11, OS id=22913
    CKPT started with pid=12, OS id=22915
    SMON started with pid=13, OS id=22917
    RECO started with pid=14, OS id=22919
    CJQ0 started with pid=15, OS id=22921
    MMON started with pid=16, OS id=22923
    MMNL started with pid=17, OS id=22933
    Mon Jul 23 16:20:20 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_lmon_22892.trc:
    ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
    Mon Jul 23 16:20:20 2012
    LMON: terminating instance due to error 27550
    Instance terminated by LMON, pid = 22892instance 2:
    Mon Jul 23 16:20:30 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
    WARNING 10.0.0.0 could not be translated to a network address error 1
    Interface type 1 bge0 58.2.35.0 configured from OCR for use as  a public interface
    Interface type 1 bge1 58.2.35.0 configured from OCR for use as  a public interface
      WARNING: No cluster interconnect has been specified. Depending on
               the communication driver configured Oracle cluster traffic
               may be directed to the public interface of this machine.
               Oracle recommends that RAC clustered databases be configured
               with a private interconnect for enhanced security and
               performance.
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
    Autotune of undo retention is turned on.
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
      processes                = 400
      __shared_pool_size       = 721420288
      shared_pool_size         = 201326592
      __large_pool_size        = 16777216
      __java_pool_size         = 150994944
      java_pool_size           = 150994944
      __streams_pool_size      = 16777216
      streams_pool_size        = 16777216
      spfile                   = /db01/asdb/asdb/spfileasdb.ora
      sga_target               = 1610612736
      control_files            = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 687865856
      db_cache_size            = 167772160
      compatible               = 10.2.0.3.0
      db_file_multiblock_read_count= 16
      cluster_database         = TRUE
      cluster_database_instances= 2
      thread                   = 2
      instance_number          = 2
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS2
      ldap_directory_access    = PASSWORD
      remote_login_passwordfile= EXCLUSIVE
      db_domain                = intranet.genpact.com
      dispatchers              = (PROTOCOL=TCP) (SERVICE=asdbXDB)
      remote_listener          = LISTENERS_ASDB
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/orainf/admin/asdb/bdump
      user_dump_dest           = /u01/app/orainf/admin/asdb/udump
      core_dump_dest           = /u01/app/orainf/admin/asdb/cdump
      audit_file_dest          = /u01/app/orainf/admin/asdb/adump
      db_name                  = asdb
      open_cursors             = 300
      pga_aggregate_target     = 848297984
      aq_tm_processes          = 1
    Cluster communication is configured to use the following interface(s) for this instance
      58.2.35.93
    Mon Jul 23 16:20:32 2012
    Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
    cluster interconnect IPC version:Oracle UDP/IP (generic)
    IPC Vendor 1 proto 2
    PMON started with pid=2, OS id=28537
    DIAG started with pid=3, OS id=28539
    PSP0 started with pid=4, OS id=28541
    LMON started with pid=5, OS id=28543
    Mon Jul 23 16:20:33 2012
    WARNING: Failed to set buffer limit on IPC interconnect socket
    Oracle requires that the SocketReceive buffer size be tunable upto 1MB
    Please make sure the kernel parameterwhich limits SO_RCVBUF value set by
    applications is atleast 1MB
    LMD0 started with pid=6, OS id=28545
    LMS0 started with pid=7, OS id=28547
    LMS1 started with pid=8, OS id=28551
    MMAN started with pid=9, OS id=28555
    DBW0 started with pid=10, OS id=28557
    LGWR started with pid=11, OS id=28567
    CKPT started with pid=12, OS id=28587
    SMON started with pid=13, OS id=28594
    RECO started with pid=14, OS id=28596
    CJQ0 started with pid=15, OS id=28599
    MMON started with pid=16, OS id=28605
    MMNL started with pid=17, OS id=28608
    Mon Jul 23 16:20:34 2012
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Mon Jul 23 16:20:34 2012
    lmon registered with NM - instance id 2 (internal mem no 1)
    Mon Jul 23 16:20:35 2012
    Reconfiguration started (old inc 0, new inc 2)
    List of nodes:
    1
    Global Resource Directory frozen
    * allocate domain 0, invalid = TRUE
    Communication channels reestablished
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Mon Jul 23 16:20:35 2012
    LMS 0: 0 GCS shadows cancelled, 0 closed
    Mon Jul 23 16:20:35 2012
    LMS 1: 0 GCS shadows cancelled, 0 closed
    Set master node info
    Submitted all remote-enqueue requests
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    Post SMON to start 1st pass IR
    Mon Jul 23 16:20:35 2012
    LMS 1: 0 GCS shadows traversed, 0 replayed
    Mon Jul 23 16:20:35 2012
    LMS 0: 0 GCS shadows traversed, 0 replayed
    Mon Jul 23 16:20:35 2012
    Submitted all GCS remote-cache requests
    Fix write in gcs resources
    Reconfiguration complete
    LCK0 started with pid=20, OS id=28770
    Mon Jul 23 16:20:36 2012
    ALTER DATABASE   MOUNT
    Mon Jul 23 16:20:36 2012
    This instance was first to mount
    Setting recovery target incarnation to 2
    Mon Jul 23 16:20:40 2012
    Successful mount of redo thread 2, with mount id 2392310356
    Mon Jul 23 16:20:40 2012
    Database mounted in Shared Mode (CLUSTER_DATABASE=TRUE)
    Completed: ALTER DATABASE   MOUNT
    Mon Jul 23 16:20:40 2012
    ALTER DATABASE OPEN
    This instance was first to open
    Mon Jul 23 16:20:40 2012
    Beginning crash recovery of 1 threads
    parallel recovery started with 2 processes
    Mon Jul 23 16:20:41 2012
    Started redo scan
    Mon Jul 23 16:20:41 2012
    Completed redo scan
    509 redo blocks read, 149 data blocks need recovery
    Mon Jul 23 16:20:41 2012
    Started redo application at
    Thread 2: logseq 1492, block 3
    Mon Jul 23 16:20:41 2012
    Recovery of Online Redo Log: Thread 2 Group 7 Seq 1492 Reading mem 0
      Mem# 0: /db01/asdb/asdb/redo07a.log
      Mem# 1: /db01/asdb/asdb/redo07b.log
    Mon Jul 23 16:20:41 2012
    Completed redo application
    Mon Jul 23 16:20:41 2012
    Completed crash recovery at
    Thread 2: logseq 1492, block 512, scn 10435264045528
    149 data blocks read, 149 data blocks written, 509 redo blocks read
    Picked broadcast on commit scheme to generate SCNs
    Mon Jul 23 16:20:42 2012
    Thread 2 advanced to log sequence 1493
    Thread 2 opened at log sequence 1493
      Current log# 8 seq# 1493 mem# 0: /db01/asdb/asdb/redo08a.log
      Current log# 8 seq# 1493 mem# 1: /db01/asdb/asdb/redo08b.log
    Successful open of redo thread 2
    Mon Jul 23 16:20:42 2012
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Mon Jul 23 16:20:42 2012
    SMON: enabling cache recovery
    Mon Jul 23 16:20:42 2012
    Successfully onlined Undo Tablespace 5.
    Mon Jul 23 16:20:42 2012
    SMON: enabling tx recovery
    Mon Jul 23 16:20:43 2012
    Database Characterset is AL32UTF8
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=24, OS id=29088
    Mon Jul 23 16:20:46 2012
    Completed: ALTER DATABASE OPENPlease suggest
    Regards
    KK

    Hi ,
    I have used the command ifconfig -a
    below is the output :
    chaning the original IP's with alphabets for security concerns
    instance 1:
    bash-2.05$ ifconfig -a
    lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet XY.M.CD.93 netmask ffffff00 broadcast XY.M.CD.255
            groupname orapub
    bge0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
            inet XY.M.CD.94 netmask ffffff00 broadcast XY.M.CD.255
    bge0:3: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 2
            inet XY.M.CD.151 netmask ffffff00 broadcast XY.M.CD.255
    bge1: flags=39040803<UP,BROADCAST,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,FAILED,STANDBY> mtu 1500 index 3
            inet XY.M.CD.95 netmask ffffff00 broadcast XY.M.CD.255
            groupname orapub
    bge2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
            inet ZZ.0.0.1 netmask ff000000 broadcast ZZ.255.255.255
    bge3: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
            inet 0.0.0.0 netmask 0instance 2:
    bash-2.05$ ifconfig -a
    lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet XY.M.CD.96 netmask ffffff00 broadcast XY.M.CD.255
            groupname orapub
    bge0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
            inet XY.M.CD.97 netmask ffffff00 broadcast XY.M.CD.255
    bge0:2: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 2
            inet XY.M.CD.152 netmask ffffff00 broadcast XY.M.CD.255
    bge1: flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE> mtu 1500 index 3
            inet XY.M.CD.98 netmask ffffff00 broadcast XY.M.CD.255
            groupname orapub
    bge3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
            inet 0.0.0.0 netmask ff000000
    bge3:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
            inet 10.0.0.3 netmask ff000000 broadcast ZZ.255.255.255Regards

  • Creating a database link to another schema in the same database

    Hello,
    I'm trying to create a database link to another schema in the same database. It was created without errors, but when I try to use it I receive "ORA-12154: TNS:could not resolve the connect identifier specified" message...
    I'm trying to do it because on my production enviroment the databases are separated, so there I can use database links without problem, but in my development environment it's all in one database separated by schemas...
    So I'm trying to simulate the same system to not need to rewrite the query every time I move from development to production environment.
    Any ideas?
    Thanks

    Hi,
    Yes, you can create a database link to your own database. I've done it before for exactly the same reason you want to.
    (By the way, I think it's a good reason. What are the alternatives?
    Having different versions of code for Development and Production? Absolutely not! Terrible idea!
    Using synonyms or substitution variables that are set differently in the different databases? That might be more efficient than a database link, but efficiency probably isn't such a big issue in Development.
    [Conditional compilation|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/fundamentals.htm#sthref250]? This might be good; it has all the efficienty of the above options, with more clarity.)
    Assuming you do want to stick with a database link, not all errors are caught when you create the link.
    Is the Development database in the tnsnames.ora file of the Development server? Do you have other database links, either in the Development server or pointing to it, that work? What is different about the ones that work, and the one that doesn't?
    Edited by: Frank Kulash on Oct 14, 2009 1:58 PM
    The more I think about this, the more I agree with the earlier respondent: synonymns are a good solution for this.
    To that suggestion you replied:
    On this way I might use "select * from SCHEMA.table" instead of "select * from table@SCHEMA"... I looking for an option to use the second way...Actually, the suggestion was that you say:
    select  *
    from    SCHEMA_table_ptr;where schema_table_ptr is a synonym.
    In Development, that synonym is defined as schema.table.
    In Production, that synonym is defined as table@SCHEMA
    Why are you "looking for an option to use the second way"?
    If you think that people reading the code should realize that the query is being done via a database link (at least in Production), then add a comment.

Maybe you are looking for