Unable to connect to an instance by using EM but properly connect with SQL * more

Hello

I followed the following steps (from the document s/n 2 days):

1. I created a model (including the database) to an instance named "orcl" using DBCA, before we proceed to create the model, DBCA informed me that the Forum might be stopped, I told him to go ahead.

2. the model has been successfully created.

3. I am now unable to connect to the instance orcl using EM, but I can connect to this instance without any problem using SQL * more.

Question: Why am I not able to connect to the instance by using EM? and what should I do to fix this?

Thank you very much for your help,

John.

PS: in case it may be useful, the listener tnsnames and Sqlnet files follow:
# listener.ora Network Configuration File: E:\Oracle\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 = E:\Oracle\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:E:\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
  )

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

ADR_BASE_LISTENER = E:\Oracle
# tnsnames.ora Network Configuration File: E:\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

DBCA =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE2DAY1)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = dbca.localsite.com)
    )
  )

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

LISTENER_ORCL =
  (ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE2DAY1)(PORT = 1521))


ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE2DAY1)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl.localsite.com)
    )
  )
# sqlnet.ora Network Configuration File: E:\Oracle\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 think you change some configuration of your system as domain/IP address/host name.
You need

set ORACLE_SID=orcl
emca -deconfig dbcontrol db -repos drop
emca -config dbcontrol db -repos create

then after result

Tags: Database

