Duplication database...ora net issue

hi
I'm trying to create a duplicate database through rman on the same windows machine(oracle 10.2.0.1).
I'm trying to configure my tns entries and listener.
Primary database name - prodsrp
duplicate database name - dup
when i do lsnrctl start prodsrp
TNS-01151: Missing listener name, prodsrp, in LISTENER.ORA
How should i add prodsrp to my listener .
And also what I'm trying to do...is
one instrance and two database naming prodsrp,dup...prodsrp already exists.
when i do rman connect target sys@prodsrp
I've prodsrp getting connected
whereas when i do
connect auxiliary sys@dup
I get all error
" appropriate instances are blocking the new connection"
Can any one help me out....
My current listener configuration
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = prodsrp)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(SID_NAME = prodsrp)
(SID_DESC =
(GLOBAL_DBNAME = DUP)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(SID_NAME = DUP)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = is001.dorado-sm.com)(PORT = 1521))
tnsentries....
PRODSRP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = is001.dorado-sm.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = prodsrp)
DUP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(Host = is001.dorado-sm.com)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = dup)
Message was edited by:
vik121583
Message was edited by:
vik121583

Thanks for clearing doudt on listner
I changed my tnsentry
dup =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = is001.dorado-sm.com)(PORT = 1521))
(CONNECT_DATA =
(SID = dup)
When i connect to rman
connect auxiliary sys/dup@dup
Dup is in nomount mode
I'm getting following error
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04006: error from auxiliary database: ORA-12528: TNS:listener: all appropri
ate instances are blocking new connections
Could you tell me why is this happening?
why am i not able to connect to auxliliary instance,its ambiguous...
And listner.ora changed to
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
PRODSRP =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = is001.dorado-sm.com)(PORT = 1521))
Message was edited by:
vik121583

