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

Tags: Database

Similar Questions

  • Database demo of vision: how to access the database through SQL * more?

    I'm totally new in this space, so forgive my beginner questions.

    What I want to do, is to integrate EBS with APEX. To get there I downloaded (of delivery) and installed the Vision database unique node in a VirtualBox. To do this, I followed this video on YouTube: https://www.youtube.com/watch?v=8JgxMDPsd6s

    Now I want to install APEX and for this I need to access my database as SYS. Now for my questions:

    1. How can I use SQL * more in the VirtualBox?

    2. What is the default password for SYS with this demo database?

    Thanks, Alex

    File under $ORACLE_HOME and the owner is the user 'oracle '.

    You will need to source the file VISION_ebs.env , and then deliver "env | fate"and you should see the set env variables. You can connect as sysdba.

    Thank you

    Hussein

  • Unable to connect to the database in SQL 2005

    Tried setting up of connection string to the DB on the server, but DW doesn't connect. Other applications such as Visual Studio and Microsoft Expression DO work and have no problem using the same connection string we use in DW CS3. When we hit the 'Test' to test the connection, we have several different scenarios. 1) 1) _mmServerScript error 2) [DBNETLIB] Error invalid connection and 3.) no error, just of the cycles, then has an empty DB.

    We got it works once before with another server, but now we're in trouble. Connection to the DB works fine with other programs, but not with DW CS3 (Mac and PC) - really want to understand it for Mac.

    We have sent a support ticket to the administrator of the server that says that everything should be fine on their end.

    NOTE: Our test server is identical to our remote server.

    FINALLY! -After-hours hammering on this issue, I finally got it solved.

    When you specify a data source, apparently I need a reference to that SQL server is used. So... instead of just {server name} try something like these:

    Data source = {server name} \SQLEXPRESS
    Data source = {server name} \SQL
    Data source = \SQL2k5 {server name} - that worked for me.

    credit
    http://www.jaredprins.com/blog/?p=111

    Thanks anyway - Detective Conan!

  • Connect to the database using oracle forms

    Hello experts,

    I have installed on my computer, Oracle Developer Suite 10 g (10.1.2.0.2) (including the forms and Designer) and after that I installed Oracle Database 11 g Express Edition (11.2) Beta.
    both facilities are on the same (local) computer.
    When I chose to connect to the database, he wonder about the data connection to the database:
    username, password and database.
    I'm sure that the user name and password are correct, because I have no problem to connect directly to the database (via sql * more).
    could you please tell me what I should write in the field database? I trid XE but it dose not help.
    Can I need to make some changes manully so that it works?
    Please note that the operating system is Windows XP service pack 3.

    Thank you for your help.

    Published by: user1818173 on 28/08/2011 01:43

    Hello
    Have you changed the TNSNAMES file. File of the ORA for DS? You must add the TNS for DS TNSNAMES. ORA file.
    Go to $DB_Default_Home$ \netword\admin and open the TNSNAMES file. ORA file in Notepad. Copy the entry tns where you connect from SQL * more.
    Go to $DS_Default_Home$ \netword\admin and open the TNSNAMES file. ORA file in Notepad. Paste the tns entry that you copied.
    Now try to connect generator of form.
    Kind regards
    Qasim Jules

  • cannot connect to the database / OS

    Hi all

    I am not able to connect to the database as my database files was complete. I can't connect even the operating system. Please suggest a way I can connect to the DB. operating system or to move data.

    Hello
    You connect to the server and delete the archive logs (the sound that you no longer need) and free up space. Try to connect to the database with sqlplus as sysdba with - option prelim. Then, you can use RMAN to delete old logs archiving as Osama said.

    http://tech.e2sn.com/Oracle/troubleshooting/hang/how-to-log-on-even-when-SYSDBA-can-t-do-so

    Thank you and best regards,
    Raj K.

  • Unable to connect to the database when installing BI EE 11 g

    I want to install Oracle BI Enterprise Edition 11g Windows XP service pack 3.
    I used successfully of the repository creation tool to create the schema DEV_BIPLATFORM.

    Then I ran the main installation of Oracle BI program.
    "To halfway through the stage of" details of the database "requires the connection string, the user name and the password.
    I enter in these exactly as they should be, but still get the error:
    INST-08029: unable to connect to the database with the given credentials.

    The details that I use are:
    connection string: ltest2:1521:dwRialto
    username: DEV_BIPLATFORM
    password: DEV_BIPLATFORM
    where ltest2 is a Linux SS5 host running Oracle 11.1.0.6 EE. The service name is dwRialto.

    Physical connectivity is definitely ok, as evidenced by the fact that I get error 'INST-08035' if I change the name of the service for something not valid. Also, I get a different error, 'INST-08031' if I change the user name or password to something invalid. I have also granted SYSDBA and DBA DEV_BIPLATFORM, but still does not work.

    In addition, to be sure, I installed and executed on the same Windows PC SQLDeveloper - and that works very well, using the same credentials.

    Why the 11g BI Setup does not accept these credentials? I can't further with the installation until it does.

    Hello
    We had the same problem an hour ago
    What we did was drop the user through the official way to the rcu, re-create the user but this time with a different password (in our case, so DEV_BIPLATFORM/oracle)
    and then we continued without problem :)

    Good luck

    Published by: jopgenoo on August 23, 2010 07:05

  • ORACLE client to connect to the database without user name and password

    Customer require us to perform a function:
    On the client server that has installed the ORACLE client. They can connect to the database without username and passwod entry.
    Use "sqlplus / as sysdba" can archive database connection.
    Is it possible to change the configuration to do this?

    See if external authentication support,
    http://docs.Oracle.com/CD/E11882_01/network.112/e16543/authentication.htm#DBSEG99842

    Aman...

  • Having problems with SQL Developer connection to the database on a LINUX machine

    Having problems with SQL Developer connection to the database on a LINUX machine
    Hello
    I am trying to connect my machine to windows 7 Home premium to an oracle database 11 g on RedHat 5 machine using SQL Developer. I got this error on SQL Developer
    Status: Failed - Test has failed: the network adapter could not establish the connection


    on Linux
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                03-APR-2013 16:13:13
    Uptime                    7 days 22 hr. 16 min. 41 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.X.X.X)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orc11g" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11gXDB" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11g_XPT" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    and TNSPING
    tnsping 172.x.x.x
    
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 11-APR-2013 14:32:17
    
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.x.x.x))(ADDRESS=(PROTOCOL=TCP)(HOST=172.x.x.x)(PORT=1521)))
    OK (0 msec)
    [oracle@ltebilling ~]$
    Tnsnames.ora on Linux,
    ORC11G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orc11g)
    )
    )
    Listner on Linux,
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (PROGRAM = extproc)
    )
    )
    
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    )
    )
    hosts/ect/Linux,
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    172.x.x.x             LTEBilling
    and there is no problem to ping linux from windows

    Published by: user11309581 on April 11, 2013 15:16

    user11309581 wrote:
    as I have already desciped earlier, I can't connect to the server throw Linux my Windows SQL Server, with error message below.
    tatus: failed - Test has failed: the network adapter could not establish the connection

    It's too generic to mean anything. The application is hidden the real error message. You got when you did the tnsping and obtained "TNS-12535: TNS:operation has expired. Now THAT's an error.

    This indicates a problem firewall and routing. You said earlier you could ping the server, but now we see tnsping fails. Two different protocols of usage, so that both the successful ping turns out a valid physical path, it guarantees not that all traffic will pass. What happens with

    c:\ telnet 172.x.x.x 1521
    
  • 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.

  • frmcmp cannot compile the modules containing SQL code that connected to the database

    Hello

    I checked several hundred messages of the forum on the net without finding a solution.

    I have a Linux server with 11.1 WebLogics (11 GR 1 material) and FormsRuntime installed.

    I am logged in as root.

    I put all the environment variables based on the values in default.env.

    In addition, I updated TERM and ORACLE_TERM vt220. And TNS_ADMIN to the location of the sqlnet.ora and tnsnames.ora.

    I compiled a simple .pll containing only the following code:

    IS test PROCEDURE

    an INTEGER: = 0;

    BEGIN

    a: = 1;

    END;

    command:

    frmcmp_batch module = TESTLIBPLAIN.pll userid=myuser/mypassword@mydb module_type = LIBRARY output_file = TESTLIBPLAIN.plx compile_all = Yes = Yes = No. batch connection

    result: successful compilation. generated .plx.

    now, I'm trying to compile an another .pll containing just the following code:

    IS test PROCEDURE

    an INTEGER: = 0;

    BEGIN

    Select 1 in the doubles.

    END;

    command:

    frmcmp_batch module = TESTLIBSQL.pll userid=myuser/mypassword@mydb module_type = LIBRARY output_file = TESTLIBSQL.plx compile_all = Yes = Yes = No. batch connection

    result: error:

    "

    11 forms (form of the compiler) Version 11.1.1.3.0 (Production)

    Copyright (c) 1982, 2010, Oracle and/or its affiliates.  All rights reserved.

    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

    With partitioning, OLAP and Data Mining options

    PL/SQL Version 11.1.0.7.0 (Production)

    Oracle V11.1.1.3.0 - Production procedure generator

    Oracle virtual graphics system Version 11.1.1.3.0 (Production)

    Oracle Multimedia Version 11.1.1.3.0 (Production)

    Oracle tools integration Version 11.1.1.2.0 (Production)

    Common tools Oracle area Version 11.1.1.3.0

    Oracle CORE Production 11.1.0.7.0

    Compile the library TESTLIB.

    Invalidate the body TEST procedure...

    Compilation of body TEST procedure...

    ERROR on line 5, column 1 0

    Ignored SQL statement

    Library TESTLIB closing...

    Errors on TEST:

    PL/SQL ERROR on line 5, column 1 0

    Ignored SQL statement

    Could not generate the library.

    FRM-30312: unable to compile the library.

    "

    the two libraries differ by having used SQl commands or not.

    I tried to compile some more complex .pll and .fmb containg the SQL code. I get similar error messages. The messages that I receive for each module are the same, I would get when compiling the module with FormBuilder 9i (Windows) without being connected to the database.

    So my first thought was, this frmcmp_batch is unable to connect to the database.

    BUT:

    From frmcmp_batch with an invalid user, password, or database name not existing (resp. not in tnsnames.ora), results in appropriate error messages (not found TNS, refusal to sign etc.).

    With myuser/mypassword@mydb I don' t get this kind of messages.

    sqlplus myuser/mypassword@mydb works.

    myuser can access all objects in the database mydb.

    mydb tnsping works.

    When I check v$ session on mydb while (!) frmcmp_batch is running, I see that it is in fact a db session, created from myuser: DB-User = myuser, terminal = myappsever, osuser = root, remote process = frmcmp_batch.  And State of the current session of the db is ACTIVE.

    As a result, frmcmp_batch fails with error messages that I expect that when there is no connection to the base, if it is connected!

    Any ideas what could be wrong with my setup?

    Help appreciated.

    Jean

    I found the solution. Seems, fmrcmp 11g can connect to, but compiles not on the 9i database. With the help of a Database 11 g resolves the problem :-)

  • CFGFWK-60850: the Test failed! CFGFWK-60853: A connection to the database, but no lines have been returned to the examination of the SQL query.

    Hi all..

    It's SOA 11.1.1.7... I created the schema and storage via RCU but when I try to configure JDBS schema components... his throw this error:

    CFGFWK-60850: the Test failed!

    CFGFWK-60853: A connection to the database, but no lines have been returned to the examination of the SQL query.

    I created 3 users of UCR and who were all successful, because I have no error... of these three alone is managed in the configuration tree SOA...

    No idea why like that...

    Thank you

    Aerts

    This that I solved it by installing EMP 11.1.2.2 with UCR and SOA 11.1.1.6...

  • 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

  • Inability to connect to the database

    OS: 8.1 Pro 32-bit Windows

    Java: 7u45 (build 1.7.0_45 - b18)


    Install Oracle 11g.

    When you open localhost:1158 / em - the message:

    "The database is down. Please specify the credentials of the host to access the restart and database diagnostic tools. »

    After entering the command:

    emctl status dbconsole

    It is reported that Oracle Enterprise Manager 11 g is running.

    When you type:

    emctl status agent

    indicates that the agent works.



    All Oracle, except OracleJobScheduler, running services.


    SYSMAN, DBSNMP, SYSTEM and SYS are not blocked


    File Emoms.trc when connecting to the database:

    http://rghost.NET/50166676


    Folder with alter.log:

    http://rghost.net/50165784



    In listener.ora replaced


    SID_LIST_LISTENER =

    () = SID_LIST

    () SID_DESC =

    () SID_NAME = CLRExtProc( )

    () ORACLE_HOME = C:\app\TorchTT\product\11 2. . 0\dbhome_1( )

    () PROGRAM = extproc( )

    () ENVS = "EXTPROC_DLLS =ONLY:. C:\app\TorchTT\product\11. ("2. 0\dbhome_1\bin\oraclr11. dll" ()

    )

    )


    on

    SID_LIST_LISTENER =

    () = SID_LIST

    () SID_DESC =

    () SID_NAME = TorchTTDB( )

    () GLOBAL_DBNAME = TorchTTDB( )

    () ORACLE_HOME = C:\app\TorchTT\product\11 2. . 0\dbhome_1( )

    () PROGRAM = extproc( )

    () ENVS = "EXTPROC_DLLS =ONLY:. C:\app\TorchTT\product\11. ("2. 0\dbhome_1\bin\oraclr11. dll" ()

    )

    )


    did not help.



    Subsequently decided to not wait and reset the database.


    Immediately after the reinstallation of page https://localhost:1158 / em / successfully opened.


    Only when the request to add a table to the executed successfully, but Developer SQL database query in the list of tables is not displayed, update the list and restart the program did not help. However, when re - create the table with the same name appears on the error you have already created a table with a given name.


    After restarting the computer database is available again.

    Can you please how to fix?


    Translated by Google Translate.

    If I'm right, the problem is resolved.

    Each of the reinstall previous, of the database at the beginning of the message appeared on the system configuration is not in line with the minimum requirements. Earlier the same error is indicated as a result of the use of new versions of Java, as Oracle 11 g support officially more young and therefore do not attach importance to this post.

    In the end, I decided once more to reinstall the basis data, but in compatibility mode for Windows 7. So - when you run the error to install an incorrect configuration does not appear. And after that the installation of the base is available, restart the machine - the base is again available.

  • SGC does not start - unable to connect to the database

    Hi all

    My development/test environment is unbootable SGD. This has really we stopped in our tracks...

    He'll start the WebTier, but CMS will not come to the top:

    [Journal of the oracle@ora-emcc] $ $OMS_HOME/bin/emctl status SGD

    Oracle Enterprise Manager Cloud control 12 c Release 2

    Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.

    WebTier is in place

    Oracle Management Server does not work for the following reason:

    Unable to connect to the repository database. SGD will be automatically restarted once he identifies database and the listener are on the rise.

    Try to check the details SGD results in an error as well:

    [config oracle@ora-emcc] $ $OMS_HOME/bin/emctl status who-details - sysman_pwd $SYSMAN_PWD

    Oracle Enterprise Manager Cloud control 12 c Release 2

    Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.

    Exception in thread "main" java.util.MissingResourceException: can't find bundle for the base oracle.security.jps.internal.common.resources.keystore.KeyStoreResources, locale name

    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)

    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)

    at java.util.ResourceBundle.getBundle(ResourceBundle.java:952)

    to oracle.security.jps.util.JpsBundle. < init > (JpsBundle.java:70)

    at oracle.security.jps.util.JpsBundle.getResourceBundle(JpsBundle.java:151)

    at oracle.security.jps.util.JpsBundle.getResourceBundle(JpsBundle.java:106)

    at oracle.security.jps.JpsLocalizableException.getResourceBundle(JpsLocalizableException.java:157)

    at oracle.security.jps.JpsLocalizableException.getLocalizedMessage(JpsLocalizableException.java:140)

    at oracle.security.jps.JpsLocalizableException.getLocalizedMessage(JpsLocalizableException.java:131)

    at java.lang.Throwable.toString(Throwable.java:343)

    at java.lang.String.valueOf(String.java:2826)

    at java.lang.StringBuilder.append(StringBuilder.java:115)

    at java.lang.Throwable.printStackTraceAsCause(Throwable.java:536)

    at java.lang.Throwable.printStackTraceAsCause(Throwable.java:545)

    at java.lang.Throwable.printStackTraceAsCause(Throwable.java:545)

    at java.lang.Throwable.printStackTrace(Throwable.java:516)

    at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:59)

    at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:342)

    at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:304)

    at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:234)

    at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)

    at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)

    at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)

    at org.apache.log4j.Category.callAppenders(Category.java:203)

    at org.apache.log4j.Category.forcedLog(Category.java:388)

    at org.apache.log4j.Category.error(Category.java:319)

    at oracle.sysman.emctl.oms.PrintOMSSetupInfo.main(PrintOMSSetupInfo.java:240)

    In the WebLogic administration Console, I see the BEEP, EMGC_ADMINSERVER, and EMGC_OMS1 are all in the State Running and health Ok.

    Our servers SGD and OMR are (and have always been) 2 different machines. The database on OMR has always been (and is currently) high and available.

    Checking that I can connect to the database of repository on the SGD server OMR:

    [oracle@ora-emcc ~] $ sqlplus sysman / $SYSMAN_PWD@ora-emccdb:1521 / emccdb

    SQL * more: version 11.1.0.7.0 - Production on Thu Nov 10 23:34:53 2013

    Copyright (c) 1982, 2008, 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 >

    Any suggestion will be highly appreciated.

    Ed

    Hi Mathieu,

    Thanks for the comments. I just got an update of Oracle on the SR with a few more instructions on different things to try/run.

    I met problems with Weblogic in step 1 and could not understand the multitude of possible causes. After some googling I found others who has ended up just restart that did the trick. It worked for me as well as far as I can see now. I'll do some tests to check, but well.

    Thank you

    Ed

  • How to find the number of users connected to the database of the level operating system (Linux)

    Hi all

    Could someone knows how to find the number of users connected to the database without connection with sql * more

    y at - it a command to find?

    example, we have 10 databases in a server, how to find the number of users connected to the special data base without connecting to database(v$session)?

    the Oracle version:-10g, 11g
    Operating system:-OEL4, OEL5, AIX, Solaris

    any help will be appreciated.

    Thanks in advance.

    Thank you.

    Kind regards
    Rajesh.

    but you can say total number of connection with the above given the command? It would also be useful to know.

    See you soon,.
    LKM

Maybe you are looking for