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)
)

Similar Messages

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

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

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

  • OCCI - not able to connect to oracle 10g DB

    Hello Folks,
    I hv VC++ 6.0 and Oracle 10g, I want to connect to Oracle DB, Compliation is successful, But while executing I'm getting Runtime Error!
    I'm getting this error on a statement: conn = env->createConnection ("username", "password","//localhost:1521/XE");
    Here's code snippet:
    #pragma comment(lib, "oraocci10.lib")
    #define WIN32COMMON
    #include <stdlib.h>
    #include <occi.h>
    #include <iostream>
    class lobarray
    private:
    Environment *env;
    Connection *conn;
    public:
    lobarray (string user, string passwd, string db)
    cout <<"connecting DB" << endl;
    env = Environment::createEnvironment();
    cout <<"ENV set" << endl;
    conn = env->createConnection ("admin", "admin","//localhost:1521/XE");
    cout <<"conneted " << endl;
    I'm stuck with this issue, please help me out, i'm in a urgernt need,
    anything will work either sample code, links, any guidance

    Yes, I'm using 10g XE..
    I also must need to use the VC++ 6.0 as the old code is written and get only compile and executed with VC++ 6.0.
    Now, is there any way out...?
    (Sorry for duplicate post... browser got hanged up..and did not checked back for post added or not)

  • Not able to connect to Oracle B2B database after restart of my system

    Hi
    I am getting this problem. Because of this problem I reinstalled B2B in my system 4 times till now.
    This time I want to resolve this problem instead of reinstalling.
    1. I instsalled B2B successfully, able to conenc to database, done some configurations in Oracle B2B, everythign is fine.
    2. Restarted my system, I have kept starting of this database process as automatic.
    3. I stopped the metadatarepository and started again, when I am tryign to connec to B2B database it is giving the below error:
    Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    //B4b-5F-154-153Y.bdc4b.co.in:1521/orcl.bdc4b.co.in
    I verified if it is taking the correct ORACLE_HOME for starting the database, it is correct,
    I executed the below command:
    lsnrctl seervices.
    It is showing only the service, PLSExtProc. not the b2b database service: orcl.bdc4b.co.in.
    tnsnames.ora is having the below two entries:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = B4b-5F-154-153Y.gdnindia.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.bdc4b.co.in)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = B4b-5F-154-153Y.gdnindia.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    could anybody tell me what can be the problem.

    Hi Praveena,
    This appears to be issue database connectivity
    You might want to check if the listener is up. Also check for the error code.
    ORA-12514:     TNS:listener does not currently know of service requested in connect descriptor
    this might of use to you:
    Suddenly getting ORA-12514
    ORA-27101: shared memory realm does not exist
    Regards,
    Dheeraj

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

Maybe you are looking for

  • Hard Drive Replacement Running Boot Camp

    Good morning. I am going to be swapping out my the 750gb 5200rpm hard drive on my 13-inch, Mid 2012 MBP. I am awaiting delivery of a 500gb SSD and it will be going in place of the 750 standard hd and I am really looking forward to it. My question to

  • External monitor not working after installing latest NVIDA drivers

    I have a mid-2010 MacBook Pro. I installed bootcamp and Windows 7 x64. I performed all the Windows updates then installed the Apple Bootcamp driver CD. Everything was working fine and I was able to connect an external LCD monitor using a mini display

  • Keynote presentation through 'infocus in24' projector via iPad3

    Hey all, Am looking for some advice really, I'm pretty new to presentations etc! Firstly, the idea is to do a slideshow as part of my brothers best man wedding speech! I've contacted the place where the dinner is and they've offered to make available

  • Switch statement doubts

    Hi guys... in the switch statement can i leave the "default: " blank without having any statement to excute ...is that ok? .<code>switch (expression) { case cond1: code_block_1; case cond2: code_block_2; case condn: code_block_n; {color:#ff0000}defau

  • Adobe shockwave player crashing or hanging continues

    This is still prevalent and I have had to disable the plugin for shockwave player. Similar was happening with adobe flash player but since the Firefox update it isn't happening as much. Is there a solution to solve this or is it a Adobe issue that th