Similar Messages

  • ORACLE error from auxiliary database: ORA-01152: file 2 was not restored fr

    Hello,
    i'm trying to clone a database. It is in archive log mode.
    I took a full back using below command
    run {
      backup
         tag 'DAILY_WHOLE'
         format 'FULL_backup_%s_%p_%c.bkp'     database
         plus archivelog
         tag 'DAILY_WHOLE'
         delete all input;
      backup
         current controlfile
         format 'FULL_backup_%s_%p_%c.bkp'     tag 'WHOLE'
         spfile
         format 'FULL_backup_%s_%p_%c.bkp'     tag 'WHOLE';
    }then i issue a duplicate database command
    RUN
    DUPLICATE DATABASE TO TEST_DB
              NOFILENAMECHECK
               NOREDO
              BACKUP LOCATION '/disk10/flash_recovery_area/PROD';
    }at the very end I got this error.
    contents of Memory Script:
       Alter clone database open resetlogs;
    executing Memory Script
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/15/2013 11:59:21
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01152: file 2 was not restored from a sufficiently old backup
    ORA-01110: data file 2: 'sysaux.dbf'Can anyone help me? I would appreciate it. thanks

    NOREDO would be used when you have a Consistent Backup (i.e. backup taken when the database is MOUNTed but not OPEN) and so, no archivelogs need to be applied. (This would also be the case for a NOARCHIVELOG database).
    See the notes on NOREDO in the DUPLICATE command documentation in the Backup and Recovery Reference.
    http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta020.htm#i81724
    Hemant K Chitale

  • Strange ORA-12542 issue

    Hi,
    I'm facing a baffling ORA-12542 issue for batch processes run by our application.
    OS Platform : Solaris 10 8/07 Sparc. Database runs in a Solaris sparse root zone
    Database : Oracle 9.2.0.8
    Listener : Uses default port of 1521
    Background:
    We have a daemon running on the database server that polls the database for jobs. This daemon queries a table with the database. If it finds a job it disconnects and spawns a new process based on the job definition. This process in turn calls a shell script that invokes SQL*Plus to generate a report.
    Issue:
    Periodically the daemon serves an ORA-12542. We've tried tracing the listener but no information comes up there.
    In /var/tmp/.oracle we see only two socket files. So old socket files also do not seem to be causing a problem.
    We've now increased the queue size for the listener. Also we've tried setting TCP_CONN_REQ_MAX_Q to 1024 on the Solaris server.
    The only commonality between the daemon logs and listener logs we find is a step of service update. Could this be having any impact on a daemon which polls frequently? Below, the first line is from our daemon log and the lower lines are from the listener log.
    tmd_TRN1[5683:1000]:17/07/2009 16:52:45 ORA-12542: TNS:address already in use
    17-JUL-2009 16:52:44 * service_update * TRN1 * 0
    17-JUL-2009 16:52:45 * service_update * DEV3 * 0
    tmd_TRN1[5683:1000]:17/07/2009 11:32:38 ORA-12542: TNS:address already in use
    17-JUL-2009 11:32:37 * service_update * AST3 * 0
    17-JUL-2009 11:32:38 * service_update * AST1 * 0
    17-JUL-2009 11:32:38 * service_update * DB115RPY * 0
    17-JUL-2009 11:32:42 * service_update * AST2 * 0
    17-JUL-2009 11:32:48 * (CONNECT_DATA=(SID=TRN1)(CID=(PROGRAM=tmd)(HOST=xxxxxx)(USER=tmbatch))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=50057))
    * establish * TRN1 * 0
    17-JUL-2009 11:33:01 * service_update * DEV1 * 0
    17-JUL-2009 11:33:02 * service_update * DEV3 * 0
    17-JUL-2009 11:33:07 * service_update * TRN1 * 0
    17-JUL-2009 11:33:18 * service_update * TRN2 * 0
    tmd_TRN1[8165:1000]:10/07/2009 15:15:52 ORA-12542: TNS:address already in use
    10-JUL-2009 15:15:46 * service_update * TRN2 * 0
    10-JUL-2009 15:15:52 * (CONNECT_DATA=(SID=TRN1)(CID=(PROGRAM=tmd)(HOST=xxxxxx)(USER=tmbatch))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=62888))
    * establish * TRN1 * 0
    10-JUL-2009 15:15:59 * service_update * AST2 * 0
    10-JUL-2009 15:16:03 * service_update * DB115RPY * 0
    10-JUL-2009 15:16:25 * service_update * TRN1 * 0
    Any clues will be appreciated :-)
    Cheers,
    Aniruddha
    Edited by: Aniruddha Khadkikar on Jul 20, 2009 11:29 AM
    Edited by: Aniruddha Khadkikar on Jul 20, 2009 11:34 AM

    Change this:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(PORT = 1521)(QUEUESIZE = 20))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    )As:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    *(ADDRESS = (PROTOCOL = TCP)(PORT = 1521)( HOST = ipaddress of any one NIC )(QUEUESIZE = 20))*
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    Restart the listener and try again. For more see DOC ID 114323.1 on metalink.
    Reason may be the entries in /etc/hosts which have two entries one for loopback address and other for NIC's assigned address.
    Regards
    Edited by: orant575 on Jul 20, 2009 11:52 AM

  • Huge Delay in accessing DataBase When Net is down

    Hi,
    I am using MySQL 4.1.9 as the backend for my Java Application On Linux Fedora Core III.
    MySQL and the Java Application, both resides in the same host.
    When net (Internet) is Up, there is no delays in accessing MySQL Databases.
    And its too slow when net is Down. Why ?

    My best guess would be because you are establishing an rman session from your main script but it is aborting due to the error of not being able to connect to your catalog. Hence nothing happens after that.
    When you run it command line seperate, it is establishing an rman session successfuly...
    rman - blank session open
    connect target - successful connection established
    connect catalog - fails but still connected to target db from previous command
    Try running rman target / catalog xe_linux/xe@gcrepo in one command line and see if it establishes an rman session or not...
    Alternatively you can try putting your rman commands into your main script and run from there...
    I am guessing you will still get a valid rman session connected to the target db but using the target db's controlfile.
    Let me know what happens.
    Actually tried connecting to a catalog db that doesn't exist and got:
    [rcworarpt] /opt/oracle/admin/scripts/RMAN>rman target /
    Recovery Manager: Release 9.2.0.4.0 - 64bit Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    connected to target database: VFIN (DBID=3206857493)
    RMAN> quit
    Recovery Manager complete.
    [rcworarpt] /opt/oracle/admin/scripts/RMAN>rman target / catalog sys/sys@catdb
    Recovery Manager: Release 9.2.0.4.0 - 64bit Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    connected to target database: VFIN (DBID=3206857493)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04004: error from recovery catalog database: ORA-12154: TNS:could not resolve service name
    As you can see it kicks you right out of the rman session...
    Jamie
    Edited by: Jamie CC on Feb 11, 2010 12:02 PM

  • Error Could not connect to the database - ora-12545: tns:name lookup failure

    Hi,
    I am a tech at a failing company. Unfortuneatly some users still need ADI installed and working with very limited resources to troubleshoot oracle. I am getting the error - ( Could not connect to the database - ora-12545: tns:name lookup failure )when the user tries to log on to ADI. Any suggestions? I would really appreciate it. We are on Windows NT on an NT network. Oracle 8.05 client installed and ADI 6.0.
    Thanks, Mary

    Copy the tnsname.ora file from Oracle Database serve onto the client PC.
    Path: %Oracle_home%\net80\admin\
    Send me a mail if there is any other issues
    Regards
    Oluseyi Funmi Oduberu
    Oracle Consultant
    Email:[email protected]
    Hi,
    I am a tech at a failing company. Unfortuneatly some users still need ADI installed and working with very limited resources to troubleshoot oracle. I am getting the error - ( Could not connect to the database - ora-12545: tns:name lookup failure )when the user tries to log on to ADI. Any suggestions? I would really appreciate it. We are on Windows NT on an NT network. Oracle 8.05 client installed and ADI 6.0.
    Thanks, Mary

  • Cant connect my database using net service_name

    Good Morning to all;
    I trying to connect my database using net service_name , but i am getting error.
    I have tnsnames.ora entry and listener.ora entry.
    Please help me to crack this error.
    SQL> select name from v$database;
    NAME
    ORCLTEST
    SQL> grant connect ,resource to u1 identified by u1;
    Grant succeeded.
    SQL> grant sysdba to u1;
    Grant succeeded.
    SQL> show parameter pass;
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    SQL> shut immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    From DBS Directory :
    [oracle@linuxserver dbs]$ orapwd file=orapworcltest password=asdf1234 entries=3
    export ORACLE_SID=orcltest
    [oracle@linuxserver ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 9 19:24:22 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR when trying to connect
    SQL> conn u1/u1@ORCLMYTEST
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    SQL> conn u1/asdf1234@ORCLMYTEST
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Thanks in advance ..

    Can i connect my database using username/password@netservice_name ?
    Yes, you should. Please post the result of "lsnrctl stat LISTENER_ORCL".
    *[oracle@linuxserver admin]$ lsnrctl stat LISTENER_ORCL*
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-MAR-2013 19:58:18
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linuxserver)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTener_ORcl
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 09-MAR-2013 11:10:14
    Uptime 0 days 8 hr. 48 min. 3 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener_orcl.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linuxserver)(PORT=1521)))
    Services Summary...
    Service "MYDB.PROD.ORCLPROD.COM" has 1 instance(s).
    Instance "orclprod", status UNKNOWN, has 1 handler(s) for this service...
    Service "MYDB.TEST.ORCLTEST.COM" has 1 instance(s).
    Instance "orcltest", status UNKNOWN, has 1 handler(s) for this service...
    Service "asdf" has 1 instance(s).
    Instance "asdf", status READY, has 1 handler(s) for this service...
    Service "asdfXDB" has 1 instance(s).
    Instance "asdf", status READY, has 1 handler(s) for this service...
    Service "asdf_XPT" has 1 instance(s).
    Instance "asdf", status READY, has 1 handler(s) for this service...
    Service "orclprod" has 1 instance(s).
    Instance "orclprod", status READY, has 1 handler(s) for this service...
    Service "orclprodXDB" has 1 instance(s).
    Instance "orclprod", status READY, has 1 handler(s) for this service...
    Service "orclprod_XPT" has 1 instance(s).
    Instance "orclprod", status READY, has 1 handler(s) for this service...
    Service "orcltest" has 1 instance(s).
    Instance "orcltest", status READY, has 1 handler(s) for this service...
    Service "orcltestXDB" has 1 instance(s).
    Instance "orcltest", status READY, has 1 handler(s) for this service...
    Service "orcltest_XPT" has 1 instance(s).
    Instance "orcltest", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • Oracle Apps Database severe Performance Issue

    Hi Gurus,
    This is regarding a severe performance issue running in our Production E-Business Suite Instance.
    its an R12.1.3 setup installed with 11.2.0.1 Database. All the servers are Solaris Sparc 64 (Solaris 10)
    Let me brief you about the instance first:
    2 Node Application
    - Main Application Server hosting web/forms/concurrent/admin servers
    - iSupplier server hosting web services (placed in DMZ, used by external suppliers via Internet)
    1 Node Database Server
    Database Server Specs
    Memory: 144G phys mem 20G total swap
    - CPUs (8Px4cores, 2Px2cores)
    - I/O - fiber channel hard disk (hitachi SAN Storage) - 7 DATA_TOPs (7 drives with RAID 5) - current DB size 1.6 TB
    - at peak load, around 1000 concurrent forms session and 2000 web sessions.
    We have been facing some serious performance issues and we raised an SR with Oracle Support.
    The Support analyzed a bunch of AWR Reports we provided them and they asked us to increase the DB_CACHE from its current usage of 27G to 40G
    So, we changed SGA_TARGET from 35G to 50G and PGA was increased from 35G to 40G as v$pgastat was also suggesting some lack of memory.
    We made these changes last night.
    Today morning we observed the following:
    1. after start of office hours, we checked in the home page of EM DB Console that ADDM was showing reduced impact due to lack of SGA memory which seemed to be a good sign. Earlier it was around 25% which was now at 12%.
    However, negative aspects were:
    1. lot of swapping was reported by the System Administrators on the DB Server
    2. High CPU Usage
    3. EM DB Console showed a lot of "Concurrency Wait Class" events ...throughout the day lot of blocking sessions were reported which were making other sessions to wait.
    in the AWR Report, following foreground reports were listed:
    Top 5 Timed Foreground Events
    Event
    Waits
    Time(s)
    Avg wait (ms)
    % DB time
    Wait Class
    DB CPU
    132,577
    61.46
    library cache lock
    3,539
    40,683
    11496
    18.86
    Concurrency
    library cache: mutex X
    4,014,083
    21,011
    5
    9.74
    Concurrency
    db file sequential read
    4,138,014
    20,767
    5
    9.63
    User I/O
    latch free
    381,916
    5,897
    15
    2.73
    Other
    This is showing "library cache lock" events as the main culprit apart from the usual suspect, the CPU.
    I am attaching the AWR Report. Please let me know if  i should revert back the memory changes or is there anything else i could do.
    Please help us resolving it because the performance is going worst.
    Regards,
    Muneer.

    Pl do not post duplicates - Oracle Apps Database severe Performance Issue
    For all critical production issues, pl work with Support thru SRs - using the forums to troubleshoot production issues is not wise

  • StandBy database Create/Export Issue

    We have database ABC and standby database ABCSTD and they are working properly. (Archives are properly applied), They were created from the database ABC_OLD.
    Issue is that the ABC_OLD database has some more changes and users continued to work on that. We didnt switch the users to the ABC. And now the ABC database has become obsolete. its around one month old database.
    I just want to know. Do I need to recreate the ABC database and Standby again from ABC_OLD cold backup Or Can I take full Database Export froom ABC_OLD and Import it on the the ABC Live.
    Are there any other ways.??
    Regards,
    Rakesh Soni.

    Or Am i just overthinking on this?
    Is dataguard only looking for the current and oldest log sequence?

  • Concurrent request - view output - Error connecting to database ORA-1017

    Hi all,
    When I run Active Users concurrent request.
    It complete sucessfully without any error.
    but when i click on view output then i get following error.
    Error connecting to database ORA-1017
    Reg
    Chirag Patel
    Nairobi

    Hi All,
    I followed this metalink note.
    Copy File : Error connecting to database ORA-1017 [ID 269511.1]
    and it if working fine now.
    Reg
    Chirag Patel

  • Error RMAN connection to auxiliary database ORA- 12514

    Hi,
    I'm trying to make a clone of my database in another server but when I'm trying to connect as follow the RMAN return
    to me the error ORA-12514.
    C:\Documents and Settings\joses.morales>rman TARGET sys/pass@iswgen nocatalog
    AUXILIARY sys/[email protected]
    Recovery Manager: Release 8.1.7.4.1 - Production
    RMAN-06005: connected to target database: ISWGEN (DBID=2348350645)
    RMAN-06009: using target database controlfile instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
    For more information:
    - the auxiliary database is started whit nomount option.
    - this is my listener.ora in the auxiliary host
         LISTENER =
         (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = WSSP61)(PORT = 1521))
         SID_LIST_LISTENER =
         (SID_LIST =
         (SID_DESC =
         (GLOBAL_DBNAME = oracle8)
         (ORACLE_HOME = C:\oracle\ora81)
         (SID_NAME = iswgen)
         (SID_DESC =
         (GLOBAL_DBNAME = oracle8)
         (ORACLE_HOME = C:\oracle\ora81)
         (SID_NAME = oracle8)
    - this is my tnsnames.ora in the auxiliary host
         ISWGEN =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = wssp61)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = iswgen)
         ORACLE8 =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = WSSP61)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = oracle8)
    - this is my tnsnames.ora in the target host
    iswgen =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = gdcoracle)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = iswgen)
         iswgen.wssp61 =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = wssp61)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = iswgen)
    - target server: gdcoracle
    - auxiliary server: wssp61
    - global name in auxiliary: Oracle8
    - intances in auxiliary: Oracle8 & Iswgen
    I was expecting the follow message:
    connected to target database: ISWGEN (DBID=519338572)
    using target database control file instead of recovery catalog
    connected to auxiliary database: ISWGEN.WSSP61 (not mounted)
    Can anybody help me to resolve this error ORA-12514??
    Thanks

    I'm try to connect to the auxiliary server at SQLPLUS and I get the follow:
    C:\Documents and Settings\joses.morales>sqlplus /nolog
    SQL*Plus: Release 8.1.7.0.0 - Production on Sex Jun 1 12:26:09 2007
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    SQL> conn sys@iswgen
    Informe a senha:
    ERROR:
    ORA-12514: TNS:listener nao conseguiu resolver o SERVICE_NAME fornecido no
    descitor de conexao
    SQL> conn sys@iswgen as sysdba
    Informe a senha:
    ERROR:
    ORA-12514: TNS:listener nao conseguiu resolver o SERVICE_NAME fornecido no
    descitor de conexao
    SQL> conn internal as sysdba
    Conectado.
    SQL>
    Any sugestions?
    Thanks everyone and regards

  • Issues while connecting databases-ORA-12545!

    hi,
    We have new set of environments ,for which we have faced the firewall rule missing isssue and it gets resolved(able to telnet the ip address now).When we tried to connect those oracle databases(version 11.2.0.3),we are getting ORA-12545: Connect failed because target host or object does not exist error,i have added all the entiries in hostfile and tns file as well,but still i am getting the issue.can anyone assist to fix this issue

    Error:     ORA-12170 (ORA-12170)
    Text:     TNS:Connect timeout occurred
    Cause:     The server shut down because connection establishment with a
         client failed to complete within the allotted time interval. This
         may be a result of network/system delays; or this may indicate
         that a malicious client is trying to cause a Denial of Service
         attack on the server.
    Action:     If the error occurred because of a slow network/system,
         reconfigure the SQLNET.INBOUND_CONNECT_TIMEOUT parameter in
         sqlnet.ora to a larger value. If a malicious client is suspected,
         use the address in sqlnet.log to identify the source and restrict
         access. Note that logged addresses may not be reliable as they can
         be forged (e.g. in TCP/IP).
         /////////////////////////////////////////////////////////////////////////

  • Oracle Database 11g Installation Issue: ORA-12560:TNS: protocol adapter error.

    Folks,
    Hello. Initially, my Windows XP host name is "localhost" and IP address 127.0.0.1.
    I installed Oracle Database 11g with Windows XP successfully and all Database clients work with Database instance correctly.
    For some reasons, I uninstalled the entire Database Server and delete the entire installation directory /oracle.
    I configured Windows XP IP address into 192.168.196.101 in order to ping other machines.
    For my need, I installed Oracle Database 11g with Windows XP again. On step 7 of 8: Oracle Database Configuration Assistant, I got this error:
    ORA-12560:TNS: protocol adapter error.
    I click "Password Management" button, there are no rows in this Windows (no username, no lock accounts).
    I check listener as below:
    C:\>lsnrctl
    LSNRCTL>start
    Its output: listener name LISTENER has already been started.
    LSNRCTL>status
    Its output: ......Service DB1 has 1 instance. Instance DB1 status ready. The command completed successfully.
    I check \Oracle\cfgtoollogs\dbca\DB1\trace file, the entry is :
    listen[0]=LISTENER address=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(port=1522))
    I also check \oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\SAMPLE\tnsnames.ora file and listener.ora file, the entries are the same as below
    HOST=localhost  port=1522
    I think HOST=localhost and port=1522 is the cause of the error ORA-12560 because Windows XP has been configured into HOST=192.168.196.101.
    But I don't understand how to solve this issue.
    Can any folk tell me how to solve this issue ? need to cancel the installation on step 7 of 8 and install it again ?
    Thanks.

    Folks,
    Hello. Oracle Database 11g Installation Wizard is on step 7 of 8. I don't cancel the Wizard. I am not sure whether there is effect or not. listener.ora is not removed. I have been waiting for a while after stop listener.  I run the 3 commands again and copy the result as below:
    C:\>lsnrctl stop
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:32
    :14
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1522)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 61: Unknown error
    C:\>
    C:\>
    C:\>
    C:\>
    C:\>
    C:\>lsnrctl start
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:33
    :04
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    System parameter file is C:\SecondTime_OracleDatabase_Install_Directory\product\
    11.2.0\dbhome_1\network\admin\listener.ora
    Log messages written to c:\secondtime_oracledatabase_install_directory\diag\tnsl
    snr\user-19yyar8x0d\listener\alert\log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522
    ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                14-AUG-2013 19:33:07
    Uptime                    0 days 0 hr. 0 min. 3 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\SecondTime_OracleDatabase_Install_Directory\product
    \11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         c:\secondtime_oracledatabase_install_directory\diag\tn
    slsnr\user-19yyar8x0d\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1522ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\>
    C:\>
    C:\>
    C:\>
    C:\>lsnrctl service
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 14-AUG-2013 19:36
    :37
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1522)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "DB1XDB" has 1 instance(s).
      Instance "DB1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: user-19YYAR8X0D, pid: 120>
             (ADDRESS=(PROTOCOL=tcp)(HOST=user-19yyar8x0d)(PORT=1051))
    Service "DB1" has 1 instance(s).
      Instance "DB1", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:19 refused:0 state:ready
             LOCAL SERVER
    The command completed successfully
    C:\>
    As we see, listener.ora file is not removed by Stop command. I am on the installation Wizard. How to solve this issue ?
    Thanks.

  • ORA-12514  9i Database 10G IAS Issue

    Hi Friends,
    We have installed 10G IAS infrastructure and applicaiton server. Our custom application is migrated and deployed on the 10G app server.
    The database is on a seperate server and is still 9i.
    When we try to connect to the database from the app server, we get the
    ORA-12514: TNS: listener does not currently konw of service requested in connect descriptor.
    How can we fix this.
    Is it ok to connect to 9i database from 10 app server application.
    Thanks and Regards.

    Thank you. This is resolved.

  • SQL Developer Blocked and is not allowed to connect to database ORA-200001

    SQL Developer Blocked and is not allowed to connect to database gives ORA-200001.
    i found on net that DBA can write triggers which can deny connection to database from certain appplication.
    so i want a way to change application name so that when it connects to database
    the V$SESSION will have different value (other than SQL Developer) in column PROGRAM and/or MODULE (which i think is used by dba to restrict the connection).
    one more way is
    i am using jdbc url to connect to database
    in java we can change properties of connection to change the PROGRAM in V$SESSION.
    but i am not java expert so dont know how and where to make the changes
    either way my aim is to connect to database such that V$SESSION will have different value (other than "SQL Developer") in column PROGRAM and/or MODULE

    This is not system configration or credential issue.
    This is a check which is put DBA using logon trigger
    to check certain user loging in using certain application.
    only some users using particular username are getting this error when they try to logon using oracle sql developer
    the same users when uses different username(some generic user names created to access database) to access the same database then they are able to login.
    similarly if they login using SQL navigator they are able to login with both their own and the generic user name
    more over of all the database instances this is only happening on some of the instances and all of them are development instances.
    following will help you understand
    USER | DBUSERNAME | DATABASE | APPLICATION | ACTION
    X | X | DB1 | Oracle Sql Developer | Blocked
    X | G(Genric) | DB1 | Oracle Sql Developer | Login Success
    X | X | DB1 | Sql Navigator/SqlPLus | Login Success
    X | G(Genric) | DB1 | Sql Navigator/SqlPLus | Login Success
    X | X | DB2 | Oracle Sql Developer | Login Success
    X | G(Genric) | DB2 | Oracle Sql Developer | Login Success
    X | X | DB2 | Sql Navigator/SqlPLus | Login Success
    X | G(Genric) | DB2 | Sql Navigator/SqlPLus | Login Success
    I just want to bypass this check which i think uses V$SESSION and columns PROGRAM and/or MODULE to check the application used by particular user.
    if i can override these values some where in oracle sql developer before loging in the DB then i can clearly pass this check and login to database.
    Edited by: user13430736 on Jun 21, 2011 4:05 AM
    Edited by: user13430736 on Jun 21, 2011 4:12 AM

  • Controlfile corrupted when creating a database - ORA-00202

    Hi Oracle experts,
    I have two virtual machines, the clusterware installed fine and is accessing shared disks, also ASM is running fine.
    When I created the database using dbca everything went fine until the very last end, I saw a window indicating that instances on both nodes were starting then I got this error for the second instance:
    PRKP-1001 : Error starting instance vrac2 on node monoravpc11
    CRS-0215: Could not start resource 'ora.vrac.vrac2.inst'
    In the alert there are these errors:
    Tue Jul 29 09:44:49 2008
    Hex dump of (file 0, block 1) in trace file /u01/app/oracle/admin/vrac/udump/vrac2_ora_31504.trc
    Corrupt block relative dba: 0x00000001 (file 0, block 1)
    Completely zero block found during control file header read
    Tue Jul 29 09:44:52 2008
    Errors in file /u01/app/oracle/admin/vrac/udump/vrac2_ora_31504.trc:
    ORA-00202: control file: '+DATA/vrac/controlfile/current.257.661336023'
    Then I checked the ASM disks on the second instance and everything looks fine, disks are accesible and mounted:
    SQL> select instance_name from v$instance;
    INSTANCE_NAME
    +ASM2
    SQL> select group_number, disk_number, mount_status, state from v$asm_disk
    2 /
    GROUP_NUMBER DISK_NUMBER MOUNT_S STATE
    0 2 CLOSED NORMAL
    0 3 CLOSED NORMAL
    1 1 CACHED NORMAL
    1 0 CACHED NORMAL
    SQL> select group_number, disk_number, reads, writes, read_errs, write_errs from v$asm_disk;
    GROUP_NUMBER DISK_NUMBER READS WRITES READ_ERRS WRITE_ERRS
    0 2
    0 3
    1 1 25 1 0 0
    1 0 37 0 0 0
    ASMCMD> pwd
    +data/vrac/controlfile
    ASMCMD> ls
    Current.256.661336019
    Current.257.661336023
    Then I went to the first instance, wich is up and running and query the control files:
    Valid     File Name     File Directory
    VALID     current.256.661336019     +DATA/vrac/controlfile/
    VALID     current.257.661336023     +DATA/vrac/controlfile/
    They are good and valid.
    So, any hint? any suggestion? I am lost here, I even created a new controlfile I still received the very same message.
    Regards,
    Carlos Acosta

    Yes, sorry, I was so focused on writing a well redacted message that I forgot to send the versions ;)
    OS: Linux Redhat AS 3, 32bit
    Oracle Database and clusterware: 10.2.0.1
    Here is the complete messages file for today:
    Jul 29 09:36:15 monoravpc11 rsh(pam_unix)[22309]: session opened for user oracle by (uid=0)
    Jul 29 09:36:15 monoravpc11 rsh(pam_unix)[22309]: session closed for user oracle
    Jul 29 09:36:36 monoravpc11 pam_rhosts_auth[22717]: allowed to [email protected] as oracle
    Jul 29 09:36:37 monoravpc11 rsh(pam_unix)[22717]: session opened for user oracle by (uid=0)
    Jul 29 09:36:37 monoravpc11 rsh(pam_unix)[22717]: session closed for user oracle
    Jul 29 09:36:37 monoravpc11 pam_rhosts_auth[22750]: allowed to [email protected] as oracle
    Jul 29 09:36:37 monoravpc11 rsh(pam_unix)[22750]: session opened for user oracle by (uid=0)
    Jul 29 09:36:37 monoravpc11 rsh(pam_unix)[22750]: session closed for user oracle
    Jul 29 09:36:38 monoravpc11 pam_rhosts_auth[22783]: allowed to [email protected] as oracle
    Jul 29 09:36:38 monoravpc11 rsh(pam_unix)[22783]: session opened for user oracle by (uid=0)
    Jul 29 09:36:38 monoravpc11 rsh(pam_unix)[22783]: session closed for user oracle
    Jul 29 09:36:39 monoravpc11 pam_rhosts_auth[22793]: allowed to [email protected] as oracle
    Jul 29 09:36:39 monoravpc11 rsh(pam_unix)[22793]: session opened for user oracle by (uid=0)
    Jul 29 09:36:39 monoravpc11 rsh(pam_unix)[22793]: session closed for user oracle
    Jul 29 09:36:40 monoravpc11 pam_rhosts_auth[22828]: allowed to [email protected] as oracle
    Jul 29 09:36:40 monoravpc11 rsh(pam_unix)[22828]: session opened for user oracle by (uid=0)
    Jul 29 09:36:40 monoravpc11 rsh(pam_unix)[22828]: session closed for user oracle
    Jul 29 09:36:40 monoravpc11 pam_rhosts_auth[22836]: allowed to [email protected] as oracle
    Jul 29 09:36:40 monoravpc11 rsh(pam_unix)[22836]: session opened for user oracle by (uid=0)
    Jul 29 09:36:41 monoravpc11 rsh(pam_unix)[22836]: session closed for user oracle
    Jul 29 09:36:41 monoravpc11 pam_rhosts_auth[22871]: allowed to [email protected] as oracle
    Jul 29 09:36:41 monoravpc11 rsh(pam_unix)[22871]: session opened for user oracle by (uid=0)
    Jul 29 09:36:42 monoravpc11 rsh(pam_unix)[22871]: session closed for user oracle
    Jul 29 09:36:42 monoravpc11 pam_rhosts_auth[22879]: allowed to [email protected] as oracle
    Jul 29 09:36:42 monoravpc11 rsh(pam_unix)[22879]: session opened for user oracle by (uid=0)
    Jul 29 09:36:42 monoravpc11 rsh(pam_unix)[22879]: session closed for user oracle
    Jul 29 09:36:57 monoravpc11 pam_rhosts_auth[23164]: allowed to [email protected] as oracle
    Jul 29 09:36:57 monoravpc11 rsh(pam_unix)[23164]: session opened for user oracle by (uid=0)
    Jul 29 09:36:58 monoravpc11 pam_rhosts_auth[23213]: allowed to [email protected] as oracle
    Jul 29 09:36:58 monoravpc11 rsh(pam_unix)[23213]: session opened for user oracle by (uid=0)
    Jul 29 09:36:58 monoravpc11 rsh(pam_unix)[23213]: session closed for user oracle
    Jul 29 09:36:58 monoravpc11 pam_rhosts_auth[23249]: allowed to [email protected] as oracle
    Jul 29 09:36:58 monoravpc11 rsh(pam_unix)[23249]: session opened for user oracle by (uid=0)
    Jul 29 09:36:58 monoravpc11 rsh(pam_unix)[23249]: session closed for user oracle
    Jul 29 09:37:07 monoravpc11 pam_rhosts_auth[23434]: allowed to [email protected] as oracle
    Jul 29 09:37:07 monoravpc11 rsh(pam_unix)[23434]: session opened for user oracle by (uid=0)
    Jul 29 09:37:07 monoravpc11 rsh(pam_unix)[23434]: session closed for user oracle
    Jul 29 09:37:08 monoravpc11 pam_rhosts_auth[23444]: allowed to [email protected] as oracle
    Jul 29 09:37:08 monoravpc11 rsh(pam_unix)[23444]: session opened for user oracle by (uid=0)
    Jul 29 09:37:08 monoravpc11 rsh(pam_unix)[23444]: session closed for user oracle
    Jul 29 09:37:08 monoravpc11 pam_rhosts_auth[23477]: allowed to [email protected] as oracle
    Jul 29 09:37:08 monoravpc11 rsh(pam_unix)[23477]: session opened for user oracle by (uid=0)
    Jul 29 09:39:10 monoravpc11 pam_rhosts_auth[25874]: allowed to [email protected] as oracle
    Jul 29 09:39:10 monoravpc11 rsh(pam_unix)[25874]: session opened for user oracle by (uid=0)
    Jul 29 09:40:02 monoravpc11 rsh(pam_unix)[25874]: session closed for user oracle
    Jul 29 09:40:17 monoravpc11 pam_rhosts_auth[27528]: allowed to [email protected] as oracle
    Jul 29 09:40:17 monoravpc11 rsh(pam_unix)[27528]: session opened for user oracle by (uid=0)
    Jul 29 11:55:54 monoravpc11 sshd(pam_unix)[3752]: session closed for user oracle
    Jul 29 11:55:57 monoravpc11 sshd(pam_unix)[26631]: session opened for user oracle by (uid=500)

