Unable to connect target database using dbclient

Hi all

I installed database 11.2.0.2 successfully on linux machine.other machine is windows machine, I installed in CUSTOMER DB 11.2.0.2 by using db client unable to connect target database.


Database version: 11.2.0.2(64 bit)

Windows database: 11.2.0.2(32bit)


Thank you
GS

I installed database 11.2.0.2 successfully on linux machine.other machine is windows machine, I installed in CUSTOMER DB 11.2.0.2 by using db client unable to connect target database.

Set up Listener on the server?

Can you tnsping from windows to linux machine?

Tags: Database

Similar Questions

  • Unable to connect local database using net service name

    Hello all;


    FYI: This question has been posted in high availability. Now, it has been deleted from there.


    I'm trying to connect my local database using authentication remote.

    but make a mistake. Client & server are on the same server.


    SQL > conn u1/u1@primdb

    ERROR: ORA-12545: Connect failed because target host or object does not exist


    SQL > conn / as sysdba

    Connected.


    SQL > show parameter db_name;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_name chain primary


    SQL > show parameter service_name.

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    service name string mydb


    SQL > show parameter db_domain;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_domain string primary.com


    SQL > show parameter global_name;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    global_names boolean FALSE


    SQL > select * from global_name;

    GLOBAL_NAME

    --------------------------------------------------------------------------------

    PRIMARY

    [oracle@localhost admin] $ lsnrctl start

    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on January 18, 2014 16:32:08

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

    From /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: Please wait...

    TNSLSNR for Linux: Version 10.2.0.1.0 - Production

    System settings file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora

    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log

    Error listening on: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=oel5.linuxserver) (PORT = 1521)))

    TNS-12545: Connect failed because target host or object does not exist

    AMT-12560: TNS:protocol adapter error

    TNS-00515: Connect failed because target host or object does not exist

    Listening port could start. See the above error messages...


    -----------------------------------------------------------------------------------


    My listener.ora file content:

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = primary)

    (ORACLE_HOME = u01/app/oracle/product/10.2.0/db_1)

    (GLOBAL_DBNAME = mydb.primary.com)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oel5.linuxserver) (PORT = 1521))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))

    -----------------------------------------------------------------

    My tnsnames.ora content

    primdb =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST= oel5.linuxserver) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = mydb)

    )

    )

    --------------------------------

    $ tnsping primdb


    AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on January 18, 2014 16:40:55

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

    Use settings files:

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = oel5.linuxserver)(PORT=1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = mydb)))

    TNS-12545: Connect failed because target host or object does not exist

    Thanks in advance...


    SERVICE_NAME =? in tnsnames.ora file should MATCH what is reported by the listener EXACTLY (like one from below)

    > Service 'mydb.primary.com' has 1 instance (s).

    Instance of 'primary', State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    > Service 'primary.primary.com' has 1 instance (s).

    Instance of 'primary', State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    > Service 'primary_XPT.primary.com' has 1 instance (s).

  • Unable to connect to databases via Grid Control

    Hello world

    I have seen similar topics on the forums, but none of them could help me.

    I installed version OEM Grid Control 5 on a rhel 5.3. I started to deploy agents on multiple hosts (windows 2003 and linux). I now opened ports in the firewall:
    TCP_4889: agent-> control grid
    TCP_1521: grid-> agent control
    TCP_3872: grid-> agent control

    Agents are up and I see all the instances in the target/databases tab.
    Here's my problem:
    The State of each instance is Metric Collection error and the message is * "this database is not configured."

    When I click on Configure , then test the connection , I have the following error:
    Unable to connect to the database: IO exception: connection is the connection descriptor was (description = (address = (host = myserver_hostname)(protocol=tcp) (port = 1521)) (connect_data = (service_name = instance_name) (instance_name = instance_name)(UR=A)))

    When I connect to the server, I can connect to the database, the listener is in place. But emctl status dbconsole says:
    TZ set to Europe/Paris
    OC4J Configuration problem. $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_servername_instancename not found.

    But this file is...

    Any idea?
    Thank you very much

    ORA-01017: name of user and password invalid.

    Network server connect to the use of target-> "general" user database

    "" So, make target you as 'general' on the database "not blocking" status and course of password.

    Example: on the basis of data target

    SQL > select username, account_status from dba_users where username = "GENERAL";

    USERNAME ACCOUNT_STATUS
    ------------------------------ --------------------------------
    OPEN DBSNMP

    SQL > connect dbsnmp/pasword@target_database

    After this trial once again ;)

  • Unable to connect target RT in the LabView project

    Hello

    I use time LabView real-time 8.5 on a desktop PC. I see the target at MAX where I can change the network settings on the target and use FTP without problem. But it is impossible to connect to the target in a LabView project.
    The error of the target journal wrote:
    ####
    #Date: Monday, June 9, 2008 03:04:29
    #OSName: PharLap
    #OSVers: 13.0
    #AppName: PH_EXEC
    #Version: 8.5
    #AppKind: AppLib
    #AppModDate: 09/06/2008 06:55 GMT

    LVRT. DLL loads the address: 0x003EE000

    Can someone help me?

    Thanks in advance

    Hello everyone.

    The problem is solved! The reason of my problem is that LabView RT 8.5.0 supports no more than 2 GB of RAM installed on the computer, as described in this document.
    My RAM GB setting the things that were not possible before:
    -to connect to the target in a LabView project and deploy the code.
    -to activate the multiple core processor in the BIOS of the machine

    I said that the withdrawal of the USB keyboard is useful. Indeed with my keyboard plugged in, when I install other software as server VISA for example, MAX do not recognize the target automatically, I have to add it manually by specifying the IP address and I can not connect to the target in a project of LV.
    Unplug the USB keyboard (and other devices) to solve this problem.

    Good day...

  • I am unable to connect my system using the microsoft account.

    Separated from this thread.

    Hello

    Unable to connect to my system using microsoft account IAM. I forgot the password, so went online and reset it, try to connect with the new password still showing the error message "your pc is offline. Please sign in with the last password used on this C. P'?

    no idea about my old password and unable to connect with the new password too.

    What is the fix for this?

    Hi Deepika,

    Thanks for posting your query on Microsoft Community forum.

    I would be grateful if you can provide us with the following information to help us better understand the issue.

    1. Do you have any active account except your Microsoft account?
    2. Are able to connect to your e-mail you used as Microsoft account using the new password on the web?

    I suggest you refer to the following articles in order to retrieve your forgotten password.

    What to do if you forget your Windows password

    http://Windows.Microsoft.com/en-us/Windows/what-do-forget-Windows-password#1TC=Windows-8

    Note: When you reinstall Windows, make sure that you must back up all data.

    Return to your Microsoft account if it has been compromised

    http://Windows.Microsoft.com/en-us/Windows-8/get-back-blocked-hacked-account

    Hope this information is useful.

    Thank you.

  • Unable to connect to vsphere using VIX ESXi

    Dear experts,

    Please help me get started with VIX!

    I'm trying to start a virtual machine hosted in a vSphere, ESXi (4.0.0, 208167) using the utility "vmrun" I got by installing the VIX API 1.8.1 on my windows xp sp3 machine.  The command that I used is

    t h https://199.63.30.163/ u root Pei xxxx esx vmrun start "[datastore1] L4-pare-fire/L4 - Firewall.vmx.

    The answer I got was

    Unable to connect to the host.

    Error: Unknown error

    I'm doing something wrong?

    Thanks in advance for any help

    Arun

    The content of the log file is as below

    VMware-vix-E159514 - 5580.log:

    15:45:46.751 Jul 02: app | Journal of Vix pid = 5580 version = - 1 build = build-186713 option = exit

    15:45:46.751 Jul 02: app | The process is 32-bit.

    15:45:46.751 Jul 02: app | Host codepage = encoding windows-1252 = windows-1252

    15:45:46.751 Jul 02: app | Foundry Init: implementation of State comprehensive (0 topics)

    15:45:46.751 Jul 02: app | Vix_InitializeGlobalState: vixLogLevel = 0

    15:45:46.751 Jul 02: app | Vix_InitializeGlobalState: vixApiTraceLevel = 0

    15:45:46.751 Jul 02: app | Vix_InitializeGlobalState: vixDebugPanicOnVixAssert = 0

    15:45:46.751 Jul 02: app | Vix_InitializeGlobalState: vixLogRefcountOnFinalRelease = 0

    15:45:46.892 Jul 02: app | Debugging VMX has been requested, but does not exist.  VMX using standard.

    15:45:46.892 Jul 02: app | Stats VMX has been requested, but does not exist.  VMX using standard.

    15:45:46.986 Jul 02: app | DynaLink inaccessible oleaut32.dll?

    15:45:46.986 Jul 02: app |

    15:45:46.986 Jul 02: app | Unable to connect to WMI

    15:45:46.986 Jul 02: app | VmhsHostInfoPopulateSystem: Could not get the host model.

    15:45:46.986 Jul 02: app | VmhsHostInfoPopulateSystem: Could not obtain from the vendor of the host.

    15:45:46.986 Jul 02: app | Host operating system: "Microsoft Windows XP Professional 5.1.2600 Service Pack 3", product type '1', then mask ' 0 x 0100.

    15:45:46.986 Jul 02: app | HOSTINFO: See Intel CPU, numCoresPerCPU 2, numThreadsPerCore 1.

    15:45:46.986 Jul 02: app | HOSTINFO: This machine has 1 physical CPU, 2 total hearts and 2 logical processors.

    15:45:47.111 Jul 02: app | REGIONAL settings windows-1252 - & gt; The user NULL = system 409 = 409

    15:45:47.111 02 Jul: app | VixHost_ConnectEx: version - 1, hostType 5, hostName https://199.63.30.163hostPort 0, options of 528

    15:45:47.111 Jul 02: app | HOSTINFO 1325145992288 @ 3579545Hz - & gt; 0 to 1000000Hz

    15:45:47.111 Jul 02: app | HOSTINFO ((x * 2399728063) & gt; & gt; 33) +-370199562197

    15:45:47.111 Jul 02: app | HOSTINFO 1325145992415 @ 3579545Hz - & gt; 0 to 1000000Hz

    15:45:47.111 Jul 02: app | HOSTINFO ((x * 2399728063) & gt; & gt; 33) +-370199562233

    15:45:47.236 Jul 02: app | VIX: : VixTranslateVimException: received an invalid response error.

    15:45:47.236 Jul 02: app | VIX: : VixTranslateVimException: HTTP response code is 400.

    15:45:47.236 Jul 02: app | VIX: : VixTranslateVimException: response message is «»

    VMware-vixWrapper-E159514 - 5580.log

    15:45:46.501 Jul 02: app-6504. Journal of the VixWrapper pid = 5580 version = 1 build = build-207905 option = exit

    15:45:46.501 Jul 02: app-6504. The process is 32-bit.

    15:45:46.501 Jul 02: app-6504. Host codepage = encoding windows-1252 = windows-1252

    15:45:46.501 Jul 02: app-6504. config points to the library which implements nonexistent ' C:\Program VMware VIX
    ws_server_esx-4\32bit\vix.dll'

    15:45:46.501 Jul 02: app-6504. config points to the library which implements nonexistent ' C:\Program VMware VIX
    ws_server_esx-4\32bit\vix.dll'

    15:45:46.501 Jul 02: app-6504. config points to the library which implements nonexistent ' C:\Program VMware VIX
    ws_server_esx-4\32bit\vix.dll'

    15:45:46.501 Jul 02: app-6504. config points to the library which implements nonexistent ' C:\Program VMware VIX
    ws_server_esx-4\32bit\vix.dll'

    15:45:46.501 Jul 02: app-6504. Loading library that implements C:\Program VMware VIX Vix
    VSphere-4.0\32bit\vix.dll

    15:45:46.579 Jul 02: app-6504. Cannot load func VixHost_OpenVM draws in C:\Program VMware VIX
    VSphere-4.0\32bit\vix.dll (127)

    I took another look at the command. Missing the "/ sdk.

    t h https://199.63.30.163/sdk u root Pei xxxx esx vmrun start "\[datastore1\] L4-pare-fire/L4 - Firewall.vmx.

    André

  • Unable to connect pluggable database

    Hello

    Version: 12.1.0.2, platform: AIX, CBD: B12C, PDB: MYPDB1

    I am trying to connect newly created connectable to database. But it is throwing an error is not available and when I check open_mode is read/write for mypdb1 the database.

    Can you please help me where I am wrong? I fight with it more than a week.

    listener.ora :
    LSNRB12C =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = adc40)(PORT = 1550))
        )
      )
    
    
    SID_LIST_LSNRB12C =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = B12C)
          (ORACLE_HOME = /oracle/AIX/12102_64)
          (SID_NAME = B12C)
        )
        (SID_DESC =
          (ORACLE_HOME = /oracle/AIX/12102_64)
          (SID_NAME =MYPDB1)
        )
      )
    
    
    tnsnames.ora for pluggable database:
    MYPDB1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = adc40)(PORT = 1550))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = MYPDB1)
        )
      )
    
    
    adc40 {oracle}:>lsnrctl status LSNRB12C
    LSNRCTL for IBM/AIX RISC System/6000: Version 12.1.0.2.0 - Production on 09-SEP-2015 21:56:44
    Copyright (c) 1991, 2014, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=adc40)(PORT=1550)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LSNRB12C
    Version                   TNSLSNR for IBM/AIX RISC System/6000: Version 12.1.0.2.0 - Production
    Start Date                08-SEP-2015 23:21:16
    Uptime                    0 days 22 hr. 35 min. 28 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /oracle/AIX/12102_64/network/admin/listener.ora
    Listener Log File         /oracle/AIX/diag/tnslsnr/adc40/lsnrb12c/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=adc40)(PORT=1550)))
    Services Summary...
    Service "B12C" has 1 instance(s).
      Instance "B12C", status UNKNOWN, has 1 handler(s) for this service...
    Service "MYPDB1" has 1 instance(s).
      Instance "MYPDB1", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    
    
    adc40 {oracle}:>env |grep ORACLE
    ORACLE_BASE=/oracle/AIX
    ORACLE_SID=B12C
    ORACLE_HOME=/oracle/AIX/12102_64
    
    
    adc40 {oracle}:>sqlplus "/as sysdba"
    SQL*Plus: Release 12.1.0.2.0 Production on Wed Sep 9 22:01:50 2015
    Copyright (c) 1982, 2014, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
    
    
    SQL> select NAME,OPEN_MODE,RESTRICTED from v$pdbs;
    
    
    NAME                           OPEN_MODE  RES
    ------------------------------ ---------- ---
    PDB$SEED                       READ ONLY  NO
    MYPDB1                         READ WRITE NO
    MYPDB2                         READ WRITE NO
    MYPDB3                         READ WRITE NO
    
    
    SQL> create user c##1 identified by oracle container=all;
    User created.
    SQL> grant create session to C##1 container=all;
    Grant succeeded.
    SQL> sho con_name
    CON_NAME
    ------------------------------
    CDB$ROOT
    SQL>  alter session set container=mypdb1;
    Session altered.
    SQL> sho con_name
    CON_NAME
    ------------------------------
    MYPDB1
    
    
    SQL> connect c##1/oracle@adc40:1550/b12c
    Connected.
    SQL> connect c##1/oracle@adc40:1550/mypdb1
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 2311
    Additional information: 186818867
    Process ID: 0
    Session ID: 0 Serial number: 0
    
    
    Warning: You are no longer connected to ORACLE.
    
    
    
    

    Can you please tell me why it shows database is unavailable, even if mypdb is open?

    Thank you

    Arul

    You cannot connect to a PDB file through a registration of the listener static like this, because there is just no SID not named MYPDB1. You must register the services dynamically. In the root.

    ALTER system set local_listener = "adc40:1550";

    editing the system registry;

    --

    John Watson

    Oracle Certified Master s/n

  • problem connecting to the database using dbclient

    Can someone help to solve the following question

    The following error occurred when connecting to the database when connecting dbclient to the database on linux from windows
    . TNS dbclient names has been configured with the SID and IP address of the machine from database

    ERROR:
    ORA-12560: TNS:protocol adapter error

    Could you share your tnsnames.ora file

    And refer to this topic

    http://forums.Oracle.com/forums/thread.jspa?MessageID=9142058�

  • Unable to connect target - vSphere replication Sites

    I hope someone here can help me understand a problem connecting between my two servers of VRM.

    Background:

    After passage of 6.0U2 5.5, I had problems with re-login Site Recovery Manager. Because SRM was not really in use yet (testing), I decided to redeploy fresh from the base, including replication of vSphere components.

    After removing all the rehearsals and not record old vSphere replication devices, I transferred the latest packages of EGGS to the VRM.  Everything was fine.  I have updated certificates for certificates customized our company certification and placed the root certificate in the file /opt/vmware/hms/security/hms-truststore.jks .  Then, I recorded each VRM with their respective vCenters and had no problems.

    1.png

    Both VRM active lounge and OK in vSphere replication of the Web Client:

    2.png

    When you attempt to connect to the target Site, the following error is received:

    3.png

    But then in the list of tasks, it ends with success and shows the connection, but with a connection problem error:

    4.png

    This is the architecture of our PSC and vCenters and each VRM.  All use of our certification of Enterprise SSL certificates:

    5.png

    There is no firewall between one of these servers.

    HMS logs are attached here as well.

    Any help would be appreciated.

    Thank you

    After that I originally posted this, a new version of vSphere replication was released.  After the upgrade to the latest version, my problem magically disappeared.

  • Unable to connect to database through OEM

    I am trying to connect to a database through OEM as SYSDBA. By using the same user name and password, I can connect the OEM server through sqlplus database. However, when I try to connect via OEM, is getting an ORA-01017: username/password invalid name

    It seems that you are using the window, if yes please make sure you have activate the log on as batch jon

    Go to control panel, administrative tools.

    2. click on local security policy.

    3. policies, user rights assignment.

    4. double-click on, "log in as a batch.

  • Connection to database using an ASP Javascript page

    I use the trial version of the CS6 cloud. Open an ASP Javascript page then wants to connect to my database. The only thing that appears is a spry connection. If I open an ASP VBscript page, the connection is available. I have CS3 and wanted to update, but in this respect is not in CS6 for an ASP Javascript page?

    While the definition of site offers a choice of ASP JS, ASP VBScript is the only version of ASP that DW CS5 + supports for the automatic generation of code through server behaviors & recordsets. So, I guess you're out of luck.

    ASP.NET & JSP behaviors have been deprecated in DW CS4. ASP JS behaviors have been deprecated in DW CS5.

    -ST

  • Connection to database using Flex

    How to connect to the database like sql server using flex?

    Clarification: XML is not the only format you can use. For more information about your options and a quick overview of the data access server side through Flex, see http://help.adobe.com/en_US/flex/accessingdata/WSbde04e3d3e6474c46c45e7b4120d413dc14-8000. html

  • How to connect a database using coding in the shutter button in forms

    Oracle forms6i

    Hai All

    Y at - it a possiblity to connect using the coding of data bases.

    For example, when we open a form and we use some button and write some coding and when we run a small will appear and give us the user name, login name and database name.

    It is possible it when we create a button and this button we write our database name, the login ID and the user coding and when we exe it will connect to internal database Pls tell me...


    Concerning

    Srikkanth.M

    Use the LOGIN procedure

    PROCEDURE LOGON
      (username  VARCHAR2,
       password  VARCHAR2); 
    
    logon('scott','tiger@orcl');
    

    Mr.Srikkanth.M if you do not close your old questions do not answer your question each time... so please remember if you think that the response of the person is useful or appropriate mark it accordingly

    Thanks :)

    Bangoura
    [My Oracle Blog | http://baigsorcl.blogspot.com/]

  • Unable to connect to SMTP using TLS with a certificate self-signed on OSX 10.10.1 (T31.3 & 24.6)

    I can't connect to my server SMTP with TLS on port (send 465 or 587 / 995 receive) using Thunderbird 31.3 or my OS X 10.10.1 24.6 (Didier) MacBook Pro.

    However, I am able to send and receive mail from the same account on my Windows 7 machine using Outlook 2007, using the same settings I configured in Thunderbird. I added the certificate etc.

    http://img.Photobucket.com/albums/v631/Napoleon_BlownApart/ScreenShot2014-12-16at121323pm.PNG (Taken when using 24.6)

    I am the admin of the server and the password and other settings on the side Server are correct! (I'll take a look at the evolution at the same time. I am already back to an earlier version of Firefox because of sloppy coding and broken features).

    Any ideas?

    If the server name is a secret, how you expect to receive mail. Please, we have pretty bad without guessing. Seriously what you are done using a self signed certificate, they are free by https://www.startssl.com/

    My guess is it of OSX who dislikes the self-signed certificate, how Thunderbird to deal with Windows. As you have a copy install Thunderbird and see if it is a question of OSX.

  • Unable to connect to websites using safari, although my wife use the imac, which has a separate login id can?

    When I open Safari from the dock it shows as usual, but when I try to connect to it looking for Web sites, it does not. can't display preferences etc either. Also, my wife uses the Imac and has a separate login ID and its works very well for her. Worked ok until the end of the week. Any ideas how to fix? Have tried to install the latest version of Mac OS X, but nothing helps.

    What version of Mac OS X is installed, your profile shows 10.7 but I suspect that it is not correct.

Maybe you are looking for