Number of ssh connection to Oracle servers

Hello All,
one of the requirements while implementing Oracle rac is to have passwordless ssh connectivity betweeen the nodes.
My question is that needed after implementation by the Oracle nodes?
Does Oracle nodes communicate to each others using ssh after implementation?
Regards,

OK, a quick search yielded this Oracle document
http://www.oracle.com/technetwork/articles/hunter-rac11gr2-iscsi-2-088698.html
16. Configure RAC Nodes for Remote Access using SSH - (Optional)
Perform the following optional procedures on both Oracle RAC nodes to manually configure passwordless SSH connectivity between the two cluster member nodes as the "grid" and "oracle" user.
One of the best parts about this section of the document is that it is completely optional! That's not to say configuring Secure Shell (SSH) connectivity between the Oracle RAC nodes is not necessary. To the contrary, the Oracle Universal Installer (OUI) uses the secure shell tools ssh and scp commands during installation to run remote commands on and copy files to the other cluster nodes. During the Oracle software installations, SSH must be configured so that these commands do not prompt for a password. The ability to run SSH commands without being prompted for a password is sometimes referred to as user equivalence.
The reason this section of the document is optional is that the OUI interface in 11g release 2 includes a new feature that can automatically configure SSH during the actual install phase of the Oracle software for the user account running the installation. The automatic configuration performed by OUI creates passwordless SSH connectivity between all cluster member nodes. Oracle recommends that you use the automatic procedure whenever possible.
Regards
Venkat

