Connect to multi instance use sqlplus command

Hi Brother
We would like to use following statement to connect to DB instance and execute script through sysdba but the statement seem not work, which connect to default DB only "db00", pls help
sqlplus / "as sysdba" @db01 @/home/dba/myscript

user460521 wrote:
Hi Brother
We would like to use following statement to connect to DB instance and execute script through sysdba but the statement seem not work, which connect to default DB only "db00", pls help
sqlplus / "as sysdba" @db01 @/home/dba/myscriptUsing the convention of "multi-instance" would give an impression that you are willing to work in a RAC system. If yes, then you can use the command srvctl to manage more than one instance. But to run scripts or to execute some statement, you would need to connect only the designated instance using the properly configured TNSNAMES.ora file. So tell us clearly what you want to do and what you have done for it so far?
Aman....

Similar Messages

  • Unable to connect to an instance using EM but connecting fine with SQL*Plus

    Good morning,
    I followed these steps (from the 2 Day DBA document):
    1. I created a template (including database) from an instance named "orcl" using DBCA, before proceeding to create the template, DBCA informed me that the instance would be shutdown, I told it to proceed.
    2. The template was created successfully.
    3. I am now unable to log into the orcl instance using EM, yet I can log into that instance without any problems using SQL*Plus.
    The Question: Why am I not able to connect to the instance using EM ? and what do I need to do to correct this problem ?
    Thank you very much for your help,
    John.
    PS: in case it may be helpful, 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)

    Hi Chinar,
    What you suggested solved the problem.
    I am grateful for your help but, please, the next time you suggest a process that takes over an hour to complete, let me know beforehand.
    thank you for your help, I do appreciate it.
    John.
    PS: here are the result of the process:
    0 07:57 [Oracle] [17G] [608M] E:\Temp>emca -deconfig dbcontrol db -repos drop
    STARTED EMCA at Aug 15, 2010 7:58:21 AM
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Enter the following information:
    Database SID: orcl
    Listener port number: 1521
    Password for SYS user:
    Password for SYS user: abc123
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: y
    Aug 15, 2010 7:59:37 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at E:\Oracle\cfgtoollogs\emca\orcl\emca_201
    0_08_15_07_58_21.log.
    Aug 15, 2010 7:59:38 AM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
    WARNING: EM is not configured for this database. No EM-specific actions can be p
    erformed.
    Aug 15, 2010 7:59:38 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Dropping the EM repository (this may take a while) ...
    Aug 15, 2010 8:06:59 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully dropped
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Aug 15, 2010 8:07:17 AM
    0 08:09 [Oracle] [17G] [355M] E:\Temp>emca -config dbcontrol db -repos create
    STARTED EMCA at Aug 15, 2010 8:09:23 AM
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Enter the following information:
    Database SID: orcl
    Listener port number: 1521
    Listener ORACLE_HOME [ E:\Oracle\product\11.2.0\dbhome_1 ]:
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Password for SYSMAN user: Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ E:\Oracle\product\11.2.0\dbhome_1
    Local hostname ................ 192.168.3.134
    Listener ORACLE_HOME ................ E:\Oracle\product\11.2.0\dbhome_1
    Listener port number ................ 1521
    Database SID ................ orcl
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: y
    Aug 15, 2010 8:10:51 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at E:\Oracle\cfgtoollogs\emca\orcl\emca_201
    0_08_15_08_09_23.log.
    Aug 15, 2010 8:11:10 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Aug 15, 2010 8:43:41 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Aug 15, 2010 8:44:09 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepos
    itory
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Aug 15, 2010 8:47:39 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Aug 15, 2010 8:48:31 AM oracle.sysman.emcp.util.DBControlUtil configureSoftwareL
    ib
    INFO: Software library configured successfully.
    Aug 15, 2010 8:48:31 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibra
    ry
    INFO: Deploying Provisioning archives ...
    Aug 15, 2010 8:53:19 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibra
    ry
    INFO: Provisioning archives deployed successfully.
    Aug 15, 2010 8:53:34 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Securing Database Control (this may take a while) ...
    Aug 15, 2010 8:54:22 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Database Control secured successfully.
    Aug 15, 2010 8:54:38 AM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Aug 15, 2010 9:12:50 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: Database Control started successfully
    Aug 15, 2010 9:13:09 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: >>>>>>>>>>> The Database Control URL is https://192.168.3.134:5501/em <<<<
    <<<<<<<
    Aug 15, 2010 9:14:22 AM oracle.sysman.emcp.EMDBPostConfig invoke
    WARNING:
    ************************  WARNING  ************************
    Management Repository has been placed in secure mode wherein Enterprise Manager
    data will be encrypted.  The encryption key has been placed in the file: E:/Orac
    le/product/11.2.0/dbhome_1/192.168.3.134_orcl/sysman/config/emkey.ora.   Please
    ensure this file is backed up as the encrypted data will become unusable if this
    file is lost.
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Aug 15, 2010 9:14:22 AM
    0 09:14 [Oracle] [17G] [603M] E:\Temp>

  • Using sqlplus command after installing oracle 9i on RHEL 3

    Hi experts,
    I have installed oracle database on Redhat enterprise linux 3.
    Install location is /home/oracle/ora9i.
    Version Oracle 9i (9204)
    after installation when I typed follwing commands ..it did not work
    $ sqlplus /nolog
    Please help me with this.
    Thanx in advance ...
    Deepak

    duplicate post of following thread
    Using sqlplus command after installing oracle 9i on RHEL 3

  • Using SQLplus command in LabView Database toolkit

    Hi ,
    I would like to ask something but before that this is my set up background
    OS          : Win 7,
    LabVIEW : 2012
    I have successfully connected with Oracle database using Labview Database toolkit.
    The problem now is since I need to query the data from the database,
    it will takes time for the labview to process it (since there is so much data in a specific table),
    let say that the table in database is "Serial Number", and the data that I want from that table is "SN123"
    if I query the data from that table, the labview will process it in a long time since it will not only give me "SN123" but also other data inside the "Serial Number" table.
    (Refer to attachment)
    but if in SQLplus, there is a command that can be execute to specifically call the "SN123" data,
    For the SQLplus, the steps to retrieve the data is like this:
    1. Key in the command to get the ID of the "SN123"
    2. Key in the command "SN123" ID to retrieve the data.
    I wonder if there is a way to put this command on labview database so it will be faster to retrieve the data.
    Attachments:
    Database.png ‏84 KB

    An  instrument driver written in Labview, is not the same as a instrument driver used by say Windows. A Labview instrument driver uses standard Labview functions to send SCPI commands to the instrument. You can learn a lot about the instrument by looking into the Labview instrument driver, and how it sends the commands to the instrument. But having the instrument programming manual at hands is also important.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Unable to connect to Auxiliary instance using connect string

    Hi All
    I am trying to setup Data guard on 11G Release 2 OS : OEL 5.4. I have to connect to the auxiliary instance using rman. But i am getting following error.
    >
    [oracle@vm4dg ~]$ rman
    Recovery Manager: Release 11.2.0.1.0 - Production on Mon Apr 29 19:25:13 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN> connect auxiliary sys/orcl123@melbourne
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-04006: error from auxiliary database: ORA-01031: insufficient privileges
    >
    I have tried the solutions like all service name in listener.ora to be in upper/lower case.
    Thanks
    Ankur

    Here's what you asked for
    On primary
    >
    [oracle@oel54gen ~]$ rman target sys/orcl123@London auxiliary sys/orcl123@melbourne
    Recovery Manager: Release 11.2.0.1.0 - Production on Mon Apr 29 19:50:09 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: LONDON (DBID=3149285088)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04006: error from auxiliary database: ORA-01031: insufficient privileges
    >
    for sqlplus on primary
    >
    [oracle@oel54gen ~]$ sqlplus "sys/orcl123@melbourne as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 29 19:52:13 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:
    >
    for sqlplus on Standby
    >
    [oracle@vm4dg dbs]$ sqlplus "sys/orcl123@london as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 29 19:53:42 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    SQL>
    >
    One more thing is that i have two oracle homes on each machine. And listener are running from grid home
    Thanks
    Ankur

  • Cannot stop SAP instance using stopsap command

    Hi All,
    I am trying to stop a SAP instance using the stopsap command as such:
    stopsap name=PRD nr=01 SAPDIAHOST=SAPPRD
    The instace failed to stop with the following error in the stopsap.log file
    CreateNamedPipe for
    SAPPRD\pipe\SAPPRD_01 Failed, Extended Error #2
    CreateNamedPipe for
    SAPPRD\pipe\SAPPRD_01 Failed, Extended Error #2
    D:\usr\sap\PRD\SYS\exe\run\sapntwaitforhalt.exe=>sapparam(1c): No Profile used.
    running D:\usr\sap\PRD\SYS\exe\run\sapsrvkill.exe SAPPRD_PRD_01
    running D:\usr\sap\PRD\SYS\exe\run\sapntwaitforhalt.exe name=PRD nr=01 SAPDIAHOST=SAPPRD 3600
    Can anyone help?
    Regards,
    Lim

    Hello,
    Please try uninstalling and reinstalling the service
    as explained in the following  Note(Point 3):
       142100 - NT: Problems with new SAP service as of Rel. 4.5B
    CreateNamedPipe for
    sapbon1s57\pipe\SAPT02_00 Failed,
    Point 3 of this
    You should uninstall the service by selecting:
         'Uninstall Service + Unregister COM Interface'
    Then reinstall the service by:
         'Install Service + Register COM Interface + Start Service'
    Make sure that you have called SAPSTARTSRV.EXE from a command prompt
    from within the usr\sap\<SID>\kernel directory ! The startup user
    should be <domain>\SAPService<SID>.
    Also check you have up to date version of
    sapntwaitforhalt.exe
    regards,
    John Feely

  • Startup instance using sqlplus

    I was trying to startup an instance on NT using the same way I can do on UNIX:
    sqlplus "/ as sysdba"
    But I got an error:
    ORA-12560: TNS: protocol adapter error
    In sqlnet.log, I found:
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=c:\oracle\ora92\bin\RMAN.EXE)(HOST=GEMINI)(USER=wli))))
    The problem is I just tried to connect to "/" but not "/@connect_string". How could oracle add protocol on it?
    BTW, the listener was not running and the instance was stopped.
    It didn't work even I started the listener. It worked if I started both listener and instance:
    sqlplus "/ as sysdba"
    sql>shutdown immediate;
    sql>startup nomount;
    But that's not what I want.
    Any ideas?
    Thanks

    Type the following set command at the Windows command prompt before connecting to SQL*Plusset ORACLE_SID=<sid>

  • Sql server 2012 express - tcp/ip connection to named instance using dynamic port not working

    I have a named instance on a SQL 2012 Express server that won't connect via TCP/IP when wanting to connect off of the dynamic port.  I can connect via shared memory locally on the server.   I can connect to the namespace when specifying the
    dynamic port listed in the configuration manager.  
    This is the only named instance on the server and it is not the default.
    TCP/IP is enabled
    Allow Remote connections is enabled
    the server browser service is running
    I can connect via the dynamic port number
    I am testing the connection locally on the server, so I don't believe a firewall is the issue.  I get the same results if I test it from a remote computer.
    When using the sqlcmd (sqlcmd -S tcp:SQLSRVR\NAMEINST -E) I get the message that "the requested protocol isn't supported [xfffffffff]".   The command (sqlcmd -S tcp:SQLSRVR\NAMEINST,59992 -E) works.
    Through SSMS, I get the message "the connection was actively refused".
    On other boxes, I can connect with the named instance without having to specify the port. 
    I have looked through the sql logs and nothing much shows up.  The log does show that is listening on the port # for ipv4 and ipv6.   There is also a line in there talking about the SPN not being registered and not to worry about it if
    you are not using Kerberos.  I logged in through shared memory and it said I was using NTLM.
    Any help would be appreciated.
    thanks.

    Hi clw,
    I’m writing to follow up with you on this post. According to your description, I do a test, if you configure the database engine to listen on a specific TCP port (59992), and
    the port is opened in the firewall. If you want to connect to the SQL Server instance, you 'd better to
    use the port number.
    In my opinion, by default, the default instance of the Database Engine uses port 1433, usually, if you have configured the server to listen on a non-default port number, when an instance of SQL Server uses dynamic port allocation, the connection string that
    is built at the SQL Server client does not specify the destination TCP/IP port unless the user or the programmer explicitly specifies the port. Therefore, the SQL Server client library queries the server on UDP port 1434 to collect the information about the
    destination instance of SQL Server.
    If UDP port 1434 is disabled, the SQL Server client cannot dynamically determine the port of the named instance of SQL Server. Therefore, the SQL Server client may be unable to connect to the named instance of SQL Server. In this situation, the SQL Server
    client must specify the dynamically allocated port where the named instance of SQL Server is listening.
    For more information about configuring an instance of SQL Server to listen on a specific TCP port or dynamic port, you can review the following article.
    https://support.transfrm.com/entries/503111-How-to-configure-an-instance-of-SQL-Server-to-listen-on-a-specific-TCP-port-or-dynamic-port
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Cache connect to multi instance

    Hi all,
    By seeing previous forum lists, I found that TimesTen's one Data Store can cache connect to one Oracle instance.
    Does TimesTen has a plan to support for multi database instance in upcoming verions?
    And.. let say that i made data store for each Oracle database instance. Can I refer to each data store in the query as db link?
    Best regards,
    Yu-Mi

    There are no current plans to allow a single TT cache datastore to cache data from multiple Oracle databases.
    TimesTen does not currently support anything like DB links and there are no plans to do so. Each datastore is a separate entity and queries and transactions cannot span datastores.
    Sorry.
    Chris

  • Database connection issue using SQLPLUS

    I have a WIN7 Host named DELL-i5 and a WINXP VM named VMXP on VMWARE.
    Now, the host has a Oracle 11g database orders, SID - orders, username - SYSTEM, password - abc123. I have set the listener to be on port 1521 using NETCA.
    The VM has Oracle client 11g.
    The VM is connected as Bridged and host and VM can ping each other.
    Now, when I choose to connect to the database using this command from VM :
    sqlplus SYSTEM/abc123@//DELL-i5:1521/orders
    I get ORA-12170: TNSConenct timeout occurred
    I have tried the following on th Host's SQLPLUS and only this worked
    SYSTEM/abc123@orders
    What do I do ? Thanks
    Edited by: ztech123 on 28-Oct-2010 18:38

    ztech123 wrote:
    I get ORA-12170: TNSConenct timeout occurredFull details of the error from the oerr comand:
    <i>12170, 00000, "TNS:Connect timeout occurred"
    // *Cause:  The server shut down because connection establishment or
    // communication with a client failed to complete within the allotted time
    // interval. This may be a result of network or system delays; or this may
    // indicate that a malicious client is trying to cause a Denial of Service
    // attack on the server.
    // *Action: If the error occurred because of a slow network or system,
    // reconfigure one or all of the parameters SQLNET.INBOUND_CONNECT_TIMEOUT,
    // SQLNET.SEND_TIMEOUT, SQLNET.RECV_TIMEOUT in sqlnet.ora to larger values.
    // If a malicious client is suspected, use the address in sqlnet.log to
    // identify the source and restrict access. Note that logged addresses may
    // not be reliable as they can be forged (e.g. in TCP/IP).</i>
    What do I do ? ThanksYou have tested connectivity via ICMP - so there is a network route between the sender and receiver. However a timeout results when using 1521/tcp for access via SQL*Plus.
    First test connectivity for that port using telnet. On VMXP try the following.
    telnet dell-i5 1521
    Do you get a connection? If not, then it means that despite ICMP reporting connectivity, there is none on 1521/tcp. In that case the culprit could be a firewall.
    If you do get a connection, then try sqlplus next, but without a tnsnames.ora and sqlnet.ora file - e.g.
    sqlnet syste/abc123@"(DESCRIPTION= (ADDRESS= (PROTOCOL=TCP)(HOST=dell-i5)(PORT=1521)) (CONNECT_DATA= (SID=orders) (SERVER=dedicated)))"
    The idea is to keep the number of configuration files and details to a minimum for testing purposes and to isolate the problem.
    Also check basic stuff like netmasks of both the guest and host operating systems, routing tables and so on.

  • Connect using sqlplus

    Total noob question. I'm having trouble connecting to my database using sqlplus.
    The database is on a different machine and is 11g. I have 9i and 10g clients installed locally.
    I'm using the following syntax:
    sqlplus usrnm/pass@orcl
    and the error i get back is TNS could not resolve connect identifier specifiied
    my tns entry looks like this:
    DEVORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dev-vmdb01)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    I also have a different TNS entry to another db like this:
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dev-db02)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    I could see how it would be confused. But i'm not asked to specify the machine name so how can i correct this?
    Thanks for any suggestions.

    export ORACLE_HOME=/path/of/your/oracle/client/binary/upto/db_Xfor example echo $ORACLE_HOME
    /home/oracle/oracle/product/10.2.0/db_1
    tnsping anything
    tnsping anythingTNS Ping Utility for Linux: Version 10.2.0.2.0 - Production on 29-AUG-2009 23:27:02
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /home/oracle/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    TNS-03505: Failed to resolve name
    $
    now it would show which oracle home is currently in use
    i.e /home/oracle/oracle/product/10.2.0/db_1 -- see the path in "Used parameter files"

  • APPS connection to db using SQLPLUS

    Hi Gurus,
    As part of security implementaiton after a successful upgrade of DB from 9.2.0.6 to 10.2.0.5 we have created custom db users to connect to the database so we can audit user activities. We have also changed the APPS password and other users like HR etc. Now we want to disable APPS connection to the db using sqlplus and toad.
    Is there a way we can stop Apps and other users like hr connection to the db using sqlplus and toad?
    Thanks.

    Is there a way we can stop Apps and other users like hr connection to the db using sqlplus and toad?Yes.
    11.5.10 New Features : Managed SQL*Net Access from Hosts [ID 291897.1]
    Best Practices for Securing the E-Business Suite [ID 189367.1]
    Best Practices For Securing Oracle E-Business Suite Release 12 [ID 403537.1]
    restrict access for toad,sql application from unauthorized users
    restrict access for toad,sql application from unauthorized users
    Thanks,
    Hussein

  • Cannot connect to the Instance

    Hi there, I'm a newbie to Oracle. I downloaded Oracle 9i Database. After installation, when I try to connect to the Instance using command prompt, I get the following error message:
    SQL> CONNECT SYS/change_on_install AS SYSDBA
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Could anyone please show me how to resolve the above problem. Thanks. :)

    DB_DOMAIN is not a mandatory parameter.
    The DB_NAME parameter is the value of the database and is the name used when creating the database. It is specified within the INIT.ORA parameter file or in the CREATE DATABASE command. This is one of those parameters that is optional but is always best to set it.
    DB_DOMAIN is the value of the domain to which the database belongs. It is the location of the database within the network hierarchy. Even if the database you are creating is not going to be a part of any network or distributed system, I would suggest that you set this parameter just for the sake of going through the thought process and understanding how things connect when networked.

  • Cannot connect to RAC-Instance as another user

    Hi,
    I have two unix user, called oracle and bb, belongs to the group osdba in a RAC environment.
    As user "oracle" I can connect to the instance with sqlplus "/ as sysdba".
    As user "bb" I get the message: "connected to an idle instance."
    Does anyone has any idea why this can happen ?
    In both cases I set ORACLE_SID and LD_LIBRARY_PATH and PATH identical.
    What's wrong ?
    PS: In a single database environment this will work.
    thanks for any help,
    Rainer

    If you have to connect to oracle RAC (Real Application Cluster) using JDBC with thin driver, the classic url:
    jdbc:oracle:thin:@<HOST>:1521:<SID>
    doesn�t work and you get the error ORA � 12505.
    Instead, you must use this url:
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)
    (ADDRESS=(PROTOCOL=TCP)(HOST=host1) (PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=host2) (PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=service)))
    Check the tsnames.ora for the correct values of SERVICE_NAME and host.

  • How to execute more than oracle scripts using sqlplus

    Dears,
    I have 10 scripts that create table ,need to execute scripts sequentially
    Example
    Ascript
    Bscript
    Cscript
    Dscript
    need to run scripts using sqlplus commands in one time

    user8929623 wrote:
    Dears,
    I have 10 scripts that create table ,need to execute scripts sequentially
    Example
    Ascript
    Bscript
    Cscript
    Dscript
    need to run scripts using sqlplus commands in one timeCreate a script like :
    @Ascript
    @Bscript
    @Cscript
    @Dscript