Similar Questions

  • Connection with SQL * more is not possible

    Hello together,

    I have a problem with my database and SQL Plus.

    I can't connect to my DB via SQL Plus, I get the error message: > > ORA_12546: TNS: detonation verweigert (Permission denied) < <.

    I tried it with several users. When I try to log in to enterprise manager or connecting to the DB through SQL Developer works very well with the user > > sys < <, only the SQL more connection does not work.

    It works until yesterday that there are some problems with the DB and the processor and RAM were almost 100% occupied each.


    We use the Version 11 g Enterprise Edition Release 11.2.0.1.0 64 bit Production on a Windows Server 2008 R2 Enterprise Server.

    I am running SQL Plus, Enterprise Manager and SQL Developer directly on the DB server.

    When I start SQL Plus he asks me my username > > enter user name: < < and after that my password: > > password: < <.

    A connection as seen in many forums or document on the internet like > > scott/tiger@ORCL < < never worked on my system, which is also confused me.


    We have no listener.ora file in the folder: ORACLE_HOME/NETWORK/ADMIN only a sqlnet.ora with line > > SQLNET. AUTHENTICATION_SERVICES = (NTS) < < in it.



    Status of the listener:

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

    C:\Windows\System32 > lsnrctl status

    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18 February 2014 12:14:32

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

    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))

    STATUS of the LISTENER

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

    Alias LISTENER

    TNSLSNR for Windows 64-bit version: Version 11.2.0.1.0 - Production

    Start date February 18, 2014 10:15:54

    Uptime 0 days 1 hour 58 minutes 42 seconds

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    O:\app\administrator\diag\tnslsnr\QualisysDbNbg\listener\alert\log.XML log listener

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=QualisysDbNbg) (PORT = 1521)))

    Summary of services...

    Service "orcl" has 1 instance (s).

    Instance "orcl", State LOAN, has 1 operation for this service...

    The command completed successfully

    C:\Windows\System32 >

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


    I hope someone can help me with this problem.


    Thank you you very much in forward for your answerand greetings

    Matthias


    The sys user must connect as sysdba

    have you tried

    sqlplus 'sys@ORCL as sysdba'

    or

    sqlplus 'sys/yoursyspwd@ORCL as sysdba'

    the first command should work without password for all users group ORA_DBA.

    Scott, the user cannot also exists in your database.

  • Unable to connect with the PC tab

    I bought a Ubislate android 7 C + from Datawind, but unable to connect with the computer

    Burnersalvation,

    To provide the proper resolution, I would need more information on your side.

    1. which version of the operating system are you using?

    2. what happens when you try to connect to the tab?

    3. How do you connect tab to the computer?

    To connect to Android Ubislate to the computer, it may require some software to install on the computer provided by the manufacturer of the tab. Then I suggest you to contact the manufacturer of the tab to get help on this issue.

    Check out the link:

    http://www.ubislate.com/contact/index.html

    Hope this information helps. If you need more assistance or information on this question, reply to this post. I'll be happy to help you.

  • After traveling with my laptop, I am unable to connect with my connection wireless home

    After traveling with my laptop, I am unable to connect with my connection Wireless at home.  What I am doing wrong?

    Hello

    ·         What operating system do you use?

    ·         You are able to connect through wired network?

    .         You get the error message?

    Follow the steps in troubleshooting from the link and check if that helps:

    Windows wireless and wired network connection problems

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    If you use follow Windows XP KB article troubleshooting steps and check if it helps:

    How to troubleshoot wireless network connections in Windows XP

    http://support.Microsoft.com/kb/870702

    See also:

    Network connection problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-connection-problems

    Identify and resolve home network problems

    http://Windows.Microsoft.com/en-us/Windows7/identify-and-resolve-home-network-problems

  • Connect to the database with SQL * more: is TNSNAMES. ORA used?

    Hello

    We have a local database called DEV01 and a copy of this database in a data center. To be able to connect to both databases, the TNSNAMES file. ORA

    on the local database server (not the one in the data center) has the following entries:

    / * Entry for the local database * /.

    DEV01_local, DEV01_local. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server01) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = DEV01)
    )
    )

    / * Entry for the database in the data center * /.

    DEV01, DEV01. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server02) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = DEV01)
    )
    )

    When I connect to the local database server, I set the Oracle environment as follows:

    export ORACLE_SID = DEV01

    export PATH=/opt/oracle/app/oracle/product/9.2.0/bin:$PATH

    export ORACLE_HOME=/opt/oracle/app/oracle/product/9.2.0

    Now I start SQL * more as follows:

    Oracle # > sqlplus user/user

    SQL > select instance_name, host_name from v$ instance;

    INSTANCE_NAME HOST_NAME

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

    SERVER01 DEV01

    As the SID is on two databases of the same (DEV01) I really don't understand how Oracle decides which of the SQL databases * more connects to.

    Is it the entry in the TNSNAMES file. ORA?

    But when I start SQL * more as follows:

    Oracle # > sqlplus user/user@DEV01_local

    SQL > select instance_name, host_name from v$ instance;

    INSTANCE_NAME HOST_NAME

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

    SERVER01 DEV01

    or

    Oracle # > sqlplus user/user@DEV01

    SQL > select instance_name, host_name from v$ instance;

    INSTANCE_NAME HOST_NAME

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

    DEV01 server02

    everything is as expected.

    Does anyone know who is the chosen database when just to connect with 'sqlplus user/user' (without the @DEV01 or @DEV01_local)?

    Any help will be appreciated!

    Rgds

    Jan

    When you connect to the local database that is connected to the server01, you need only specify the sid in the environment, in this case, Oracle tnsnames file to connect, actually uses, it uses any of the listener.  It uses what is called a connection needed.  It is purely a side connection server, and as long as the sid is located in the environment resolves to a database running on that server, you will be get connected.

    When you connect using the @connect_descriptor, like you second case, then Oracle will use the configured naming, including tnsnames, methods to solve the 'real' database  In this case, the auditor is required to create the connection to the database.

    John

  • Unable to connect with SYS on DB server

    Dear Experts,
    I use 11g R2. Operating system is Windows
    I get error Ora-12560 "TNS PROTOCOL ADAPTER ERROR" during the SYS to my DB server connection. Windows services for DB and listener are started, but I am unable to connect with DB.

    Please help me.

    Thank you

    Ok

    Make sure that the services owned by group. and restart once

    and also
    You can try the command prompt?

    Go to the command prompt--->

    Set ORACLE_SID = prod
    sqlplus sys / * as sysdba
    startup

    post if no errors.

  • Unable to connect with iTunes Store

    Apple tv sends the message unable to connect with iTunes Store

    Are you sing the correct settings of the location and the region

  • Unable to connect with my sony DCR-HC48

    Original title:

    my windows 7 unable to connect with my sony DCR-HC48, please help

    my windows 7 unable to connect with my sony DCR-HC48, please help

    Hello

    1. Do you have any pop up when you plug the Sony DCR-HC48 to your computer?
    2. What happens when you connect the camcorder?

    We can refer to this link and check if that helps.

    Please come back with details so that we can help you better.

  • Unable to connect with the Mac computer?

    Unable to connect with the Mac computer?

    Please read https://forums.adobe.com/thread/1499014

    -try some steps such as changing browsers and disable your firewall

    -also clear the cache of your browser if you start with a fresh browser

    -Run "Difficulty Host File" option https://helpx.adobe.com/creative-cloud/kb/cc-cleaner-tool-installation-problems.html

    http://myleniumerrors.com/installation-and-licensing-problems/creative-cloud-error-codes-w ip.

    https://helpx.Adobe.com/creative-cloud/KB/creative-cloud-desktop-application-failed.html

    http://helpx.Adobe.com/creative-cloud/KB/failed-install-creative-cloud-desktop.html

  • I have an Adobe Creative account and my payments come out every month; However, I am unable to connect with my new account or access programs I have installed; It only let's login me under my old account. Can someone help me solve this problem?

    I have an Adobe Creative account and my payments come out every month; However, I am unable to connect with my new account or access programs I have installed; It only let's login me under my old account. Can someone help me solve this problem?

    Hello

    I see that you have an adobe account with the same email with forums, however, I don't see no subscription under this account.

    If you can't change the email during indexing, see the steps below:

    The OOBE and rename it OOBE.old and then try to connect with the correct ID:

    Location: -.

    Windows C: \ directory users\ user account-App data-local-adobe \oobe

    MAC: Go / go to the folder / Application support / Adobe / oobe

    If nothing helps, please contact adobe support:

    Contact the customer service

  • bad connect to Sql * more via command and cannot log on to the designer (need for connection string)

    I installed Oracle Developer with success, but having bad connect to Sql more than command line, also unable to connect via the developer tools, I get a TNS: Connect timeout occurred. This happens also for the "Plus" Sql for Windows.

    Oracle Forms connect error.png


    However, I can connect via the Sql Plus command window when it is executed from "Start-> all programs", but not when I first run the command window:

    sqlplus error.PNG


    I have a good Oracle 11 g install on Windows 7 and a good developer Sql install so I can connect to databases, but something does not work when you try to connect through these tools. Although Sql Plus works when called from 'Start-> all programs'

    sqlplus scott/tiger - don't use SQL * Net, you can connect like this even with the listener is stopped.

    Developer SQL can ONLY connect using SQL * Net & can be blocked by the firewall

    to connect using sqlplus & SQL * Net, you need to invoke it as below

    sqlplus scott/tiger@orcl

  • SQL * PLUS connects with SQL &gt; question

    People,

    I'm confused on the command. / sqlplus with Oracle database.

    According to my understanding,. / sqlplus connected with SQL > using option 3: sysdba, sysoper, sysasm.

    I connect with SQL > to run the rel853.sql script to create a table PSOPRDEFN but a field "OPERPSWDSALT" did not appear in the table PSOPRDEFN although it is in the Create Table statement.

    I connect with SQL * in the directory/home/user/OracleDB_Home/bin as below:


    $ export SYSTEM_PASS = AccessId/mypass

    $ export ORACLE_HOME = / home/user/OracleDB_Home

    $ export ORACLE_SID = HRCS90

    $. / lsnrctl start LISTENER

    $. / AccessId/mypass sqlplus as sysdba

    SQL > startup

    SQL > @/opt/PT8.53/scripts/rel853.sql

    SQL > select OPERPSWDSALT in the AccessId.PSOPRDEFN;

    It returns: "OPERPSWDSALT": invalid identifier.


    I checked the table PSOPRDEFN that the OPERPSWDSALT field did not appear in the table PSOPRDEFN.

    I tried the sysoper option as below:

    $. / sqlplus AccessId/mypass as sysoper

    SQL > startup

    SQL > @/opt/PT8.53/scripts/rel853.sql

    SQL > select OPERPSWDSALT in the AccessId.PSOPRDEFN;

    It returns: "OPERPSWDSALT": invalid identifier.

    The sysoper error is the same thing with sysdba error.

    I tried the sysasm option as below:

    $. / sqlplus AccessId/mypass as sysasm

    He returned: connection refused.


    Someone told me this connection as SYS causes this error. If not a sysdba, sysoper, or sysasm, use the command. / sqlplus AccessId/mypass cannot connect with SQL >.


    My question is:


    First of all, why is what OPERPSWDSALT did not appear in the PSOPRDEFN table while it is in the CREATE TABLE statement?


    Seocond, if not use SYS which is one of the 3 options, how to run the command. / sqlplus AccessId/mypass to connect with SQL > so that CREATE TABLE PSOPRDEFN correctly?

    Thank you.

    user8860348 wrote:

    People,

    Hello. Thanks much for the reply. I just do the commands below:

    $ export SYSTEM_PASS = AccessId/mypass

    $ export ORACLE_HOME = / home/user/OracleDB_Home

    $ export ORACLE_SID = HRCS90

    $. / lsnrctl start LISTENER

    $. / AccessId/mypass sqlplus as sysdba

    SQL > show user;

    Its release: the USER is "SYS".

    SQL > connect AccessId/mypass

    Its output:

    Error: ORA - 01034:ORACLE not available

    ORA-27101: shared memory realm does not exist

    64 - Linux_x86 error: no such file or directory.

    As we see above, unable to connect to the Oracle database AccessId.

    My question is:

    What to do on AccessId, so that it can connect to the Oracle database?

    Thank you.

    so much for the use that you refuse to actually use COPY it PASTE & so that we can see the whole session.

    In the past, you did

    > SQL > startup

    Maybe the database is out of order & must be started.

    do exactly as below (line by line)

    ID

    sqlplus

    / as sysdba

    startup

    connect AccessId/mypass

    COPY the results from above then PASTE all back here

  • Unable to connect with facebook (impossible to chat with FB friends)

    Hello

    I am unable to Chat with my facebook friend with my Skype, Previouslly I'm able to chat with my friends on facebook.

    Please understand this.

    I need to chat with my friend facebook with Skype (Correct)

    I'm not asking to chat with my facebook friend who happens in Skype (Incorrect)

    Hope you understand what I'm looking for?

    I tried all the possible solution given mention in this three threads:

    1. http://community.skype.com/t5/Windows-desktop-client/Facebook-connection-issues/td-p/1962633

    2. http://community.skype.com/t5/Mac/Skype-is-not-showing-online-Facebook-friends-version-5-5-0-2069/td...

    3. http://community.skype.com/t5/Windows-desktop-client/unable-to-connect-to-facebook-chat/m-p/4085274#...

    but I am unable to solve this problem. My facebook friends don't no projection in Skype and I'm using the latest version of Skype (http://prntscr.com/9dcn3d) .

    Same 'Facebook' is missing from the list of contacts: http://prntscr.com/9d2rey and also the http://prntscr.com/9d2rni discussion list

    About 3 months before I'm able to talk with my friend from facebook using my Skype and even if I am able to make the video call with them.

    I don't know what is happening, all of a sudden the features is missing from my Skype, this is really very important for me, I beg you to anyone if know the solution please answer on the subject with the solution.

    I think that Skype or Facebook removed that feature or maybe it's the bug. If this is a bug fix it please, if it is officially removed I asked please add to new most of the people looking for this.

    http://community.Skype.com/T5/Windows-desktop-client/Facebook-connection-issues/m-p/4222412#M389968

  • Unable to connect with the network via iphone or ipad

    Unable to connect the Apple TV (2nd generation) with the network via Wi - Fi using the remote app!

    The remote application required the devices to be on the same network, and home sharing enabled on Apple TV. The physical remote control would be necessary for the installation if this has not been done already

  • Unable to connect with security WRT160N

    I saw another old post on this subject, but it is not a resolution.

    I have used this router wireless g (with WEP security) for months now, I'm switching to n.

    I can connect mode n without any security enabled.

    With any type of security enabled, I am unable to connect.

    I've upgraded to the latest firmware.

    I do not know how to enter a WEP key

    Please help if you can.

    Thank you

    Use really secure settings, i.e. personal WPA2 with AES encryption and a password strong. WEP is badly damaged.

Maybe you are looking for

  • Satellite A100-709 - Windows XP Pro lost key

    Hello I formatted my machine today and re-installed the same operating system (Windows XP Pro), but did not notice that my key of windows on the back of my Satellite A100-709 has been torn. :( So now I have a machine with an inactive license.No idea

  • Record of question mark on inactivity on MBP 15 "2011

    Here's the problem, in short, I will be happy to provide you with more info soon.    I have a MBP 15 "beginning 2011 with 10.10.5 OSX, 16G of RAM, 512G SSD drive of OWS.   After about 2 weeks I started to get a folder of question mark at one point, a

  • Windows XP Activation questions, error 32777

    I have just re-blocked my Windows XP Pro Service Pack 3 now, it will not be activated Windows. It gives me an error 32777-impossible to establish a connection with the activation server. I have the internet connection I can go on the internet with no

  • Turn off automatic capitalization

    Dear communityY at - it an option to turn off automatic capitalization?Thank you in advance.

  • BlackBerry Smartphones unable to reconcile e-mails through my verizon account

    Hello everyone. Thanks for reading. I'm new to Blackberry and I'm in love. My problem I encounter is that I cannot reconcile my emails on my verizon pop account I have my Yahoo email account setup, so that once I delete an email it is able to remove