$ tail ApplyDBTier_09211436.log
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=erp-b.vm.com)(PORT=1253))(CONNECT_DATA=(SERVICE_NAME=TEST.vm.com)))
    Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor    Connection could not be obtained; returning null-------------------ADX Database Utility Finished---------------RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase

解决方案 »

  1.   

    listener.log 内容: 
    Command sh -c "/app/testdb/db/tech_st/11.1.0/oui/bin/runInstaller  oracle.odbc.c                                                                             ompanion:PRE_REQUISITE=true -clone -silent -force -nolink -waitForCompletion -in                                                                             vPtrLoc /var/opt/oracle/oraInst.loc ORACLE_HOME=/app/testdb/db/tech_st/11.1.0 OR                                                                             ACLE_BASE=/app/testdb/db/tech_st/11.1.0 ORACLE_HOME_NAME=TEST_DB__app_testdb_db_                                                                             tech_st_11_1_0 -J-Doracle.installer.noLink=true ; echo ERRORCODE = $? ERRORCODE_                                                                             END" failed. Wed Sep 21 16:17:21 GMT+08:00 2011
    OUI CLI cloning returned non-zero.
    Home may already be registered
    OUI log file - /app/testappl/apps/TEST_erp-b/admin/oraInventory/logs/cloneAction                                                                             s<timestamp>
    Attempting to restore /app/testdb/db/tech_st/11.1.0/oui/oraparam.ini.ouibak to /                                                                             app/testdb/db/tech_st/11.1.0/oui/oraparam.ini
    deleting ojmisc file (copied earlier) at /app/testdb/db/tech_st/11.1.0/jdk/jre/l                                                                             ib/ext/ojmisc.jar