Similar Messages

  • How to find the number of ODBC connections to Oracle Database

    Hi All,
    How to find the number of ODBC connections and all connections to the Database in last week. Are there any views to get this information?
    Thanks in advance,
    Mahi

    What Ed said is true that Oracle doesn't note which type of protocol is connecting to the database, however, you can see which program is accessing the database.
    For example: if you already know of a user using ODBC, you can verify as:
    select username, osuser, terminal, program from v$session where username = 'SCOTT'
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Assuming that you can confirm the progam noted in the above (example) is the one using ODBC, then you can change the query such as:
    SQL> select username, osuser, terminal, program from v$session where program = 'w3wp.exe';
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Just for kicks, I checked our listener.log file, but there was no reference of odbc in it either.
    Hope this helps...

  • What limits the number of MII connections to Oracle.

    We are using MII 12.0.5 and an Oracle database and are seeing errors in the logs to the effect:
    SQL error occurred on connection jdbc:oracle:thin:@mii001:1527:SMD: code=0, state="null", message="Listener refused the connection with the following error:
    ORA-12518, TNS:listener could not hand off client connection
    The Connection descriptor used by the client was:
    mii001:1527:SMD
    I am ot an Oracle expert and I have not seen this issue before. What is limiting the number of connections? Is this a MII configuration issue that I am not aware of or an Oracle database issue?

    Hello sparks,
    I assume you are getting this error when you are trying to connect to databse while configuring Dataservers in MII,if fo what are the value you passed in the fields PoolMax and PoolSize while connecting to the database.
    Regards,
    Kumar
    Edited by: Sudhir Kumar Shambana on May 6, 2010 10:50 AM

  • Connecting to Oracle servers using dialup

    Hi,
    I am trying to connect to the Oracle databases at work from home. I have Oracle Client (8.1.7) loaded on my PC and the tnsnames.ora and sqlnet.ora are exactly the same as the ones on my PC at work. When I connect via dialup to work, it allows my PC to be a node on their network. But I can't access any of our Oracle servers, the message is host not found. Cannot ping to the servers either.
    Does anyone know what else I need to configure this to work?
    Thanks.

    Just to take a quick step back, are you using some sort of VPN software once you've dialed up that allows you to bypass your company's firewall? Oracle databases generally are not and should not be made available through company firewalls. Can you connect to work-related machines other than databases (file servers, etc) when you dial in from home?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Huge number of idle connections from loopback ip on oracle RAC node

    Hi,
    We have a 2node 11gR2(11.2.0.3) oracle RAC node. We are seeing huge number of idle connection(more than 5000 in each node) on both the nodes and increasing day by day. All the idle connections are from VIP and loopback address(127.0.0.1.47971 )
    netstat -an |grep -i idle|more
    127.0.0.1.47971 Idle
    any insight will be helpful.
    The server is suffering memory issues occasionally (once in a month).
    ORA-27300: OS system dependent operation:fork failed with status: 11
    ORA-27301: OS failure message: Resource temporarily unavailable
    Thanks

    user12959884 wrote:
    Hi,
    We have a 2node 11gR2(11.2.0.3) oracle RAC node. We are seeing huge number of idle connection(more than 5000 in each node) on both the nodes and increasing day by day. All the idle connections are from VIP and loopback address(127.0.0.1.47971 )
    netstat -an |grep -i idle|more
    127.0.0.1.47971 Idle
    any insight will be helpful.
    The server is suffering memory issues occasionally (once in a month).
    ORA-27300: OS system dependent operation:fork failed with status: 11
    ORA-27301: OS failure message: Resource temporarily unavailable
    Thankswe can not control what occurs on your DB Server.
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ
    post results from following SQL
    SELECT * FROM V$VERSION;

  • Ssh connectivity(password less)  for oracle unix account in 11gR2 RAC

    DB : 11.2.0.2
    OS : Unix
    While installiation of RAC, password less connectivity setup is required between two nodes to copying files and to run commands. This is mandatory before installation.
    But after installation, is it require to have password less connectivity ( SSH) between two nodes ? By locking "oracle" unix account breaks ssh connectivity between two nodes. Even though it's not breaking cluster, but do we really need ssh connectivity once RAC db is up and running ?

    it is also used when you apply patches but not for everyday 'normal' operation
    http://download.oracle.com/docs/cd/B19306_01/install.102/b14203/prelinux.htm#BABJBAEB
    Oracle Universal Installer uses the ssh and scp commands during installation to run remote commands on and copy files to the other cluster nodes. You must configure SSH so that these commands do not prompt for a password.
    Source:-SSH for 10g RAC

  • How to connect to oracle ebs from an external software

    Hi!
    I want to develop an integration for oracle EBS. Therefor I'm looking for ways how to connect to the EBS and for a repository of functions which can be called from an external program. I'm not quite sure if this is the right place to ask but I could not find anything yet so I'm trying here.
    Are there any standard connectors for the EBS provided by Oracle?
    Thanks,
    Konrad

    Oracle Applications Architecture is a framework for multi-tiered, distributed computing that supports Oracle Applications products. In this model, various servers are distributed among multiple levels/tiers as follows:
    - The Desktop Tier --> Web browser with Jinitiator or Sun JRE
    - The Application Tier --> Web, Forms, Reports, Admin, and Concurrent servers
    - The Database Tier --> Oracle Enterprise Edition Database
    The Application tier is the layer which is responsible for:
    - Hosting the various servers that process the business logic
    - Managing communication between the desktop tier and the database tier
    So, in order to connect to the database, you can either access the application tier, or connect directly to the database. I do not think it is possible to communicate with the application services from some other application. Therefore, you would need to connect to the database directly which can be achieved as explained in my previous reply. There is no such API which can be used to open/close a database connection. Oracle E-Business Suite is just a database with number of schemas and objects which are tightly integrated.
    More details about Oracle E-Business Architecture can be found in:
    Oracle Applications Concepts
    http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/11iconcepts.pdf

  • Unable to Connect to Oracle VMs from network

    Hi,
    I have problem connectivity problem in my virtual machines.I am unable to connect to XEN VMs from my network. But my domU is visible in my route in the network as an attached device with the correct mac address. But I am unable to connect to other computers from my domU and vise versa. Please help.
    Output of ifconfig from dom0 is given below
    eth0 Link encap:Ethernet HWaddr 00:0C:29:8C:E2:B3
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1051 errors:0 dropped:0 overruns:0 frame:0
    TX packets:493 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:96109 (93.8 KiB) TX bytes:76110 (74.3 KiB)
    Interrupt:17 Base address:0x2000
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:246 errors:0 dropped:0 overruns:0 frame:0
    TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:38762 (37.8 KiB) TX bytes:38762 (37.8 KiB)
    vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
    inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:71 errors:0 dropped:0 overruns:0 frame:0
    TX packets:350 errors:0 dropped:37 overruns:0 carrier:0
    collisions:0 txqueuelen:32
    RX bytes:8906 (8.6 KiB) TX bytes:31618 (30.8 KiB)
    xenbr0 Link encap:Ethernet HWaddr 00:0C:29:8C:E2:B3
    inet addr:192.168.100.32 Bcast:192.168.100.255 Mask:255.255.255.0
    inet6 addr: fe80::20c:29ff:fe8c:e2b3/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1096 errors:0 dropped:0 overruns:0 frame:0
    TX packets:432 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:89115 (87.0 KiB) TX bytes:67364 (65.7 KiB)
    Output of brctl show is
    bridge name     bridge id          STP enabled     interfaces
    xenbr0          8000.000c298ce2b3     no          vif1.0
                                       eth0
    output of ifconfig from domU is
    eth0 Link encap:Ethernet HWaddr 00:16:3E:6E:64:3C
    inet addr:192.168.100.33 Bcast:192.168.100.255 Mask:255.255.255.0
    inet6 addr: fe80::216:3eff:fe6e:643c/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:479 errors:0 dropped:0 overruns:0 frame:0
    TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:43609 (42.5 KiB) TX bytes:9900 (9.6 KiB)
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:329 errors:0 dropped:0 overruns:0 frame:0
    TX packets:329 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:24394 (23.8 KiB) TX bytes:24394 (23.8 KiB)
    My vm.cfg file looks like
    bootloader = '/usr/bin/pygrub'
    disk = ['file:/OVS/seed_pool/OracleDB/System.img,xvda,w',
    'file:/OVS/seed_pool/OracleDB/oracle11g_x86_asm.img,xvdb,w']
    memory = '2048'
    name = 'OracleDB'
    on_crash = 'restart'
    on_reboot = 'restart'
    vcpus = 2
    vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0']
    vif = ['bridge=xenbr0,ip=192.168.100.33,type=netfront,mac=00:16:3E:6E:64:3C']
    vif_other_config = []
    xend-config.sxp has following two lines:
    (network-script network-bridge)
    (vif-script vif-bridge)
    Please let me know if any other information is needed.
    Thanks,
    Ruchin

    I have a Dell Power Edge Server with 1 network card. I have installed VMWare ESXi 5 on it. Created several Windows 2003 Servers Virtual Machines. Networking is working fine all these windows machines. On one of the virtual machines I have installed Oracel VM Server 2.2.2 (Dom0) and on top of it I am trying to install Oracle VM Template for Oracle 11g provided by Oracle. I am having connectivity issues on the Oracle 11gDB (DomU). I can ping and ssh from Dom0 to DomU and vice versa. But I cannot connect the Oracle DB machine from any other machine. I can connect the Oracle VM Server (Dom0) from other computers in my network.
    Any clue what the issue is ?
    Thanks,
    Ruchin

  • I am an oracle newbie, I should sqlplus connection to oracle

    I want to do: Open the oracle, create a Test database.
    System: redhat 6.2 / / Oracle version: 11g r2
    Here is my oracle log file, please help me, thank.
    =============================================
    Sun Oct 14 00:18:53 2012
    Create Relation ADR_CONTROL
    Create Relation ADR_INVALIDATION
    Create Relation INC_METER_IMPT_DEF
    Create Relation INC_METER_PK_IMPTS
    Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Trace information written to /u01/app/oracle/diag/tnslsnr/localhost/listener/trace/ora_2185_3078911680.trc
    Trace level is currently 0
    Started with pid=2185
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    WARNING: Subscription for node down event still pending
    14-OCT-2012 00:18:53 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * status * 0
    Sun Oct 14 00:21:59 2012
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Listener completed notification to CRS on stop
    14-OCT-2012 00:21:59 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * stop * 0
    Thu Nov 01 23:04:51 2012
    Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Trace information written to /u01/app/oracle/diag/tnslsnr/localhost/listener/trace/ora_3372_3079083712.trc
    Trace level is currently 0
    Started with pid=3372
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    WARNING: Subscription for node down event still pending
    01-NOV-2012 23:04:55 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * status * 0
    Thu Nov 01 23:05:08 2012
    WARNING: Subscription for node down event still pending
    01-NOV-2012 23:05:08 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * status * 0
    Thu Nov 01 23:08:14 2012
    WARNING: Subscription for node down event still pending
    01-NOV-2012 23:08:14 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * status * 0
    Thu Nov 01 23:10:51 2012
    Trace information written to /u01/app/oracle/diag/tnslsnr/localhost/listener/trace/ora_3372_3079083712.trc
    Trace level is currently 0
    Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    01-NOV-2012 23:10:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=reload)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * reload * 0
    Thu Nov 01 23:11:27 2012
    01-NOV-2012 23:11:27 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * services * 0
    Thu Nov 01 23:33:14 2012
    WARNING: Subscription for node down event still pending
    01-NOV-2012 23:33:14 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * status * 0
    Thu Nov 01 23:45:33 2012
    01-NOV-2012 23:45:33 * (CONNECT_DATA=(SERVICE_NAME=)(CID=(PROGRAM=sqlplus)(HOST=localhost.localdomain)(USER=oracle))) * establish * 12504
    TNS-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    TNS-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    Thu Nov 01 23:52:12 2012
    01-NOV-2012 23:52:12 * (CONNECT_DATA=(SERVICE_NAME=oracle)(CID=(PROGRAM=java)(HOST=localhost.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=14409)) * establish * oracle * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    Thu Nov 01 23:55:32 2012
    WARNING: Subscription for node down event still pending
    01-NOV-2012 23:55:32 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * status * 0
    Thu Nov 01 23:56:01 2012
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Listener completed notification to CRS on stop
    01-NOV-2012 23:56:01 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * stop * 0
    Tue Nov 06 22:24:37 2012
    Log messages written to /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Trace information written to /u01/app/oracle/diag/tnslsnr/localhost/listener/trace/ora_2674_3077985984.trc
    Trace level is currently 0
    Started with pid=2674
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    WARNING: Subscription for node down event still pending
    06-NOV-2012 22:24:42 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * status * 0
    Tue Nov 06 22:26:40 2012
    WARNING: Subscription for node down event still pending
    06-NOV-2012 22:26:40 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * status * 0
    Tue Nov 06 22:49:34 2012
    WARNING: Subscription for node down event still pending
    06-NOV-2012 22:49:34 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * status * 0
    Tue Nov 06 23:02:20 2012
    WARNING: Subscription for node down event still pending
    06-NOV-2012 23:02:20 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * status * 0
    Tue Nov 06 23:07:20 2012
    06-NOV-2012 23:07:20 * (CONNECT_DATA=(SERVICE_NAME=)(CID=(PROGRAM=sqlplus)(HOST=localhost.localdomain)(USER=oracle))) * establish * 12504
    TNS-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    TNS-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    Tue Nov 06 23:08:44 2012
    06-NOV-2012 23:08:44 * (CONNECT_DATA=(SERVICE_NAME=)(CID=(PROGRAM=sqlplus)(HOST=localhost.localdomain)(USER=oracle))) * establish * 12504
    TNS-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    TNS-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    Tue Nov 06 23:09:23 2012
    06-NOV-2012 23:09:23 * (CONNECT_DATA=(SERVICE_NAME=oracle)(CID=(PROGRAM=sqlplus)(HOST=localhost.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=22109)) * establish * oracle * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    Tue Nov 06 23:10:20 2012
    WARNING: Subscription for node down event still pending
    06-NOV-2012 23:10:20 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * status * 0
    Tue Nov 06 23:47:51 2012
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Listener completed notification to CRS on stop
    06-NOV-2012 23:47:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=localhost.localdomain)(USER=oracle))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186646784)) * stop * 0

    // id
    uid=501(oracle) gid=501(oinstall) groups=501(oinstall),502(dba) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
    // env | sort
    CLASSPATH=.:/usr/java/jdk1.7.0_07/lib/dt.jar:/usr/java/jdk1.7.0_07/lib/tools.jar
    COLORTERM=gnome-terminal
    CVS_RSH=ssh
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-iLGRF7K4YE,guid=2fd6a1fbe541bd143dfc8b5e00000053
    DESKTOP_SESSION=gnome
    DISPLAY=:0.0
    G_BROKEN_FILENAMES=1
    GDM_KEYBOARD_LAYOUT=us
    GDM_LANG=en_US.UTF-8
    GDMSESSION=gnome
    GNOME_DESKTOP_SESSION_ID=this-is-deprecated
    GNOME_KEYRING_PID=2467
    GNOME_KEYRING_SOCKET=/tmp/keyring-PckI8t/socket
    GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
    HISTCONTROL=ignoredups
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME=localhost.localdomain
    JAVA_HOME=/usr/java/jdk1.7.0_07
    LANG=en_US.UTF-8
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    MAIL=/var/spool/mail/oracle
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    ORACLE_SID=ora
    ORBIT_SOCKETDIR=/tmp/orbit-oracle
    PATH=/u01/app/oracle/product/11.2.0/db_1/bin:/u01/app/oracle/product/11.2.0/db_1/bin:/usr/java/jdk1.7.0_07/binL:/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin
    PWD=/home/oracle/Desktop
    QTDIR=/usr/lib/qt-3.3
    QTINC=/usr/lib/qt-3.3/include
    QTLIB=/usr/lib/qt-3.3/lib
    SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2476,unix/unix:/tmp/.ICE-unix/2476
    SHELL=/bin/bash
    SHLVL=2
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_AUTH_SOCK=/tmp/keyring-PckI8t/socket.ssh
    TERM=xterm
    USERNAME=oracle
    USER=oracle
    _=/usr/bin/env
    WINDOWID=44043786
    WINDOWPATH=1
    $ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Nov 8 23:39:48 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> connect ora
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    Warning: You are no longer connected to ORACLE.
    SQL> connect oracle
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL> SHOW DATABASES;
    SP2-0158: unknown SHOW option "DATABASES"
    SQL> SHOW TABLES;
    SP2-0158: unknown SHOW option "TABLES"
    SQL> SELECT * FROM USER;
    SP2-0640: Not connected
    SQL> exit
    Edited by: ruid on Nov 8, 2012 7:56 AM

  • How to find the number of users  connected to database from OS level(Linux)

    Hi All,
    Could anyone know , how to find the number of users connected to database without connecting with sql*plus
    is there any command to find it?
    example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
    oracle version:- 10g,11g
    Operating System:- OEL4/OEL5/AIX/Solaris
    any help will be appreciated.
    Thanks in advance.
    Thank you.
    Regards,
    Rajesh.

    Excellent.
    Tested, works as long as you set the ORACLE_SID first ( to change databases )
    ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
    Thanks!
    select OSUSER
        from V$SESSION
    where AUDSID = SYS_CONTEXT('userenv','sessionid')
        and rownum=1;Best Regards
    mseberg

  • Not able to connect remote oracle database over VPN

    I can not connect remote oracle database over VPN. tnsping is ok and it shows the server information of remote database. i can also telnet the 1521 port of remote database server. I can connect the same server when it is located in the same LAN. Please help me out this is very urgent.

    6b6c669e-6baa-45c4-a6dc-444aef2d5e7a wrote:
    I can not connect remote oracle database over VPN. tnsping is ok and it shows the server information of remote database. i can also telnet the 1521 port of remote database server. I can connect the same server when it is located in the same LAN. Please help me out this is very urgent.
    First, this is a forum of volunteers.  There is no "urgent" here.
    "Urgent" means one of two things -
    1) people are dying, or
    2) you have a customer-facing, revenue-producing production system that is down.
    (And to get some perspective on the second case, keep the first in mind.)
    For the first, you call whatever civil emergency service seems appropriate.
    For the second, you open an SR with Oracle - which requires a paid-up support contract. For *them* to consider your problem "urgent", you will need to demonstrate that your problem falls under item #2. I seriously doubt your problem fits that criteria.
    You don't have a support contract?  Now you know the exact dollar figure that your company places on the data.
    That said, you need to understand a few things about your specific problem,
    First, port 1521 is only used by the listener to accept a connection request.  Once it gets that request (and finds that it is for a service (sid) that it knows about, it will fork a server process and tell the requesting client that it can communicate with that server process over some other port .. a randomly chosen port number in the "high" range.  It could be your vpn is blocking that other port, whereas your internal firewall is not.
    But this is just an educated guess since I cannot find "can not connect remote oracle database over VPN" in any error message manual. If you had mentioned the VPN along with an actual oracle error message we could be much more precise in our diagnoses and recommendations.
    ---- edit 22 Sep
    It occurred to me that I just assumed you were using the same client machine in both cases ... a laptop that you use both at work (local network) and home (vpn).  If that assumption is false, there are probably problems with your tns setup on the home (vpn) machine.
    But again, it would be much easier to help if you gave us an actual error message.

  • Can't get Microsoft FrontPage to connect to Oracle 9.2i

    After considerble discussion in the microsoft.public.frontpage.client newsgroup (subject: "Database | Results ... won't ... through Oracle ODBC"), we had to give up and conclude that there didn't seem to be a straightforward way to connect to Oracle 9.2i via the FrontPage database wizard.
    I tried a system Oracle ODBC DSN via MS Access and it worked; but, ` can't get the same DSN to work from FrontPage. From FrontPage it generates a user/password error, though the same user/password works from MS Access.
    I tried an OLEDB connection and still received the following:
    Server error: Unable to connect to a database from the web server using the
    connection string 'Provider=MSDAORA; PWD=myPwd; UID=Administrator; Data
    Source=glOdb.mikecoughlin.net'.
    The following error message comes from the database driver software; it may
    appear in a different language depending on how the driver is configured.
    ORA-01017: invalid username/password; logon denied
    Source: Microsoft OLE DB Provider for Oracle
    Number: -2147217843 (0x80040e4d)
    I'm certain that this user/password combination is valid e.g. it works in Enterprise Manager to view tables etc.
    So, my question is:
    Does anyone have a/the workaround to use FrontPage to connect to Oracle 9.2i ?
    thanks,

    Trying use ODBC driver of Oracle Client, available on this Web Site.

  • JDBC connection to Oracle 10g RAC periodically times out

    I've been banging my head against the wall for months now and can't figure out why this is and what's causing it.
    We have 6x CF8 servers in our environment. 3 of which work perfectly and the other 3 have the following problem. All 6 machines were installed at the same time and followed the exact same installation plan.
    When I configure Oracle RAC data source, some of the machines time-out connecting to Oracle from time-to-time.
    Config:
    Solaris 9 on both CF and Oracle
    CF8 Enterprise with the latest updater.
    Apache 2 (not that it's relevant)
    6 machines, load-balanced (not clustered), identical install and configuration.
    data source config:
    JDBC URL: jdbc:macromedia:oracle://10.0.0.3:1521;serviceName=dbname.ourdomain.com;AlternateServers= (10.0.0.4:1521);LoadBalancing=true
    DRIVER CLASS: macromedia.jdbc.MacromediaDriver
    The problem:
    Every few minutes, CF starts hanging requests that deal with a specific RAC only data source. After about 30 seconds, all requests bail and generate this error in cfserver.log:
    A non-SQL error occurred while requesting a connection from dbsource.
    Timed out trying to establish connection
    This happens with any RAC data source on the "bad" servers while the "good" servers don't have this problem. The "bad" server doesn't have any problems with direct (non-rac) Oracle data source.
    Already tried:
    Moving server connections around on a switch (rulling out bad switch port)
    Copying driver from the healthy server (but it's the same installer anyway)
    Changed from RAC to normal Oracle type data source - works perfectly. So at the moment I have 3 servers connecting to a specific oracle instance and the other 3 connecting to RAC.
    Tried googling and searching forums and even Oracle metalink - nothing I could see relevant to this.
    It's a shame that after spending a ton of money on CF8 upgrades and Oracle RAC, we can't really utilize fail-over on the database connection.
    Any takers?
    Thanks,
    Henry

    I have the following in my CLASSPATH:
    C:\Ora10g1\product\10.2.0\db_1\jdbc\lib\jdbc.jar;
    C:\Ora10g1\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar;
    C:\Ora10g1\product\10.2.0\db_1\jlib\jndi.jar;
    C:\Ora10g1\product\10.2.0\db_1\jlib\orai18n.jar;
    Still 'Cannot find type 'oracle.jdbc.pool.OracleDataSource'
    Thanks

  • How can I connect to Oracle and SQL server at the same time?

    I have been trying to find a way to connect to Oracle Database through the developer 2000 and SQL server at the same time. I need to return some data from Oracle Database and some from the Sql Server Database. And update both through SQL. I find there is such a thing as the Oracle Transparent Gateway for SQL server. I can't find it on any of my CD's or through OTN downloadable files. If anyone can point me where to get this. Or tell of another way this can be accomplished I would appreciate it. TIA.
    [email protected]

    I have been trying to find a way to connect to Oracle Database through the developer 2000 and SQL server at the same time. I need to return some data from Oracle Database and some from the Sql Server Database. And update both through SQL. I find there is such a thing as the Oracle Transparent Gateway for SQL server. I can't find it on any of my CD's or through OTN downloadable files. If anyone can point me where to get this. Or tell of another way this can be accomplished I would appreciate it. TIA.
    [email protected]
    As far as I know you have 3 options depending on your specifications. I don't think option #3 will work if you need to actually join a
    SQL Server table to an Oracle table.
    1. Oracle Transparent Gateway. I haven't used the Oracle Transparent Gateway but my understanding is that Oracle gateways are
    separate purchased products from Oracle. I've never seen any free/development versions of it anywhere. You'll need to contact
    your Oracle sales rep about it.
    2. Heterogeneous Connectivity. There's something called Heterogeneous Connectivity that could work for you - depends on what
    version of Oracle you're on and what OS. You basically set up an ODBC data source on the Oracle server and modify the listener.ora
    and tnsnames.ora files. You can then create a database link to SQL Server just like you would to any other Oracle database. You can
    check your Oracle documentation for how this works. There's also some very good documents on Metalink that tell you how to do this
    as well as a Heterogeneous Connectivity forum on this site.
    3. Use the exec_sql package available in Developer 2000. This allows you to open and execute cursors to remote databases within
    Developer. We have an account validation process that uses this - when a person enters an account number in a form while logged
    into Oracle it validates the account is valid in our main accounting DB2 database. We also pull HR information from DB2 into Oracle
    this way. If you're using Forms 6i exec_sql is a built-in command, in Forms 5.0 and 5.5 you have to add it as an attached library to
    the form. I think you also need the OCA options installed from the Developer software to have access to the library in Forms 5.0 and
    5.5. The library will be in the $ORACLE_HOME\oca20\plsqllib directory for these versions. The Developer documentation should have
    additional information.
    HTH

  • Error when connecting linux oracle dataabse for replication thru oms

    I have installed oracle 8.1.7 ee on Redhat linux 7.1 and 6.2 both and also on windows2000.
    When i try to access database of any oracle installed on linux machines from any of management server it gives following errors:
    ora-01034 oracle not available
    ora-27101 shared memory realm does not exist
    linux error:2: file or dir does not exist.
    if i try to access dataabse without login to any management server ( i.e thru dba studio) then it connects to it.
    i want to setup master replication with two linux machine database.
    if any person has solution for this then please help me.
    Thx in advance
    if possible mail me at [email protected]
    thx in advance
    pranav shah
    null

    1010056 wrote:
    When iam connecting getting the following error
    [rmancln@orawave ~]$ sqlplus '/as sysdba'
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jun 5 21:16:53 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select status from v$instance;
    STATUS
    MOUNTED
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/u01/rmancln/oradata/CLN/system01.dbf'provide details on what events lead up to this situation.
    [oracle@localhost ~]$ oerr ora 1152
    01152, 00000, "file %s was not restored from a sufficiently old backup "
    // *Cause:  An incomplete recovery session was started, but an insufficient
    //         number of logs were applied to make the database consistent. This
    //         file is still in the future of the last log applied. The most
    //         likely cause of this error is forgetting to restore the file
    //         from a backup before doing incomplete recovery.
    // *Action: Either apply more logs until the database is consistent or
    //         restore the database file from an older backup and repeat recovery.

Maybe you are looking for