Not able to connect in Oracle 11g

I have done the installation of oracle 11g...when i am using sql command line to connect i am getting an error "oracle initialization or shutdown in progress" what to do??
I have provided the username as 'system' and password as the one providede during installation.Plzz help.

Kumar_Jaga wrote:
It may be the case, the database did not stop correctly.
Or it could be that the shutdown is still in progress.  Perhaps rolling back uncommited transactions.  There simply isn't enough information to make an informed suggestion.
Try out following.
sql:> sqlplus /nolog
sql> connect sys/manager as sysdba
The 'as sysdba' makes the 'sys/manager' pointless.  You could just as well 'connect fubar/thisisnotmypassword as sysdba'.
sql>shutdown immediate
And if the previous shutdown did not work or is waiting on something, this one surely will not succeed.
sql> startup
sql> exit
While startup it may show error message like some of the parameter is missing. Note down that parameter and update in initSID.ora file.
Unless of course he's not using initSID.  Most databases don't, anymore.

Similar Messages

  • Not able to connect to oracle 11g using toad9.6

    Hey...
    I installed 11g on Win7- 64 bit. I'm able to connect to DB using Sql*plus and cmd prompt but when i try to connect through toad, it says no client installed.
    I installed 11g with "Desktop class" option.
    any suggestions ???

    Hi,
    1. If you have installed db and toad on the same machine, then the ORACLE_HOME of the database can be used as client.
    2. But if you have installed Database on machine1 and you try to connect from laptop1 then on laptop1 client must be installed (to allow TNS communication).
    In case 1 above, check installed clients in the window (Session -> New Connection) on TOAD and make sure it is not red. And define TNSNAMES.ORA in the same oracle home listed in installed clients.
    In case 2 above, you must have to install a client to allow the communucation between toad and server.
    Thanks

  • Not able to connect to oracle 11g database source through OBI Server

    Hi,
    I am having an issue regarding the database connectivity.
    Iam unable to connect to the oracle 11g database through OBI server. However its connecting through SQL Plus with same username/password@hoststring. Its giving the error as :
    [nQSError: 17001]Oracle Error code:1017,message:ORA-01017: invalid username/password; logon denied at OCI call OCILogon
    [nQSError: 17014]Could not connect to Oracle database.
    Please help me out in resolving the issue.

    If it's working in one place and not the other then it's obviously not an OBIEE problem.
    Are you typing it in right??
    Do you have multiple tnsnames.ora files pointing to different databases, maybe sqlplus is picking up one and toad & OBIEE the other and so the username/pw is wrong for that database?
    There's a limited amount that can be said to help, as the error is 100% clear what the problem is :) it's just working out whether you're connecting to the database that you think you are connecting to, and then whether the username & PW you're entering is correct for that DB.
    BTW OBIEE 10.1.3.4 is supported with 11g, and we're using it without problem here.

  • Web application not able to connect to Oracle 10g

    I have been facing an issue with my Web application past 2 days wherein
    I am not able to connect to oracle database. The error is receive when I compile my project : OCIEnvCreate failed with return code -1 but error message text was not available. I have defined my connection in web.config and calling it using a connection string
    Details: os : window7 (64bit) .NET framework 4 Oracle 10g 32 bit can you please help me and provide me with a s

    Hi,
           My Question is related to Microsoft visual studio (.Net Framework). 
    Issue: My Application build in Asp.Net is not able to connect to Oracle 10g database (32 bit). My OS is 64 bit in which my visual studio2010 is Installed.
    Thanks
    Error:  
    OCIEnvCreate failed with return code -1 but error message text was not available.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.Exception: OCIEnvCreate failed with return code -1 but error message text was not available.
    Source Error: 
    Line 28:
    Line 29: OracleConnection con = new OracleConnection(connStr);
    Line 30: con.Open();
    Line 31: str = "select count(1) from ITS_INCIDENT";
    Line 32: com = new OracleCommand(str, con);

  • Am not able to connect to oracle sql developer first time

    Hai all,
    am not able to connect  to oracle sql developer first time in my windows server.
    in my server sql developer icon is not showing in "all_programs>oracle_home>application development".
    am first time working in windows env..
    server : windows
    database_version:11.2.0.3
    please let me konw how to connect to the sql developer.
    Thanks,
    subbu

    am not able to connect  to oracle sql developer first time in my windows server.
    in my server sql developer icon is not showing in "all_programs>oracle_home>application development".
    am first time working in windows env..
    server : windows
    database_version:11.2.0.3
    please let me konw how to connect to the sql developer.
    Did you perhaps do a custom install? The DB software includes a version of sql developer and, by default, installs it in the sqldeveloper folder of the DB_HOME. Does that folder have sql developer in it?
    I suggest that you NOT use the version of sql developer that ships with the database. That version will NOT be the current version.
    Download the current version of SQL Developer, unzip it into a new folder and create a desktop icon for it.
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    The current version includes many, many bug fixes from that earlier DB version and you will have far fewer probems with it.

  • Not able to connect to oracle database 11g from application server10g

    Hello,
    I have installed oracle database 11g. We are using forms and report services through application server 10g. I have add required entries in tnsnames.ora file. But I am not able to connect to database. I am getting following error:
    ORA-12514-TNS:listener does not currently know of service requested in connect descriptor
    Please help me.
    Thanks
    Trusha

    lsnrctl status...
    oracle@orcl11gd:~> lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 13-FEB-2013 09:16:06
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 11-FEB-2013 12:40:23
    Uptime 1 days 20 hr. 35 min. 42 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /opt/oracle/product/11gR2/db/network/admin/listener.ora
    Listener Log File /opt/oracle/diag/tnslsnr/orcl11gd/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=orcl11gd.irma.ac.in)(PORT=1521)))
    Services Summary...
    Service "orcl11gd.irma.ac.in" has 1 instance(s).
    Instance "orcl11gd", status READY, has 1 handler(s) for this service...
    Service "orcl11gdXDB.irma.ac.in" has 1 instance(s).
    Instance "orcl11gd", status READY, has 1 handler(s) for this service...
    The command completed successfully
    oracle@orcl11gd:~>
    tnsnames.ora
    # tnsnames.ora Network Configuration File: /opt/oracle/OraBi/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    REP_ASDEMO_ORABI.IRMA.AC.IN =
    (ADDRESS = (PROTOCOL = tcp)(HOST = asdemo)(PORT = 1950))
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = asdemo.irma.ac.in)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    ORCLDEMO =
         (DESCRIPTION =
              (ADDRESS_LIST =
                   (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.11.80)(PORT = 1521))
              (CONNECT_DATA =
                   (SERVICE_NAME = ORCLDEMO)
                   (SERVER = DEDICATED)
    ORCL11GD =
         (DESCRIPTION =
              (ADDRESS_LIST =
                   (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.100.180)(PORT = 1521))
              (CONNECT_DATA =
                   (SERVICE_NAME = ORCL11GD)
                   (SERVER = DEDICATED)
         )

  • Not able to connect with Oracle server through VBScript without DSN

    Hi
    I have both Oracle9i and Oracle10g clients installed with local system.
    I am able to connect to Oracle Database 11g Enterprise edition server though sqlplus through command prompt and also through AQT without any error.
    As the server has lots of database ,whenever I connect to a particular database through sqlplus from command prompt,I connect as below
    C:>sqlplus username/password@service_name
    and it gets connected without any error.
    When I am trying to connect the same database through VB Script,I am getting ORA-12560 TNS:Protocol Adaptor Error.
    Below is the connection string I am using:
    Database_String = "SERVER=xxxx.vvvn.Com;Driver={Oracle in OraHome92};DATABASE=service_name;user id=userid; password=passowrd"
    I have installed a Oracle10g server in my local system and tried to connect the same way and I was successfully ,but its not working when the server is running remotely.
    Does it make any difference with the version of driver being used ?Should I need to modify my connection string anyway.
    Please help me as to identify the issue.Thank you very much in advance.
    Regards
    Sahina

    check the listener status in server end,
    lsnrctl status
    lsnrctl servicesif not start
    lsnrctl startThanks

  • Not able to connect to oracle directly

    os : AIX ch5dlfp089 1 6 000B4A22D900
    oracle : 11.2.0.1.0
    Issue : created oracle db using dbca (gui). Db created successfully
    When I checked recently using putty to check the db health. I am able to see smon and orcl is running well using
    ps -eaf | grep orcl.
    How ever when I am trying to connect the db using sqlplus prompt. It is showing idle instance.
    $ sqlplus "/ as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Oct 18 00:52:08 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> exit
    oratab entry shows ok
    orcl:/home/oracle/app/oracle/product/11.2.0/dbhome_1:
    CHECKED BASIC ENV. variables values
    $ echo $ORACLE_SID
    orcl
    $ echo $ORACLE_HOME
    /home/oracle/app/oracle/product/11.2.0/dbhome_1/
    profile shows as follows
    $ cat .profile
    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.
    export PATH
    if [ -s "$MAIL" ] # This is at Shell startup. In normal
    then echo "$MAILMSG" # operation, the Shell checks
    fi # periodically.
    ORACLE_SID=orcl
    export ORACLE_SID
    ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1/
    export ORACLE_HOME
    LIBPATH=$ORACLE_HOME/lib:$LIBPATH
    export LIBPATH
    PATH=$ORACLE_HOME/bin:$PATH
    export PATH
    However I am able to connect to db using tns
    $ sqlplus "sys/Oracle123@orcl as sysdba"
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> EXIT
    Question : what could be the reason I am not able to connect the db directly ? without tns ?
    Any mistake could have happend or any restriction could have set for this access ?

    I already tested that ORCL
    $ echo $ORACLE_SID
    orcl
    $ export ORACLE_SID=ORCL
    $ echo $ORACLE_SID
    ORCL
    $ sqlplus "/ as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Oct 18 01:08:03 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    LISTNER
    $ lsnrctl status
    LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 18-OCT-2010 01:09:00
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
    Start Date 14-OCT-2010 00:14:39
    Uptime 4 days 0 hr. 54 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP ON
    Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /home/oracle/app/oracle/diag/tnslsnr/ch5dlfp089/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ch5dlfp089.in.ibm.com)(PORT=1521)))
    Services Summary...
    Service "orcl.in.ibm.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.in.ibm.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    $
    TNS SHOWS
    $ tnsping orcl
    TNS Ping Utility for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production on 18-OCT-2010 01:09:51
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ch5dlfp089.in.ibm.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl.in.ibm.com)))
    OK (30 msec)
    $
    TNSNAMES ENTRY
    $ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    orcl =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ch5dlfp089.in.ibm.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.in.ibm.com)
    )

  • Not able to connect to Oracle EBS from host Windows 7

    Hi, I have installed oracle EBS version 12.1.1 (32 bit) on OEL ver 6.3 (32 bit). I have installed Linux on Oracle VM virtualbox ver 4.1.16.
    I am having host OS as Windows 7 home on my laptop.
    While setting up the Network in Oracle VM virtualbox, I have set "attached to" as 'Host Only Adapter'.
    I am able to connect to oracle EBS from the client server(linux) using Firefox browser. Both the services(database, Application) are starting & stopping without any problem.
    I have entered following setting in C:\Windows\System32\drivers\etc\hosts file.
    192.168.56.101 linux.server
    IP address of Linux OS is 192.168.56.101
    Please help in resolving the issue.
    Thanks!

    I am getting error as "Internet Explorer cannot display the webpage" on IE ver 9, when accessing from host machine. On Firefox (ver 12), the error is coming as "The connection has timed out. The server at linux.server is taking too long to respond."
    The firewall on the server has been disabled already.
    I am not able to ping the server IP address or hostname.domainname from client. Following error comes while pinging -
    C:\>ping 192.168.56.101
    Pinging 192.168.56.101 with 32 bytes of data:
    Reply from 172.31.3.110: Destination host unreachable.
    Reply from 172.31.3.110: Destination host unreachable.
    Reply from 172.31.3.110: Destination host unreachable.
    Reply from 172.31.3.110: Destination host unreachable.
    Ping statistics for 192.168.56.101:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    C:\>
    Server Machine IP address -
    [Oracle@linux ~]$ ifconfig
    eth0 Link encap:Ethernet HWaddr 08:00:27:8D:FE:FA
    inet addr:192.168.56.101 Bcast:192.168.56.255 Mask:255.255.255.0
    inet6 addr: fe80::a00:27ff:fe8d:fefa/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:125 errors:0 dropped:0 overruns:0 frame:0
    TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:17700 (17.2 KiB) TX bytes:5541 (5.4 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:54823 errors:0 dropped:0 overruns:0 frame:0
    TX packets:54823 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:17464908 (16.6 MiB) TX bytes:17464908 (16.6 MiB)
    [Oracle@linux ~]$
    Following is the content of server hosts file(etc/hosts) -
    127.0.0.1 linux.server linux
    127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
    Thanks!

  • Failover not working while connecting to Oracle 11g database

    Hi,
    We have a J2EE application that connects to Oracle 11g database.
    The connection URL we are using is as below
    jdbc:oracle:thin:@(DESCRIPTION =(SDU=32768)(ADDRESS=(PROTOCOL=TCP)(HOST=abc.hostname.com)(PORT=1525))(ADDRESS=(PROTOCOL=TCP)(HOST= xyz.hostname.com)(PORT=1525))(CONNECT_DATA=(SERVICE_NAME=PQR)))
    The issue that we are facing is, the database failover is not working.The application only connects to the first host in the TNS entry.Evertime there is a failure in the connection to the first host,manual steps are required to swap the hosts.
    This started happening after we upgraded Oracle DB from 9i to 11g.
    We are using the client jar of 9i to connect to 11g. Could this be causing the problem?
    Thanks In Advance.
    -Tara

    889517 wrote:
    Yes, you are right. Nothing else was updated.
    The application still works as expected except the failover.If you are correct then I seriously doubt it has anything to do with java. It would be something to do with Oracle and/or network infrastructure.
    If not then it is some small problem with the driver. You can try updating the driver but I wouldn't expect a fix.

  • Not able to connect to Oracle db 8.1.7.0.0 on server

    Hi
    Any body can help me on this please..
    I am not able to connect to the db through sqlplus and svrmgrl.
    Windows 2003 server - Oracle db version 8.1.7.0.0
    Please find the error given below while trying with sqlplus "/ as sysdba", svrmgrl,sqlplus /nolog
    C:\Documents and Settings\vamanana>set ORACLE_SID=MP2
    C:\Documents and Settings\vamanana>sqlplus "/as sysdba"
    SQL*Plus: Release 8.1.7.0.0 - Production on Sßb Nov 7 20:28:28 2009
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    ORA_DBA privilege is added to this user,Oracle windows service is running.
    Please find the sqlnet.ora, listener.ora, tnsnames.ora given below:
    sqlnet.ora:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    listener.ora:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PXW3150MX4)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PXW3150MX4)(PORT = 2481))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = mp2))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = sims))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = Y:\u01\dba\oracle\product\8.1.7)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = mp2)
    (ORACLE_HOME = Y:\u01\dba\oracle\product\8.1.7)
    (SID_NAME = mp2)
    (SID_DESC =
    (GLOBAL_DBNAME = sims)
    (ORACLE_HOME = Y:\u01\dba\oracle\product\8.1.7)
    (SID_NAME = sims)
    tnsnames.ora:
    MP2 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = PXW3150MX4)
    (Port = 1521)
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = PXW3150MX4)
    (Port = 1526)
    (CONNECT_DATA = (SID = MP2)
    )

    Hi
    It was done by using HP image copy software tool(Like ghost software)
    OUI is not used to install the software on the system.
    Please fine the command SET output given below:
    C:\Documents and Settings\vamanana>set
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\vamanana\Application Data
    CLIENTNAME=HPMWIS00012
    ClusterLog=C:\WINDOWS\Cluster\cluster.log
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=PXW3150MX4
    ComSpec=C:\WINDOWS\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\vamanana
    LOGONSERVER=\\PXW3150MX4
    NUMBER_OF_PROCESSORS=8
    OS=Windows_NT
    OvAgentDir=C:\Program Files\HP OpenView\data\
    OvDataDir=C:\Program Files\HP OpenView\data\
    OvInstallDir=C:\Program Files\HP OpenView\
    Path=C:\Program Files\HP\NCU;Y:\u01\dba\oracle\product\8.1.7\bin;R:\u01\dba\orac
    le\product\9.2.0\bin;R:\u01\dba\oracle\product\9.2.0\jre\1.4.2\bin\client;R:\u01
    \dba\oracle\product\9.2.0\jre\1.4.2\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:
    \Program Files\Oracle\jre\1.1.8\bin;Y:\u01\dba\oracle\product\8.1.7\jre\1.1.7\bi
    n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Hewle
    tt-Packard\svctools\common\wccproxy\bin;c:\usr\OV\bin\OpC\cmds;c:\usr\OV\bin\OpC
    \monitor;c:\usr\OV\bin\OpC\actions;C:\Program Files\HP OpenView\bin;C:\Program F
    iles\HP OpenView\bin\OpC;C:\Program Files\HP OpenView\bin\;C:\Program Files\HP O
    penView\lib\;C:\Program Files\OmniBack\bin\
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 26 Stepping 5, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=1a05
    ProgramFiles=C:\Program Files
    PROMPT=$P$G
    SESSIONNAME=RDP-Tcp#25
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\vamanana\LOCALS~1\Temp\2
    TMP=C:\DOCUME~1\vamanana\LOCALS~1\Temp\2
    USERDOMAIN=PXW3150MX4
    USERNAME=vamanana
    USERPROFILE=C:\Documents and Settings\vamanana
    windir=C:\WINDOWS

  • Not able to connect to Oracle 10G server

    Hi All
    I have installed Oracle Clinet 10G and i am able to connect to oracle server using sql plus, but not through Microsoft OLEDB data provider for Oracle.
    Error : Test Connection Failed because of an error initializing provider, oracle error occured,
    but error message could not be reterived from Oracle.
    also before installing Oracle clinet i have SQL Server 2005 and 2008 client in my system.
    How can i connect with oracle server using Microsoft OLEDB data provider for Oracle.
    How would i know what excatly is the issue?

    887065 wrote:
    Hi All
    I have installed Oracle Clinet 10G and i am able to connect to oracle server using sql plus, but not through Microsoft OLEDB data provider for Oracle.
    Error : Test Connection Failed because of an error initializing provider, oracle error occured,
    but error message could not be reterived from Oracle.
    also before installing Oracle clinet i have SQL Server 2005 and 2008 client in my system.
    How can i connect with oracle server using Microsoft OLEDB data provider for Oracle.
    How would i know what excatly is the issue?does listener.log file record connection request got that far?
    consider using WireShark or Ethereal to packect sniff the data exchange between MS client & Oracle listener/DB

  • Not able to start database Oracle 11g on Linux Server

    Hi
    I am using Oracle 11g database. I have successfully installed it on my linux server (Oracle Linux 4).
    When i am trying to access database through url "https://localhost.localdomain:1158/em".
    Browser is throwing some error that SSL port is not enabled but i feel otherwise.
    I tried to diagonse the problem, where i could find that listener port is not getting started.
    How to start all the services related to Oracle Database ?
    I am newbie for linux as well as database.
    Detailed help 'll be appreciated. Thanks a lot.

    I tried running netca but it gave me following error :
    [oracle@localhost bin]$ ./netca
    Oracle Net Services Configuration:
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    Error: null
    Check the trace file for details: /u01/app/oracle/cfgtoollogs/netca/trace_OraDb11g_home1-1002093PM2348.log
    Oracle Net Services configuration failed. The exit code is 1
    My listener.ora file content is as follows :
    [oracle@localhost admin]$ more listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    Following is trace_OraDb11g_home1-1001255PM5356.log content :
    [root@localhost cfgtoollogs]# cd netca/
    [root@localhost netca]# ls
    netca_OraDb11g_home1-1001255PM5356.log trace_OraDb11g_home1-1001255PM5356.log
    netca_OraDb11g_home1-1002093PM2348.log trace_OraDb11g_home1-1002093PM2348.log
    [root@localhost netca]# more trace_OraDb11g_home1-1001255PM5356.log [main] [ 2010-01-25 17:53:57.009 IST ] [NetCALogger.initTrace:203] Oracle Net Configuration Assistant: 1001255PM5356
    [main] [ 2010-01-25 17:53:57.010 IST ] [NetCALogger.initTrace:204] Oracle Home: /u01/app/oracle/product/11.2.0/dbhome_1
    [main] [ 2010-01-25 17:53:57.011 IST ] [NetCALogger.initTrace:205] Oracle Base: /u01/app/oracle
    [main] [ 2010-01-25 17:53:57.011 IST ] [NetCALogger.initTrace:206] Oracle Home
    Name: OraDb11g_home1
    [main] [ 2010-01-25 17:53:57.049 IST ] [InventoryUtil.getOUIInvSession:347] setting OUI READ level to ACCESSLEVEL_READ_LOCKLESS
    [main] [ 2010-01-25 17:53:57.050 IST ] [HAUtils.<init>:188] oui location /u01/app/oraInventory/ContentsXML
    [main] [ 2010-01-25 17:53:57.068 IST ] [Version.isPre:274] version to be checked 11.2.0.1.0 major version to check against10
    [main] [ 2010-01-25 17:53:57.068 IST ] [Version.isPre:285] isPre.java: Returning FALSE
    [main] [ 2010-01-25 17:53:57.074 IST ] [OCR.loadLibrary:308]
    Inside constructor of OCR
    [main] [ 2010-01-25 17:53:57.095 IST ] [OCR.loadLibrary:316] Going to load the
    ocr library
    [main] [ 2010-01-25 17:53:57.096 IST ] [sPlatform.isHybrid:67] osName=Linux osArch=i386 rc=false
    [main] [ 2010-01-25 17:53:57.097 IST ] [sPlatform.isHybrid:67] osName=Linux osArch=i386 rc=false
    [main] [ 2010-01-25 17:53:57.097 IST ] [Library.load:254] Loading library /u01/app/oracle/product/11.2.0/dbhome_1/lib/libsrvmocr11.so
    [main] [ 2010-01-25 17:53:57.099 IST ] [OCR.loadLibrary:318] loaded ocr libraries
    [main] [ 2010-01-25 17:53:57.100 IST ] [OCR.isCluster:939] Calling OCRNative for isCluster()
    [main] [ 2010-01-25 17:53:57.103 IST ] [OCR.isCluster:943] OCR Result status =
    true
    [main] [ 2010-01-25 17:53:57.103 IST ] [OCR.isCluster:955] Bolean result = false
    [main] [ 2010-01-25 17:53:57.107 IST ] [CmdlineArgs.<init>:110] Initializing variables array...
    [main] [ 2010-01-25 17:53:57.107 IST ] [CmdlineArgs.<init>:116] Initializing NetProperties...
    [main] [ 2010-01-25 17:53:57.109 IST ] [CmdlineArgs.initArgs:133] Initializing
    command line arguments...
    [main] [ 2010-01-25 17:53:57.109 IST ] [CmdlineArgs.parseLogParam:290] Parsing
    /log argument...
    [main] [ 2010-01-25 17:53:57.116 IST ] [CmdlineArgs.parseLogParam:345] Returning Log File = null
    [main] [ 2010-01-25 17:53:57.123 IST ] [CmdlineArgs.setOraArgs:236] Setting Oracle arguments...
    [main] [ 2010-01-25 17:53:57.124 IST ] [CmdlineArgs.setOraArgs:240] Passed Oracle Home = /u01/app/oracle/product/11.2.0/dbhome_1
    [main] [ 2010-01-25 17:53:57.124 IST ] [CmdlineArgs.setOraArgs:243] Read Oracle Home = /u01/app/oracle/product/11.2.0/dbhome_1
    [main] [ 2010-01-25 17:53:57.125 IST ] [CmdlineArgs.setOraArgs:246] Read Oracle Home ID =
    [main] [ 2010-01-25 17:53:57.125 IST ] [CmdlineArgs.setOraArgs:249] Read Oracle Home Name = null
    [main] [ 2010-01-25 17:53:57.126 IST ] [CmdlineArgs.compareOraHome:183] Comparing Oracle Homes ...
    [main] [ 2010-01-25 17:53:57.126 IST ] [CmdlineArgs.compareOraHome:184] Oracle
    Home 1 = /u01/app/oracle/product/11.2.0/dbhome_1
    [main] [ 2010-01-25 17:53:57.127 IST ] [CmdlineArgs.compareOraHome:185] Oracle
    Home 2 = /u01/app/oracle/product/11.2.0/dbhome_1
    [main] [ 2010-01-25 17:53:57.127 IST ] [CmdlineArgs.compareOraHome:224] Returning true
    [main] [ 2010-01-25 17:53:57.128 IST ] [InitialSetup.configureOPS:4504] Cluster mode is OFF
    [main] [ 2010-01-25 17:53:57.128 IST ] [InitialSetup.<init>:4028] TNS_ADMIN is: null
    [main] [ 2010-01-25 17:53:57.133 IST ] [OPSUtil.getHomeVersion:446] Inside getHomeVersion...
    [main] [ 2010-01-25 17:53:57.134 IST ] [OPSUtil.getHomeVersion:447] oracleHome
    = /u01/app/oracle/product/11.2.0/dbhome_1
    [main] [ 2010-01-25 17:53:57.135 IST ] [OPSUtil.getHomeVersion:451] oracle.sysman.assistants.util.OracleHome Object = /u01/app/oracle/product/11.2.0/dbhome_1
    [main] [ 2010-01-25 17:53:57.135 IST ] [OracleHome.getVersion:877] OracleHome.getVersion called. Current Version: null
    [main] [ 2010-01-25 17:53:57.138 IST ] [InventoryUtil.getOUIInvSession:347] setting OUI READ level to ACCESSLEVEL_READ_LOCKLESS
    [main] [ 2010-01-25 17:53:57.138 IST ] [OracleHome.getVersion:896] Homeinfo /u01/app/oracle/product/11.2.0/dbhome_1,1
    [main] [ 2010-01-25 17:53:57.670 IST ] [OracleHome.getVersion:922] OracleHome.server.getVersion Version: 11.2.0.1.0
    [main] [ 2010-01-25 17:53:57.670 IST ] [OracleHome.getVersion:943] Current Version From Inventory: 11.2.0.1.0
    [main] [ 2010-01-25 17:53:57.670 IST ] [OracleHome.getVersion:948] using sqlplus: /u01/app/oracle/product/11.2.0/dbhome_1/bin/sqlplus
    [main] [ 2010-01-25 17:53:57.671 IST ] [OPSUtil.getHomeVersion:452] returning oracleHome Version = 11.2.0.1.0
    [main] [ 2010-01-25 17:53:57.671 IST ] [OracleHome.getVersion:877] OracleHome.getVersion called. Current Version: 11.2.0.1.0
    [main] [ 2010-01-25 17:53:57.671 IST ] [OracleHome.getVersion:943] Current Version From Inventory: 11.2.0.1.0
    [main] [ 2010-01-25 17:53:57.671 IST ] [OracleHome.getVersion:948] using sqlplus: /u01/app/oracle/product/11.2.0/dbhome_1/bin/sqlplus
    [main] [ 2010-01-25 17:53:57.672 IST ] [InitialSetup.<init>:4041] Admin location is: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin
    [main] [ 2010-01-25 17:53:57.783 IST ] [ConfigureProfile.setProfileParam:136] Setting NAMES.DIRECTORY_PATH: (TNSNAMES, EZCONNECT)
    [main] [ 2010-01-25 17:53:57.783 IST ] [ConfigureProfile.setProfileParam:136] Setting ADR_BASE: /u01/app/oracle
    [main] [ 2010-01-25 17:53:57.791 IST ] [HAUtils.getHASHome:583] Oracle home from system properties: /u01/app/oracle/product/11.2.0/dbhome_1
    [main] [ 2010-01-25 17:53:57.792 IST ] [HAUtils.getCRSHome:540] Getting configured CRS/HAS home for Oracle home ( /u01/app/oracle/product/11.2.0/dbhome_1 ) ...[main] [ 2010-01-25 17:53:57.794 IST ] [GETCRSHOMEUtil.<init>:76] Toolname: getcrshome --- Tool location: /u01/app/oracle/product/11.2.0/dbhome_1/srvm/adminTool dependencies: [Ljava.lang.String;@102799c
    [main] [ 2010-01-25 17:53:57.794 IST ] [NativeSystem.isCmdScv:471] isCmdScv: cmd=[]
    [main] [ 2010-01-25 17:53:57.795 IST ] [RuntimeExec.runCommand:75] Calling Runtime.exec() with the command
    [main] [ 2010-01-25 17:53:57.796 IST ] [RuntimeExec.runCommand:77] /bin/sh
    [main] [ 2010-01-25 17:53:57.796 IST ] [RuntimeExec.runCommand:77] -c
    [main] [ 2010-01-25 17:53:57.796 IST ] [RuntimeExec.runCommand:77] /u01/app/oracle/product/11.2.0/dbhome_1/srvm/admin/getcrshome
    [Thread-2] [ 2010-01-25 17:53:57.802 IST ] [StreamReader.run:61] In StreamReader.run
    [main] [ 2010-01-25 17:53:57.802 IST ] [RuntimeExec.runCommand:142] runCommand: Waiting for the process
    [Thread-1] [ 2010-01-25 17:53:57.802 IST ] [StreamReader.run:61] In StreamReader.run
    [main] [ 2010-01-25 17:53:57.815 IST ] [RuntimeExec.runCommand:144] runCommand: process returns 1
    [main] [ 2010-01-25 17:53:57.816 IST ] [RuntimeExec.runCommand:161] RunTimeExec: output>
    [main] [ 2010-01-25 17:53:57.816 IST ] [RuntimeExec.runCommand:170] RunTimeExec: error>
    [main] [ 2010-01-25 17:53:57.816 IST ] [RuntimeExec.runCommand:192] Returning from RunTimeExec.runCommand
    [main] [ 2010-01-25 17:53:57.818 IST ] [CmdToolUtil.doexecute:372] nativeSystem.runRemoteExecCmd failed. Command = /u01/app/oracle/product/11.2.0/dbhome_1/srvm/admin/getcrshome arguments = [] env = null
    [main] [ 2010-01-25 17:53:57.824 IST ] [HAUtils.isHASConfigured:349] Ignoring exception in isHASConfigured: PRCT-1011 : Failed to run "getcrshome"
    [main] [ 2010-01-25 17:53:57.824 IST ] [HAUtils.isHASConfigured:350] oracle.cluster.deployment.ClusterwareInfo.getConfiguredCRSHome(ClusterwareInfo.java:423)
    oracle.sysman.assistants.util.hasi.HAUtils.getCRSHome(HAUtils.java:544)
    oracle.sysman.assistants.util.hasi.HAUtils.getHASHome(HAUtils.java:604)
    oracle.sysman.assistants.util.hasi.HAUtils.isHASConfigured(HAUtils.java:345)
    oracle.net.ca.InitialSetup.checkHAConfiguration(NetCA.java:4653)
    oracle.net.ca.InitialSetup.<init>(NetCA.java:4075)
    oracle.net.ca.NetCA.main(NetCA.java:405)
    [main] [ 2010-01-25 17:53:57.825 IST ] [InitialSetup.checkHAConfiguration:4691]
    HA Server is NOT configured.
    [main] [ 2010-01-25 17:53:57.827 IST ] [NetCAResponseFile.<init>:68] Response file initialized: /u01/app/oracle/product/11.2.0/dbhome_1/network/install/netca_typ.rsp
    [main] [ 2010-01-25 17:53:57.828 IST ] [NetCAResponseFile.getInstalledComponents:107] Installed components from response file: server, net8, javavm
    [main] [ 2010-01-25 17:53:57.828 IST ] [NetCAResponseFile.getVirtualHost:164] Virtual Host from response file: null
    [main] [ 2010-01-25 17:53:57.829 IST ] [SilentConfigure.performSilentConfigure:174] Typical profile configuration.
    [main] [ 2010-01-25 17:53:57.831 IST ] [ConfigureProfile.setProfileParam:136] Setting NAMES.DIRECTORY_PATH: (TNSNAMES, EZCONNECT)
    [main] [ 2010-01-25 17:53:57.831 IST ] [ConfigureProfile.setProfileParam:136] Setting ADR_BASE: /u01/app/oracle
    [main] [ 2010-01-25 17:53:57.833 IST ] [SilentConfigure.performSilentConfigure:182] Typical listener configuration.
    [main] [ 2010-01-25 17:53:57.843 IST ] [ConfigureListener.isHASConfigured:1425]
    Calling SRVM api to check if Oracle Restart is configured ...
    [main] [ 2010-01-25 17:53:57.843 IST ] [HAUtils.getHASHome:583] Oracle home from system properties: /u01/app/oracle/product/11.2.0/dbhome_1
    [main] [ 2010-01-25 17:53:57.843 IST ] [HAUtils.getCRSHome:540] Getting configured CRS/HAS home for Oracle home ( /u01/app/oracle/product/11.2.0/dbhome_1 ) ...[main] [ 2010-01-25 17:53:57.844 IST ] [GETCRSHOMEUtil.<init>:76] Toolname: getcrshome --- Tool location: /u01/app/oracle/product/11.2.0/dbhome_1/srvm/adminTool dependencies: [Ljava.lang.String;@102799c
    [main] [ 2010-01-25 17:53:57.844 IST ] [NativeSystem.isCmdScv:471] isCmdScv: cmd=[]
    [main] [ 2010-01-25 17:53:57.844 IST ] [RuntimeExec.runCommand:75] Calling Runtime.exec() with the command
    [main] [ 2010-01-25 17:53:57.845 IST ] [RuntimeExec.runCommand:77] /bin/sh
    [main] [ 2010-01-25 17:53:57.845 IST ] [RuntimeExec.runCommand:77] -c
    [main] [ 2010-01-25 17:53:57.845 IST ] [RuntimeExec.runCommand:77] /u01/app/oracle/product/11.2.0/dbhome_1/srvm/admin/getcrshome
    [Thread-4] [ 2010-01-25 17:53:57.849 IST ] [StreamReader.run:61] In StreamReader.run
    [main] [ 2010-01-25 17:53:57.850 IST ] [RuntimeExec.runCommand:142] runCommand: Waiting for the process
    [Thread-3] [ 2010-01-25 17:53:57.850 IST ] [StreamReader.run:61] In StreamReader.run
    [main] [ 2010-01-25 17:53:57.863 IST ] [RuntimeExec.runCommand:144] runCommand: process returns 1
    [main] [ 2010-01-25 17:53:57.864 IST ] [RuntimeExec.runCommand:161] RunTimeExec: output>
    [main] [ 2010-01-25 17:53:57.864 IST ] [RuntimeExec.runCommand:170] RunTimeExec: error>
    [main] [ 2010-01-25 17:53:57.864 IST ] [RuntimeExec.runCommand:192] Returning from RunTimeExec.runCommand
    [main] [ 2010-01-25 17:53:57.865 IST ] [CmdToolUtil.doexecute:372] nativeSystem.runRemoteExecCmd failed. Command = /u01/app/oracle/product/11.2.0/dbhome_1/srvm/admin/getcrshome arguments = [] env = null
    [main] [ 2010-01-25 17:53:57.865 IST ] [HAUtils.isHASConfigured:349] Ignoring exception in isHASConfigured: PRCT-1011 : Failed to run "getcrshome"
    [main] [ 2010-01-25 17:53:57.865 IST ] [HAUtils.isHASConfigured:350] oracle.cluster.deployment.ClusterwareInfo.getConfiguredCRSHome(ClusterwareInfo.java:423)
    oracle.sysman.assistants.util.hasi.HAUtils.getCRSHome(HAUtils.java:544)
    oracle.sysman.assistants.util.hasi.HAUtils.getHASHome(HAUtils.java:604)
    oracle.sysman.assistants.util.hasi.HAUtils.isHASConfigured(HAUtils.java:345)
    oracle.net.ca.ConfigureListener.isHASConfigured(ConfigureListener.java:1428)
    oracle.net.ca.ConfigureListener.isHASRunning(ConfigureListener.java:1450)
    oracle.net.ca.ConfigureListener.validateListenerName(ConfigureListener.java:1697)
    oracle.net.ca.ConfigureListener.typicalConfigure(ConfigureListener.java:169)
    oracle.net.ca.SilentConfigure.performSilentConfigure(SilentConfigure.java:185)
    oracle.net.ca.InitialSetup.<init>(NetCA.java:4159)
    oracle.net.ca.NetCA.main(NetCA.java:405)
    [main] [ 2010-01-25 17:53:57.866 IST ] [ConfigureListener.isHASConfigured:1436]
    Is Oracle Restart configured: false
    [main] [ 2010-01-25 17:53:57.866 IST ] [ConfigureListener.isHASRunning:1465] Is Oracle Restart running: false
    [main] [ 2010-01-25 17:53:57.866 IST ] [ConfigureListener.typicalConfigure:201]
    Checking for free port in range: 1521-1540
    [main] [ 2010-01-25 17:53:57.867 IST ] [ConfigureListener.isPortFree:1010] Checking if port 1521 is free on local machine...
    [main] [ 2010-01-25 17:53:57.867 IST ] [ConfigureListener.isPortFree:1023] InetAddress.getByName(127.0.0.1): /127.0.0.1
    [main] [ 2010-01-25 17:53:57.868 IST ] [ConfigureListener.isPortFree:1025] Local host IP address: localhost.localdomain/127.0.0.1
    [main] [ 2010-01-25 17:53:57.868 IST ] [ConfigureListener.isPortFree:1027] Local host name: localhost.localdomain
    [main] [ 2010-01-25 17:53:57.868 IST ] [ConfigureListener.isPortFree:1039] Creating ServerSocket on Port:1521, IP Address: localhost.localdomain/127.0.0.1
    [main] [ 2010-01-25 17:53:57.871 IST ] [ConfigureListener.isPortFree:1042] Created ServerSocket successfully.
    [main] [ 2010-01-25 17:53:57.871 IST ] [ConfigureListener.isPortFree:1055] Creating ServerSocket on Port:1521, Local IP Address: /127.0.0.1
    [main] [ 2010-01-25 17:53:57.871 IST ] [ConfigureListener.isPortFree:1059] Created ServerSocket successfully.
    [main] [ 2010-01-25 17:53:57.872 IST ] [ConfigureListener.isPortFree:1065] Creating ServerSocket on Port:1521
    [main] [ 2010-01-25 17:53:57.872 IST ] [ConfigureListener.isPortFree:1068] Created ServerSocket successfully.
    [main] [ 2010-01-25 17:53:57.872 IST ] [ConfigureListener.isPortFree:1088] Returning is Port 1521 free: true
    [main] [ 2010-01-25 17:53:57.872 IST ] [ConfigureListener.typicalConfigure:208]
    Using port: 1521
    [main] [ 2010-01-25 17:53:57.880 IST ] [ConfigureListener.setListenerParam:1779] Setting ADR_BASE_LISTENER: /u01/app/oracle
    [main] [ 2010-01-25 17:53:57.882 IST ] [ConfigureListener.isPortFree:1010] Checking if port 1521 is free on local machine...
    [main] [ 2010-01-25 17:53:57.882 IST ] [ConfigureListener.isPortFree:1023] InetAddress.getByName(127.0.0.1): /127.0.0.1
    [main] [ 2010-01-25 17:53:57.883 IST ] [ConfigureListener.isPortFree:1025] Local host IP address: localhost.localdomain/127.0.0.1
    [main] [ 2010-01-25 17:53:57.883 IST ] [ConfigureListener.isPortFree:1027] Local host name: localhost.localdomain
    [main] [ 2010-01-25 17:53:57.883 IST ] [ConfigureListener.isPortFree:1039] Creating ServerSocket on Port:1521, IP Address: localhost.localdomain/127.0.0.1
    [main] [ 2010-01-25 17:53:57.883 IST ] [ConfigureListener.isPortFree:1042] Created ServerSocket successfully.
    [main] [ 2010-01-25 17:53:57.884 IST ] [ConfigureListener.isPortFree:1055] Creating ServerSocket on Port:1521, Local IP Address: /127.0.0.1
    [main] [ 2010-01-25 17:53:57.884 IST ] [ConfigureListener.isPortFree:1059] Created ServerSocket successfully.
    [main] [ 2010-01-25 17:53:57.884 IST ] [ConfigureListener.isPortFree:1065] Creating ServerSocket on Port:1521
    [main] [ 2010-01-25 17:53:57.885 IST ] [ConfigureListener.isPortFree:1068] Created ServerSocket successfully.
    [main] [ 2010-01-25 17:53:57.885 IST ] [ConfigureListener.isPortFree:1088] Returning is Port 1521 free: true
    [main] [ 2010-01-25 17:54:00.849 IST ] [SilentConfigure.performSilentConfigure:187] Typical service alias configuration.
    Let me know where i have gone wrong ?
    Thanks for ur effort..

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

  • Not able to connect to Oracle Data source in Oracle Essbase Studio 11.1.2.2

    Hi,
    When i tried to connect to Oracle data source, i get this error "Unable to establigh connection. Ensure that the server is running, the user name and password are correct, and the ohter data fields match the server's configuration" when i tried to select database.
    If i change server name from to localhost, it allows to select database and does not give any error. but clicking on next button says localhost is not accepted, it needs machine name. Then how to connect to Oracle Data source?
    Edited by: User006 on Oct 10, 2012 12:45 PM

    It is possible the Oracle db has not been installed correctly, I take this is a personal install on a laptop, if so did you install the loopback adaptor.
    Have you tried the connection using the ip of the machine.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for