Maybe you are looking for

  • Error in GUI_DOWNLOAD

    hi everybody do u know why we get the error "Error Calling Data Provider" when downloading a file using the fm 'GUI_DOWNLOAD

  • Transferring items from one warehouse to another

    I have been trying to transfer items from one of our warehouses to another using oStockTransfer and I keep getting the error [OWTR.filler], No Matching Records found (ODBC 2028).  The template is looking for a Business Partner Code.  When I keep the

  • When I try to open Firefox I get a message: "Update could not be installed. Make sure there is not another instance of Firefox. Restart and try again."

    Started w/FF 29 something.on Win XP (Home) SP3 Verified w/Task manager and PS that there is no other instance of FF. Occurs only in my profile, administrator and other users do not get this message. First Resetting, did not work. Safe mode also did n

  • Encoding errors in log?

    Anyone know what these errors might refer to: Encoding file "name of my file". Encoding of "name of my file" failed with error: -2 Encoding file "name of my file". Encoding of "name of my file" failed with error: -12345 Very simple DVD build, two .av

  • How to detect overflowed text?

    Hello, I'd like to programatically detect overflowed text (ie. text which is not visible in its entirety). In reference guide I found that it should work be obtaining FP_Overflowed property of FO_SubCol, but it doesn't work for me. Here's sample docu