Maybe you are looking for

  • Screen saver from folder?

    In OS 10.8.5 is it possible to have the screen saver show pictures from a folder on the desktop? I can't see that option. You can do this with the desktop picture but thats not what I want.

  • Update SAP MMC as prerrequisite for EHP for ERP Installation

    Hello experts, I have operative system windows x64, AN ERP 6.0  with Netweaver 7.0 Following the ehpi installation guide to up the ERP to EHP5, i read this text in prerrequisites! Meeting the Operating System-Specific Requirements Procedure: Windows

  • Web Analysis Studio. Error in report that uses dimension that was deleted.

    Hi, everyone. Firstly I created a web analysis document. Then i deleted one dimension from the cube outline. And when I run the report I ve got an error like this: [1033] Native: 502 Invalid object file specified App\TEST\Cube\TST_C\Category Please a

  • Error # 2048 while exporting to SWF

    Post Author: RMS CA Forum: Xcelsius and Live Office Here is the problem description: - Created web services based off a universe using Qaaws - Created Xcelsius Model to consume above web services. - Export to PDF works fine. Web services fetch the ri

  • Obiee query perf

    Hello All, Lately, I am running into problems with obiee perf. I am running a that takes above 6 mins in obiee table view.I ran the same obiee generated sql against underlying database( teradata) and i get the result in less than 2 mins. Itz returing