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.
Similar Messages
-
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.
-Tara889517 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 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 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. -
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 -
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 sHi,
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); -
Forms 6i is not connecting with Oracle 11g database?
Forms 6i is not connecting with Oracle 11g database?
How to resolve this issue?Hi,
Once you installed the Forms and Reports, you need to configure the paramters like tnsnames.ora in you path.
There will be one folder in the Installation path of Forms and Reports search for tnsnames.ora file..and you need to Updated the file as per the which ORACLE Server you are connecting and then try.. it..
Default path for forms will be "ORACLE_HOME/net80/admin".. search for tnsnames.ora and modify it..
- Pavan Kumar N -
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,
subbuam 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
Trushalsnrctl 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
Sahinacheck 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! -
Can Oracle 8.0.6 reports connects to Oracle 11g Database
Hi,
I know Oracle 8.0.6 report is already out of support. I want to build some environement. In this context, I want to know, where Oracle Reports 8.0.6 can connect to Oracle 11g R2 database ?
Pl suggest me urgently.
thanks & regards
paragFirst of all: using the word 'urgently' is inappropriate and rude in a forum of volunteers.
Edit your post and apologize publicly for using it.
Secondly your question is a rhetorical one, as it's answer is:
OF COURSE NOT
8.0.6
was succeeded by
8.1.5
8.1.6
8.1.7
9.0.1
9.2.0
10.1.0
10.2.0
11.0.1
11.0.2
NINE releases in between!!!
Sybrand Bakker
Senior Oracle DBA -
Error connecting to Oracle 11g Database
Hi All
I am testing .NET connectivity to Oracle 11g and I am not successful for a while.
I've tried to connect to database using library included in Oracle 10.2.0.3 Client and as a result I've got "invalid username or password" error. Then I've tried to use ORAC 11.1.0.5.10beta. I successfully connected to the server, but when I try to exec any query my program hangs.
Both of them work correctly with Oracle 9i database.
Also I've tried Microsoft .NET provider and it connects and executes queries fine (though 3 times slower).
How do you think what is reason or how can I find the reason?Hi All
I am testing .NET connectivity to Oracle 11g and I am not successful for a while.
I've tried to connect to database using library included in Oracle 10.2.0.3 Client and as a result I've got "invalid username or password" error. Then I've tried to use ORAC 11.1.0.5.10beta. I successfully connected to the server, but when I try to exec any query my program hangs.
Both of them work correctly with Oracle 9i database.
Also I've tried Microsoft .NET provider and it connects and executes queries fine (though 3 times slower).
How do you think what is reason or how can I find the reason? -
Issue in Connecting to Oracle 11g Database
Hi,
I have installed Oracle 11g database using loopback adapter. (used ip 10.10.10.10). In the drivers file did the following entry
ipaddress computername.domainname.com computername
How can I connect to this database from other computer in the network ex:using sqldeveloper? (When I try it says "Network adapter couldnt establish the connection")
Thanks,
Rameshfrom other computer in the network Oracle version on that computer ?
Did you configure a connection string on that computer ? If so, please post your tnsnames.ora. If not, what did you do exactly ?
Also, from the server post the result of "lsnrctl stat".
Maybe you are looking for
-
Bad PBR sig and dual booting with Windows
This site's menu config is too difficult for me... fyi. => Below is the cases that happened in my environment when installing Solaris 8 Operating Environment, Intel Platform Edition Some will help you, and some may be just for your thinking. Bad PBR
-
PL/SQL Issue with IN statement
Hello, As I am running the below code, it does not go into the loop in line 57, even though it work properly if I run the SQL script of line 57 alone. I am running Oracle 10.2g on linux. Here's the code: (scroll down to find a part of the output) Any
-
Message failed to send but has arrived
-
Send Button under 0ANALYSIS_PATTERN web template
I use the standard 0ANALYSIS_PATTERN web template for "my query" and I have set "my query" as the data provider under the web template. When press the send button, the broadcaster wizard is launched. However the wizard does not pick up "my query" as
-
ever since i upgraded my os to lion, my quickbooks can not send emails to my draft folder in mail. help!