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).

Tags: Database

Similar Questions

  • Impossible to connect to my database using net service name

    Hello all;

    I'm trying to connect my database using net service_name, but I get the error message.
    I have an entry in tnsnames.ora and listener.ora.
    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 the passage of parameter;

    VALUE OF TYPE NAME
    Remote_login_passwordfile string EXCLUSIVE

    SQL > shutdown immediate;
    The database is closed.
    The database is dismounted.
    ORACLE instance stops.


    The DBS directory:

    [oracle@linuxserver dbs] $ orapwd file = orapworcltest password = entries asdf1234 = 3


    export ORACLE_SID = orcltest
    [oracle@linuxserver ~] $ sqlplus/nolog

    SQL * more: 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 you try 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...

    969352 wrote:

    But you should go and get some classes on Oracle OR understand the Oracle documentation otherwise, you won't learn anything ever.

    -Yes. I learn and I work very hard. Few things is not documented ex (even this thread).

    In any case thanks...

    IMO, it's a security risk to allow the connection AS SYSDBA through the network & I never turn on any DB.

  • Connectivity of user using net service name

    Hi all;


    The service_name database level value is different and of course vary in the tnsnames.ora file.

    So how oracle allows user connectivity using tns alias name?


    SQL > conn scott/tiger@CRMS

    Connected.


    SQL > show parameter service_name.


    VALUE OF TYPE NAME

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

    service name string crms.server1.com


    $ vi tansnames.ora


    tnsnames.ora # Network Configuration file: /u02/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    CRMS =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.130)(PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = GCD)

    )

    )

    DB version is: 11.2.0.1 on Linux


    Thank you

    I never statement "changes to the system registry.

    This is not necessary: when you use the default settings for the listener (as in your case), the instance automatically registers with the listener.

    http://docs.Oracle.com/CD/E11882_01/network.112/e41945/listenercfg.htm#NETAG298

  • 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?

  • Unable to connect to the web proxy/services

    Unable to connect to the web proxy/services used for officejet pro 8600 as well as using verizon fios actiontec router.  I tried wireless and ethernet.  Connectivity seems good.

    Resolved.  Port forwarding blocked by another application of verizonwebcamera problem.

  • Unable to connect to the VMware web service: invalid key file

    Hello

    We have a CPO 2.3.1 who refuses to connect to vCenter (see newspaper excerpt at the end of the post).

    Recently, we changed our server vCenter (part of a 5.1 update).

    We tried the following workarounds:

    • Remove and add all the elements of the platform from the portal using services SE
    • Re import automation packs (4 of the Starter Edition v2.3.1.38)
    • Re on the keystore password

    No change at all...

    Do you have an idea on how to fix this?

    Thank you.

    Kind regards

    Stone

    || 235. 02/10/2012 15:46:21.667 | 6072. WCF: http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord ' gravity 'Error' = >http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.TraceHandledException.aspxhandling of an exception. . Tidal.Automation.Server.exe Tidal.Scheduler.Common.Communications.CommunicationException, Tidal.Scheduler.Common, Version = 2.3.0.0, Culture = neutral, PublicKeyToken = fba593b23cf207cdthe connection attempt (VMware vCenter Server (603) @VMware vCenter Server (603)) failed due to the following error: unable to connect to the VMware web service: Invalid keystore. to Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation (ServerAssistedOperation operation, target TargetConfiguration, RuntimeUserConfiguration runtimeUser)

    to Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter. & lt; & gt; c__DisplayClass1c. & lt; PerformServerAssistedOperation & gt; b__1b(IAdapter adapter)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction, haltingAction Boolean, Int32 remainingRetries)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction, Boolean haltingAction)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction)

    to Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Engine.Core.AdapterSystem.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Server.WebService.AdapterService.PerformServerAssistedOperation (operation ServerAssistedOperation)

    at SyncInvokePerformServerAssistedOperation (Object, Object [], Object [])

    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke (object instance, entered to Object [], Object [] & amp; outputs)

    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin (MessageRpc & amp; CPP)

    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5 (MessageRpc & amp; CPP)

    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31 (MessageRpc & amp; CPP)

    at System.ServiceModel.Dispatcher.MessageRpc.Process (Boolean isOperationContextSet)Tidal.Scheduler.Common.Communications.CommunicationException: the connection attempt (VMware vCenter Server (603) @VMware vCenter Server (603)) failed due to the following error: unable to connect to the VMware web service: invalid key file.

    at Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation (ServerAssistedOperation operation, target TargetConfiguration, RuntimeUserConfiguration runtimeUser)

    to Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter. & lt; & gt; c__DisplayClass1c. & lt; PerformServerAssistedOperation & gt; b__1b(IAdapter adapter)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction, haltingAction Boolean, Int32 remainingRetries)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction, Boolean haltingAction)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction)

    to Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Engine.Core.AdapterSystem.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Server.WebService.AdapterService.PerformServerAssistedOperation (operation ServerAssistedOperation)

    at SyncInvokePerformServerAssistedOperation (Object, Object [], Object [])

    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke (object instance, entered to Object [], Object [] & amp; outputs)

    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin (MessageRpc & amp; CPP)

    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5 (MessageRpc & amp; CPP)

    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31 (MessageRpc & amp; CPP)

    at System.ServiceModel.Dispatcher.MessageRpc.Process (Boolean isOperationContextSet)

    || 236. 02/10/2012 15:46:21.667 | 6072. An exception that is not of type rhapsodyexception has been captured while a webmethod call was made.  This exception has been intercepted and generic.

    || 231: 02/10/2012 15:46:21.667 | 6072. EXCEPTION (Tidal.Scheduler.Common.Communications.CommunicationException): The connection attempt (VMware vCenter Server (603) @VMware vCenter Server (603)) failed due to the following error: unable to connect to the VMware web service: invalid key file.

    Stack trace: at Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation (ServerAssistedOperation operation, target TargetConfiguration, RuntimeUserConfiguration runtimeUser)

    to Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter. <> c__DisplayClass1c. b__1b(IAdapter adapter)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction, haltingAction Boolean, Int32 remainingRetries)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction, Boolean haltingAction)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction)

    to Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Engine.Core.AdapterSystem.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Server.WebService.AdapterService.PerformServerAssistedOperation (operation ServerAssistedOperation)

    at SyncInvokePerformServerAssistedOperation (Object, Object [], Object [])

    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke (object, Object [], Object [] entries & exits instance)

    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin (MessageRpc & CPP)

    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5 (MessageRpc & CPP)

    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31 (MessageRpc & CPP)

    at System.ServiceModel.Dispatcher.MessageRpc.Process (Boolean isOperationContextSet)

    You have an invalid key file because the HTTPS certification has changed. You must remove the old keystore file and restart the OPC Server and then reconnect / run something against vCenter.

    It is also possible to host Adatper framework/java problems I've seen often.

    If you need more information, you will need to prosecute TAC with your service contract please. Normally, we try to solve no newspapers on the forums.

    -Shaun Roberts

    CIAC/CPO support team leader

    [email protected] / * /.

  • Unable to connect to the virtual disk Service, Virtual Disk Manager Interface not registered

    I installed Windows 7 Ultimate on this laptop as a new installation about six months ago.  Since then, I don't think I ever ran diskmgmt.  Today, I joined a new external hard drive usb, it reported the drivers installed fine, but then the installation bombed at the beginning.  I went to verity, what had happened and has run diskmgmt.msc (as an administrator), but she came back with the message "Unable to connect to the virtual disk Service" and also a small OK msgbox appeared with the title "Virtual Disk Manager" and the "Interface not registered" message

    I disconnected the USB hard drive and tried again diskmgmt, but no change.

    I restarted in safe mode, tried diskmgmt, but no change.

    I ran sfc/scannow, but it has reported that it found no errors.

    I checked that the virtual disk service has been configured as a textbook in services.msc, and event viewer showed that when I ran diskmgmt he started VDS and then stopped VDS.

    I tried again, but still not like before.

    Is there some dll I can't regsrv32?

    Thank you

    Marc

    Hello

    I suggest you to return the items for the following responses from Microsoft, he says same issues with trying the troubleshooting steps and check if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-hardware/cant-start-disk-management-unable-to-connect-to/31898500-9d84-4CB5-9ba3-c1f42e3b1ace

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-hardware/problems-with-Vista-after-unplugging-by-external/093f1660-160F-478f-b81a-493e963ffd9a

    http://TechNet.Microsoft.com/en-us/library/cc771775.aspx

    Note: it also applies to Windows 7.

    Hope the information is useful.

  • ServiceAliasException: Could not enum Net service names: TNS-04404: no error what do I do?

    I am a novice so please don't ask me for this help.

    I have listener.ora and tnsnames.ora

    When I tnsping ORADB_18 which is the connection string in tnsnames.ora file, it says:

    C:\users\administrator > tnsping ORADB_18

    AMT Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production May 26, 2015 00:04:22

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

    Use settings files:

    F:\app\Ashraful\product\11.2.0\dbhome_1\network\admin\sqlnet.ora

    AMT-03505: failed to resolve the name

    then I tried to create the sqlnet.ora by netca < configuration of local network service name. She translates by follows it:

    C:\users\administrator > netca

    Oracle Net Services Configuration:

    ServiceAliasException: Could not enum Net service names: TNS-04404: no error

    caused by: oracle.net.config.ConfigException: 04414-TNS: file error

    caused by: TNS-04605: invalid syntax error: unexpected or LITERAL char "ORADB" before or at the ORADB =)

    ServiceAliasException: Could not enum Net service names: TNS-04404: no error

    caused by: oracle.net.config.ConfigException: 04414-TNS: file error

    caused by: TNS-04605: invalid syntax error: unexpected or LITERAL char "ORADB" before or at the ORADB =)

    Oracle Net Services configuration that is terminated by the user.  The exit is - 1 code

    Content of the Listener.ora:

    listener.ora # Network Configuration file: F:\app\Ashraful\product\11.2.0\dbhome_1\network\admin\listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = ORADB)

    (ORACLE_HOME = F:\app\Ashraful\product\11.2.0\dbhome_1)

    (SID_NAME = ORADB)

    )

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = F:\app\Ashraful\product\11.2.0\dbhome_1)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:F:\app\Ashraful\product\11.2.0\dbhome_1\bin\oraclr11.dll")

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    )

    ADR_BASE_LISTENER = F:\app\Ashraful

    Table of contents of tnsnames.ora:

    tnsnames.ora # Network Configuration file: F:\app\Ashraful\product\11.2.0\dbhome_1\network\admin\tnsnames.ora

    # Generated by Oracle configuration tools.

    ORACLR_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    (CONNECT_DATA =

    (SID = CLRExtProc)

    (PRESENTATION = RO)

    )

    )

    ORADB_18 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.11.201.18)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = dedicated)

    (SERVICE_NAME = ORADB)

    )

    )

    I also put my TNS_ADMIN variable in the system. TNS_ADMIN = F:\app\Ashraful\product\11.2.0\dbhome_1\NETWORK\ADMIN

    Listener is towards the top and ok.

    I can connect successfully:

    SQL > conn hr / *.

    Connected.

    but this is impossible:

    SQL > conn hr/***@ORADB_18

    ERROR:

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

    remove the left front spaces of ORADB_18 =

    as I know that this is not allowed

    concerning

    ANR

  • 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

  • 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 to Essbase on Regional service Console server because of error 1042006

    Hello

    I installed the whole EPM 11.1.1.3 on Windows x 64 platform. When I try to connect the server essbase through the Regional service console, I get the following error:

    Essbase Server: localhost com.essbase.eas.essbase.defs.ServerCommands.Connect December 28, 2010 17:39:08 IST
    Error: 1042006: error network [10061]: unable to connect to [localhost:1423].
    The customer has expired waiting to connect to Essbase Agent using the TCP/IP protocol.
    Check your network connections.
    Also, make sure that the values for server and port are correct

    I checked the CFG file, which shows the correct port as well. I can connect to the Administration of Essbase server located on the same machine, but do not know why I get this error message. Below I have pasted the contents of the CFG file, in case where someone wants to cross check it out.


    CFG File indicates the following:

    ; The following entry specifies the full path to the JVM. DLL
    ; JvmModuleLocation D:\Hyperion\common\JRE\Sun\1.5.0\bin\client\jvm.dll
    BPM_Oracle_DriverDescriptor "MERANT 5.2 OEM 32-BIT Oracle Wire Protocol.
    BPM_DB2_DriverDescriptor "MERANT DB2 Wire Protocol BITS 32 5.2 OEM"
    BPM_SQLServer_DriverDescriptor "MERANT 5.2 OEM 32-BIT SQL Server Wire Protocol.
    BPM_SQLServer_DriverDescriptor "SQL Server."
    ; BPM_Netezza_DriverDescriptor "NetezzaSQL".
    BPM_Teradata_DriverDescriptor "Teradata.
    BPM_ORACLEBI_DriverDescriptor 'Oracle BI Server'
    ; AuthenticationModule CSS
    ; AGENTPORT 1423
    ; SERVERPORTBEGIN 32768
    ; SERVERPORTEND 33768
    ; AGENTDESC hypservice_1
    AGENTPORT 1424
    SERVERPORTBEGIN 32768
    SERVERPORTEND 33768
    AGENTDESC hypservice_1


    Ideas that would be really useful.

    Thank you
    AJ

    There is a clue in the error message and the CFG file you posted.

    The error message:
    ...
    Unable to connect to [localhost:1423].
    ...

    CFG file indicates:

    ...
    ; AGENTPORT 1423
    ...
    AGENTPORT 1424
    ...

    The port default (1423) is commented out and changed in 1424. Your EAS connection must use port 1424 and not default to 1423.

    Try to use "localhost:1424" (without the quotes) in the Essbase server field when you add the Essbase server to EAS.

    Published by: Robert Armstrong on December 29, 2010 13:25 - typo

  • 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, 'Local only' for a few days now

    Approximately every 2 months home my computer Windows Vista unable to connect to my network.  I get the Local only and in the area of the network it is stuck on "identification" and will never stop.  I rebooted, reset the router and the modem, etc..   This usually lasts for days then it pops up right back on and it's fine.  Any ideas I can do if I don't have to wait days for it to reconnect?   Thank you.

    > Ken - Support Engineer: you can try another card network (wired) to this computer?
    I contacted my OEM. The Ethernet chip is based on the motherboard and cannot be replaced without replacing the motherboard.

    My OEM suggested to reinstall the drivers or a system restore before SP2 or wipe the laptop and re - install Windows.

    I tried reinstalling the drivers, nothing works. When I have more time, I am considering a system restore before SP2. If I wipe Windows I'll probably install XP Pro instead. I am completely sick of Blista.

    Another difference I found between Networking in Safe Mode and Normal Mode is the failure of the (spldr) security processor loader driver; It fails in the former mode, but is OK in this last mode. I sent the error report to Microsoft via the reports of problem and Solutions for your reading.

  • 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.

  • Job-Run: SELFUPDATE, unable to connect to the ConsoleJobStepExecutorService Web service working system.

    Job system failed to connect to the ConsoleJobStepExecutorService Web service. Check the OMS's WebLogic Admin Server for any issues related to Web services configuration that could cause a connection failure.

    Natural logarithm of output

    Hello world.

    I am writing from Hungary, sorry for my bad English. You can read my problem above.

    I'm looking for:

    -Oracle Cloud control 12 c version 5

    -Extensibility / auto update / check updates

    -activity of employment-

    SELFUPDATE_201511111044141 race11 November 2015 10:44:14 GMT + 01:00SYSMANRefresh updates

    but the message: error log:

    Job system failed to connect to the ConsoleJobStepExecutorService Web service. Check the OMS's WebLogic Admin Server for any issues related to Web services configuration that could cause a connection failure.

    and nothing happened.


    I would like to download and install the microsoft agent x 64 driver.


    -I can't find anything on the the red message in the internet or in the google...

    -I'm still a beginner in Oracle...

    -MOS, proxy and the credentials are OK.


    Please help me,

    Thank you for your co-operation in advance

    László

    Hi Courtney lamas-Oracle

    First of all. Thank you very much for your help!

    Yesterday, I was able to find the answer to my problem:

    So:

    1. I used consol secure with sleeve and key_strength 2048 (because there were problems connecting my Chrome, IE11 or Firefox to the Weblogic administration Console and the https certificate)

    2. I refreshed DemoIDentity, jks with certificate of keystrength from 512 to 1024 due to the blocking of the browser.

    The solution:

    sure emctl console - portfolio -key_strength 1024

    Restart the WHO

    I've been careless.

    Everything works fine now.

    LACI

Maybe you are looking for