problems connecting to databases

Hi gurus,

I have a well documented problem but cannot be resolved by myself. I need a little help.

I have two databases in my laptop, the two 11.2.0.1 running in windows 7 (I know that it was not taken in charge yet, but this isn't the problem).

Now I want to double ORIGINAL copy of database with rman, but I'm having:
RMAN-04006: auxiliary database error: ORA-12505: TNS:listener is not currently of SID given in connect

The two databases are running and works well, I can connect in different windows:
set ORACLE_SID=ORIGINAL
sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Jue Ago 2 11:02:47 2012
Copyright (c) 1982, 2010, Oracle.  All rights reserved.
Conectado a:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select name from v$database;
NAME
---------
ORIGINAL

in other window:
set ORACLE_SID=COPY
sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Jue Ago 2 11:02:47 2012
Copyright (c) 1982, 2010, Oracle.  All rights reserved.
Conectado a:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select name from v$database;
NAME
---------
COPY
so, I check the tnsnames:
# tnsnames.ora Network Configuration File: C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

COPY=
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = copy)
    )
  )

ORIGINAL=
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = ORIGINAL)
    )
  )

ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
    )
  )

LISTENER_COPY =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))


LISTENER_ORIGINAL =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
Normal all the shows in order to check the listener services:
C:\Users\my_user>lsnrctl services;

LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 02-AGO-2012 11:30
:28

Copyright (c) 1991, 2010, Oracle.  All rights reserved.

Conectßndose a (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Resumen de Servicios...
El servicio "CLRExtProc" tiene 1 instancia(s).
  La instancia "CLRExtProc", con estado UNKNOWN, tiene 1 manejador(es) para este
 servicio...
    Manejador(es):
      "DEDICATED" establecido:0 rechazado:0
         LOCAL SERVER
El servicio "DDBBXDB" tiene 1 instancia(s).
  La instancia "original", con estado READY, tiene 1 manejador(es) para este servicio...
    Manejador(es):
      "D000" establecidos:0 rechazados:0 actuales:0 mßximo:1022 estado:ready
         DISPATCHER <machine: MY_USER, pid: 4356>
         (ADDRESS=(PROTOCOL=tcp)(HOST=MY_USER)(PORT=54428))
El servicio "original" tiene 1 instancia(s).
  La instancia "original", con estado READY, tiene 1 manejador(es) para este servicio...
    Manejador(es):
      "DEDICATED" establecido:0 rechazado:0 estado:ready
         LOCAL SERVER
El comando ha terminado correctamente
Listener.ora
# listener.ora Network Configuration File: C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:C:\Users\my_user\miBBDD\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    )
  )

ADR_BASE_LISTENER = C:\Users\my_user\miBBDD
and sqlnet.ora
# sqlnet.ora Network Configuration File: C:\Users\my_user\miBBDD\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)
I don't know why and how solve it, so any idea will be apreciated.

Thank you

Good to hear that :)
Please if you get your answer, mark this thread as a response.

Tags: Database

Similar Questions

  • Problem connecting to database - ORA-12154

    Hi all

    I can't tnsping and sqlplus using my client computer SYSTEM

    Now, I created another user, called DEVSS. I can connect to this user using SQL_developer, but not through SQL Plus.

    Below I have connected using SYSTEM and then tried to connect using DEVSS, but this resulted in error

    Please advise... Anypointers will be useful!

    C:\Users\saring1 > SQLPLUS SYSTEM/password@MYDATA
    SQL * more: Production release 11.2.0.3.0 on Sun Jul 1 20:48:36 2012
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.

    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    With partitioning, OLAP, Data Mining and Real Application Testing options
    SQL > connect DEVSS/password
    ERROR:
    ORA-12154: TNS: could not resolve the connect identifier specified

    WARNING: You are more connected to ORACLE.
    SQL > connect DEVSS
    Enter the password:
    ERROR:
    ORA-12154: TNS: could not resolve the connect identifier specified

    SQL >
    If I try directly this way, I get an error like below-

    M:\ > sqlplus DEVSS/password@hostname
    SQL * more: Production release 11.2.0.3.0 on Sun Jul 1 21:44:10 2012

    Copyright (c) 1982, 2011, Oracle.  All rights reserved.

    ERROR:
    ORA-12154: TNS: could not resolve the connect identifier specified


    Enter the user name:
    Enter the user name:

    Here are the files (tnsnames and listner.ora) from the server database.
    file tnsnames.ora on the client is similar.


    Tnsnames.ora
    **********************************************
    MYDATA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1251))(HOST = hostname))
    (CONNECT_DATA = (SERVICE_NAME = MYDATA)))
    ***********************************************

    listner.ora
    ******************************************
    #
    # Definition of database listener Net8
    #

    MYDATA =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1251))(HOST = hostname))
    )
    )

    SID_LIST_MYDATA =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = d01/product/11.2.0.3/mydata)
    (SID_NAME = MYDATA)
    )
    )

    STARTUP_WAIT_TIME_MYDATA = 0
    CONNECT_TIMEOUT_MYDATA = 10
    TRACE_LEVEL_MYDATA = OFF

    LOG_DIRECTORY_MYDATA = /d01/product/11.2.0.3/mydata/network/admin
    LOG_FILE_DEVRHYP = MYDATA
    TRACE_DIRECTORY_MYDATA = /d01/product/11.2.0.3/mydata/network/admin
    TRACE_FILE_DEVRHYP = MYDATA
    ADMIN_RESTRICTIONS_MYDATA = WE
    SUBSCRIBE_FOR_NODE_DOWN_EVENT_MYDATA = OFF


    # adding parameters for the bug # 9286476
    LOG_STATUS_MYDATA = WE
    INBOUND_CONNECT_TIMEOUT_MYDATA = 60

    # ADR applies only to the 11gDB
    DIAG_ADR_ENABLED_MYDATA = WE
    ADR_BASE_MYDATA = /d01/product/11.2.0.3/mydata/admin/
    ************************************************

    Whirlpool says:
    Hello

    Please find the below output. Don't know why it gives a different errors, I tried two times...

    M:\>sqlplus scott/tiger@'hostname:1251/MYDATA'

    SQL * more: Production of the version 11.2.0.3.0 on Mon Jul 2 00:21:50 2012

    Copyright (c) 1982, 2011, Oracle. All rights reserved.

    ERROR:
    ORA-01017: name of user and password invalid. connection refused

    If/when you use the username/password valid name that will connect you to th DB!

    >

    Enter the user name: scott
    Enter the password:
    ERROR:
    ORA-12560: TNS:protocol adapter error

    before you try to connect to 'local' DB & is not using SQL * Net

  • Problem connecting to the server, error connection server and printer offline. I have a HP photosmart printer and Windows 7?

    My printer is not printing. It say problem connecting to the server, connection error server and printer offline. I have a HP photosmart printer and windows 7.

    You have McAfee? McAfee has been updated at the same time as the last batch of updates from Windows 7 and it seems to be the cause of this problem for most, if not all, users.

    See the communication from this "criticism" - McAfee

    Some customers may experience a loss of network connectivity and/or errors in McAfee Security Center after a recent update

    You should make the fix McAfee, if necessary. There are corresponding communications for their enterprise products.

    I got McAfee, but the connection has started working again on its own so I thought I was clear of problems. However, when I checked it says he was doing routine checks the updates in vain when I told it to do a manually. So stick with McAfee you don't follow their procedure of fix would have upgraded my PC at risk by not updated and, like other McAfee ads have since explained, the application did not refer to its database of threats correctly [and this could explain part of the variability of the symptoms of failure but all involved loss of internet connection]. Actually, I removed McAfee then installed Microsoft Security Essentials rather & my answer IE is faster I knew it [even though I had the Add-ons McAfee disabled for centuries].

    I had to run the removal of McAfee Development tool a few times before and it caused a problem with the license if the PC was not connected to the internet during the abduction. Due cat of McAfee support reset their files in order to allow the relocation-reactivation. Here is their link cat - McAfee - media contains the link to the cat

  • o impossible to connect the database

    Hi Experts,

    When I try to connect the database in my local computer I get the error like below for past 3 days.

    Please help me with this problem, I have very important data in my db.

    OS: win xp.

    Error is:

    SQL > conn scott/password
    ERROR:
    ORA-01033: ORACLE initialization or shutting
    Process ID: 0
    Session IDs: serial number 0: 0


    SQL > conn sys/password AS SYSDBA
    ERROR:
    ORA-28056: audit event log entry records Windows failed
    OSD-248170904: Message not found 248170904. product = RDBMS. installation = SOSD
    S/O-error: (OS 1502) the event log file is full.
    ORA-01075: you are currently connected



    Thanks in advance.
    Surya.

    Your windows (start-> Run-> eventviewer) event log is full. Erase old newspapers and then try to connect to the database.

    Mark the thread as answered by providing appropriate points or else still this thread would be added to your account of the bunch of unanswered questions that you encounter ;)

    Keep the forum clean marking your questions answered!

  • Problem changing the database of reports of HFM

    Hi, I have currently two applications in HFM, one is for the development and the other for testing

    I have several reports in my application dev., and I'm trying to use them in the test application.

    I followed the manual instructions on how to change the connection of database reports using the tools-> menu change the database connection on the workspace.

    I managed to most of the cases, but 4 reports throw a warning that says ArrayIndexOutOfBounds that blocks the process of "migration."

    Could someone help me with this one?

    Thank you

    I hate to say it, but I have a lot of problems with that too. Sometimes it does not give an error, but it does not work. My solution is to change the connection of database outside the workspace and re-import them manually. In particular, this makes the most sense if you have a quantity in bulk of reports to work with. (i.e., I have a new app and I want to import a group of reports to run against it).

    As I do this is to use a text search and replace tool and replace the existing information in the database with the new information.

    I've posted a text on how to do it here.

    I'll see if I can find it and I will update this post with a link.

    Edit: Link is here: Re: migration of HFM, FDM, SS one env to another

    Look at my notes of the workspace as I speak to you of migration related to a different environment that has the idea of Basic.

    Thank you

    Published by: beyerch2 on August 25, 2011 14:52

  • ORA-01017: name of user and password invalid. connection refused - Database Link

    Hi guys,.

    Could you help me, I have a problem connecting to a different database using the database link:

    * 1. I have added in the database 'customer' DEV2 tnsnanes.ora *.

    DEV =
    + (DESCRIPTION = +
    + (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.100.85)(PORT = 1521)) +.
    + (CONNECT_DATA = +
    + (SID = DEVDB) +.
    +)+
    +)+

    * 2. I tested my connection using tnsping *.

    Oracle@dev > tnsping dev

    AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on July 10, 2010 14:35:35

    Copyright (c) 1997, 2005, Oracle.  All rights reserved.

    Use settings files:
    +/opt/Oracle/product/10.2/Db_1/network/admin/SQLNET.ora+


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.100.85)(PORT = 1521)) (CONNECT_DATA = (SID = DEVDB)))
    OK (0 msec)
    Oracle@dev >

    * 3. In SQLPLUS of DEV2 I connect to my database using the tnsnames entry *.

    SQL > conn devuser/pwd001@dev
    Connected.

    * 4. I then create a database of link.*

    SQL > Create Database Link dev_Link
    + 2 Connect devuser +.
    + 3 identified by pwd001 +.
    + 4 using "DEV"; +

    Database link created.

    SQL >

    * 5. When I try to connect to the database using the database link, I get an error, but I'm sure that the password and user name are ok.*

    SQL > select * from global_name@dev_link;
    Select * from global_name@dev_link
    *+
    ERROR on line 1:
    ORA-01017: name of user and password invalid. connection refused
    ORA-02063: preceding the line of DEV_LINK


    SQL >


    What could be wrong...?

    Try to connect to the database via SQLPlus target using the tnsnames.ora entry: sqlplus bob@remote.

    If the target db is 11g, then breaking the password may be the matter. Try placiing the password in quotes when you create the database link.

    HTH - Mark D Powell.

  • Problem connecting to the server

    Whenever I open the pictures, I get an alert that reads: 'there was a problem connecting to the server "my-server", which is another Mac on my network.

    If I close the dialogue box, Photos keeps trying to connect and it appears again a few seconds later.

    Does anyone have an idea as Photos is all this and how I can stop doing?

    No idea - don't forget we can not see you if you have details

    We do not yet have an idea what software you use or you use 'MyServer' for

    What are the versions of the operating system and Photos do you use? What is your server? How are you connected to it?

    LN

  • Problem connecting to the server after moving

    Hi, I keep getting the message "there is a problem connecting to the server"192.168.0.19"etc. This happened after I moved. New ISP, new router. I have an Airport Express and a NAS connected to it. Time Machine and Icloud on the NAS. I think that the NAS has this IP address before moving. There are now 192.168.10.176. Everything works, but I get the pop up frequently.

    I look at the accounts and start but nothing. I reboot safe mode does not remove the problem. So, what can I do?

    I'm on Yosemite with MBR.

    Can you connect using the new IP address?

  • There was a problem connecting to the server 'SERVER NAME' error guard appearing

    There was a problem connecting to the server 'SERVER NAME' error guard appearing even though the server is not on my current network.  I recently moved my iMac to a different location and a different network, and now he constantly tries to connect to the old server.  This message appears every 30 seconds and several of those who appear (see pictures) it's extremely frustrating because it makes the machine almost useless because I am constantly closing them.  No matter how many times I try to stop the activity monitor it it keeps reappearing, and I even tried a few terminal commands that I found online, then restarted the computer, but still had no success.  I would appreciate all the advice really.

    I hope that gives you an idea of what I got!

  • Problems connecting to a site I never had problems before

    Hello
    I don't know if my current problem is related to the LENGTH of the questions that I posted earlier today. This morning I logged on a website as usual, but tonight, I have a problem connecting to. When I can I connect, I can not use the services. First of all, I have a new page greeted me that I've never seen before.

    Another thing, should I say that I don't have the latest FF browser when I click on help == > Feedback. Today, I downloaded the latest version 19.0.2.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > Cookies: "show the Cookies".

    If clearing cookies doesn't work, then it is possible that the cookies.sqlite file that stores the cookies is corrupted.

    Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete other files to present as cookie cookies.sqlite - journal in the profile folder of Firefox in the case where the cookies.sqlite file has been corrupted.

    You can use this button to go to the Firefox profile folder:

    • Help > troubleshooting information > profile directory: see file
  • I have a problem connecting on ebay if you use firefox, I get a message saying that the page does not not despite having cleared my cache and cookies.

    I have a problem connecting on ebay when you use firefox, it has been fine for years, but since a few days, I get a message saying that the page does not when I try to log in. I tried to clear my cookies and cache, but it makes no difference. This does not occur in google chrome and I can log on fine there so what's the problem with firefox?

    Do you also have this problem if you temporarily switch to private browsing mode?

    • Tools > Options > privacy, choose the setting Firefox will: use the custom settings for the story of
    • Select: [X] 'always use private browsing mode '.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).

    See also:

  • Check error: there was a problem connecting to the server Apple ID

    When I try to connect to my iTunes on my Windows laptop account it is said there is a problem connecting to the Apple ID server. This problem did not begin until 2 days. I have the latest version of iTunes and Windows.

    What is the number of the version of iTunes?

    For general advice, see troubleshooting problems with iTunes for Windows updates.

    Start by missing error MSI.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach.

    Review the other boxes and other support documents list to the bottom of the page, in case one of them applies.

    More information area has direct links with the current and recent buildings if you have problems to download, must revert to an older version or want to try the version of iTunes for Windows (64-bit-for old video cards) as a workaround for problems with installation or operation, or compatibility with QuickTime software or a third party.

    Backups of your library and device should be affected by these measures but there are links to backup and recovery advice there.

    Leave a post by: turingtest2

    On the PC, when connecting each device, it loads a separate driver. You can try this trick when you want to get iTunes recognizes the iPhone 6. Thanks to the user of the CSA turingtest2 for the tip.

    Try the following:

    Open Control Panel > Device Manager

    Plug in your device

    Locate Bus USB Controllers > Apple Mobile Device USB Driver.
    It is also possible that the device may appear under imaging devices, portable devices or other devices or as a device USB of MTB.

    Right-click and select software update of the driver...

    Click Browse my computer for driver software

    Go to C:\Program Files\Common Apple Mobile Device Support\Drivers or
    C:\Program Files (x 86) \Common Files\Apple\Mobile Device Support\Drivers

    Click on let me pick from a list of drivers for devices on my computer

    Click on Apple Mobile Device USB Driver

    Click Next, then close and exit the Device Manager

    Leave a post by: ChrisJ4203

  • Satellite C850 - 19(d) - problems connecting to internet

    Ive had problems connecting to the internet for the past weeks.
    I used to be able to just open my browser after my phone finished putting in, but now I have to wait because after setting up my connection is limited so I have to wait for it to connect completely.

    When it finishes by the fact that he goes to random then disconnect. It used to take long periods of time, like an hour or something while now it disconnects after 10 to 20 minutes, that drives me crazy.
    The only thing that will fix it restart my laptop.

    I use a single network where I have a fixed IP address, the family use it, but we all different IP addresses so it should not be because of this.

    The other network is open, but it has the same problems.

    Curiously, when I use more than one window, a window or tab could still operate, usually that's my facebook chat. Often this will continue to work, but nothing else. No other tab, or even facebook will update. He'll just ask that there is no internet connection.

    The network will be disconnected and will not reconnect until I restart the laptop. I tried to just disable the wifi for a few minutes, but he does not either. You have to restart.

    As I said, there is a fixed IP address, but because there are 4 other laptops in my house, we all use a different IP address, including smartphones, but nobody else has this problem. What makes me think this is my laptop which has a problem, but I don't know what.

    I need that an operating system can cause problems like this but I don't have my operating system changes, and it's always Windows 8. Can't do updates because I don't have internet for long enough.

    Is there something wrong with my network card, or is there something else?

    > Y at - it something wrong with my network card, or is there something else?

    I assume you mean the wireless connection. Is this right?

    First I would recommend you to check if the same internet connection using the LAN cable.

    Second, you should check if you have the same problem using the laptop with the battery or even computer using the socket.
    I m asking that because in many cases power saving options can affect the connection.

    Last but not least, you should also check if it would be possible to update the WLan driver (in case you use the Wlan connection).
    In many cases the Wlan driver update would solve some compatibility and feature wireless problems.

  • problems connecting to gmail and other sites (unles in inprivate mode?)

    Hello

    I have problems connecting to gmail (unless in private mode?)

    I had a similar problem with www.kvraudio.com and I removed the cookie manually.

    I removed the cookie from gmail (I think), but it did not help. There are a few cookies from google, but I'm not messing things.

    So far, I like firefox but I need to be able to "connect to sites" without their "brought back me to the login page" each time

    Can you help me?

    If clearing cookies doesn't help, then it is possible that the cookies.sqlite file that stores the cookies is corrupted.

    Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete cookies.sqlite - journal and cookies.txt, if they exist, in the profile folder in case the cookies.sqlite file has been corrupted.

  • Laptop started having problems connecting to internet connections Wi - Fi

    in recent weeks my laptop new (6 months) started having problems connecting to wireless devices after spending hours ranging from hollow forums, check the settings in device etc, computer managers them laptop turns off, restarts said there was a problem that caused the laptop to the stop and then when it restarts it connects to the wireless device fine. If I stop back on the laptop, the problem when I turn it on.

    Not only it will pick up my wireless network, it says no wireless networks found despite her grateful normally about 15 other wireless connections, that my neighbors.

    Does anyone have a solution in the long term to this problem. I am a student and spent more than 3 hours trying to fix today and I don't have the time to deal with this all day.

    Thanks in advance

    > in the last few weeks my laptop new (6 months) started having problems connecting to wireless devices
    Have you changed some settings or perhaps updated driver WLAN? I mean, I can't imagine that problems start without reason.
    It is not easy to say what may be the problem. Perhaps, you must reinstall the recovery image and test the feature with the factory settings.

Maybe you are looking for