Linux ODBC Instant Client and Web access?
Hi,
I have downloaded instant client 10.2 and the corresponding ODBC RPM, installed them on a CentOS 4.7 (32 bits) Linux machine. I have also installed UnixODBC on this machine. After a lot of experiments and searches on Internet, I have finally obtained a working state. I.e. using DataManager to test the connection, I access to the Oracle Server that is on another computer.
Now, I am in the second step of my tests. I have to access to the database through Internet. The scheme is the following:
1- a web client is connected, to my web server (server is HTTPD),
2- the web server has to access to the Oracle server by using the ODBC Instant Client.
But this does not work yet. When I try this configuration, I see the error "*can't find the lib libsqora.so.10.1. libcintch.so.10.1 cannot open shared object library*". To solve this problem, I have to tried to define (and export) LD_LIBRARY_PATH in the /etc/sysconfg/httpd file. But this does not work.
Does anyone has a solution?
Thanks in advance.
here, the trace from the log file:
[ODBC][8089][SQLConnect.c][3549]
Entry:
Connection = 0x81db4a0
Server Name = [GTModus][length = 7 (SQL_NTS)]
User Name = [GTModus][length = 7 (SQL_NTS)]
Authentication = [*******][length = 7 (SQL_NTS)]
UNICODE Using encoding ASCII 'ISO8859-1' and UNICODE 'UCS-2LE'
[ODBC][8089][SQLConnect.c][1012]Can't open lib '/usr/lib/oracle/10.2.0.4/client/lib/libsqora.so.10.1' : libclntsh.so.10.1: cannot open shared object file: No such file or directory
Concerning exporting LD_LIBRARY_PATH I did as explained in one of the few posts found on internet. I have also tested by modifying the httpd.conf file by adding SetEnv directives. But whatever the changes I did, it seems that, through internet, the environment is lost.
Similar Messages
-
Pros and Cons between BEx client and Web access
Dear all,
I am quite new to BI 7.0 and have some question about frontend tools.
I am looking for a comparison material describing pros and cons of BEx client application and Web access in BI 7.0.
There are many tools in BEx suite and I am a bit confused about what fuctionality each tool has or what to consider to choose the right tool.
Thanks a lot in advance and appreciate any input.
Regards,
KazuyaHello,
Shortly speaking there are 4 tools and you need at least 2 of them:
1. Query Designer: you need it always as this is a tool for defining queries
2. Web Application Designer: you need it if you want create web reports
3. Report Designer: only if you want create formatted reports in web
4. BEx Analyzer: if you want to run queries in Excel (Analyzer is an add-in)
Help on BEx:
[http://help.sap.com/saphelp_nw70/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm]
-> BI Suite: Business Explorer
Regards, Karol -
NLS_LANG with Instant Client and MS Access
Hello Everybody.
Recently I downloaded Oracle Instant Client 10.1.0.3. I made a custom instalation for my little Access (ODBC)application.
In the begining the installation had not any other configuration than PATH Environment variable and ODBC basic DLL paramaters. That configuration worked very well for some minutes, until I realized that some rows in my linked tables appeared as #DELETED.
I made a little web-based investigation on the Microsoft and Oracle web site and I arrived to the NLS_LANG parameter. I realized it was my problem because I have Latin American characters in my rows and those rows were the "#DELETED" row I saw in my tables.
I did "select * from NLS_DATABASE_PARAMETERS" and that command showed AMERICAN and WE8DEC as NLS_CHARACTERSET.
I set the NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1 and the problem disapeared.
My question is: Is that the correct configuration in this case?
PD:I'am using Win XP Pro in Spanish.
ThanksHi,
>>then I use Oracle Instant Client
It's possible that maybe a NLS environment variables configuration problem ... For more information, I advise you to take a look at [url http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm] NLS_LANG FAQ
Cheers
Legatti -
Linux(ubuntu), instant client and mono
hello,
I'm trying to build some c# application, that uses oracle instant client. I installed it locally, initialized variables such as $LD_LIBRARY_PATH, $PATH, $ORACLE_BASE, $ORACLE_HOME
but when i try to run my mono app i get unhandled exception:
Unhandled Exception: System.Data.OracleClient.OracleException: Could not allocate the Oracle environment.
This is because of this code in System.Data.OracleClient
<code>
environment = new OciEnvironmentHandle (OciEnvironmentMode.Threaded | OciEnvironmentMode.NoUserCallback);
if (environment.Handle == IntPtr.Zero)
throw new OracleException (0, "Could not allocate the Oracle environment.");
</code>
from svn: http://anonsvn.mono-project.com/source/trunk/mcs/class/System.Data.OracleClient/System.Data.OracleClient/OciGlue.cs
any ideas?
or is there other way to check instant client installation on linuxEnvironment Variables for OCI Instant Client
from Oracle® Call Interface Programmer's Guide, 10g Release 2 (10.2)
http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14250/oci01int.htm#sthref97
Choosing a Locale with the NLS_LANG Environment Variable
from Oracle® Database Globalization Support Guide, 10g Release 2 (10.2)
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14225/ch3globenv.htm#sthref192 -
ODBC instant client driver rpm for Linux X64
Hi,
Can anyone tell me where can I find odbc instant client driver rpm for Linux X64 edition.
I can only see for Linux x32 not for X64.
Edited by: user11128035 on Sep 6, 2009 3:13 AM
Edited by: user11128035 on Sep 6, 2009 3:15 AMI don't understand your step 7 (the first step 7, actually).
What is that unixODBC-2.2.14-linux-x86-32.tar.gz, where did it come from, and why are you doing all that?
unixODBC should be installed after step 5.
I guess that that is the cause of your problem.
isql is not linked against readline at all on my RHEL 5 system.
Do you notice any improvement after removing the files from that tar.bz file?
Yours,
Laurenz Albe -
Problems installing instant client and ODBC
I am trying to install the instant client and ODBC drivers on an XP machine so I can connect to an OracleXE database via ODBC for an application to use.
I have unzipped the instant client and ODBC drivers to c:\Oracle and added an entry to the PATH statement.
When I attempt to add an ODBC connection I get the error "The Oracle client and network components were not found. The components are supplied by Oracle Corporation and are part of the Oracle version 7.3 or greater client software installation. You will be unable to use this driver until these components have been installed"
Am I missing something in the configuration?
All help appreciated.did you set your ORACLE_HOME=c:\ORACLE and run the odbc_install.exe?
-
Unable to install 64-bit Oracle ODBC Instant Client on Windows 2008 R2 machine.
I am trying to upgrade the Oracle ODBC driver from the 32-bit version currently installed (ODBC Instant Client Release 10.1.0.5.0, April 2006) to a newer 64-bit version but have not been successful. I have had success at uninstalling and reinstalling the existing 32-bit version package (release 10.1.0.5.0) however when I've tried to install the 64-bit ODBC Instant Client (Release 12.1, December 2012), I run the odbc_install.exe application inside the package. it appears to run without issue/compliant, but then I do not see the 64-bit Oracle ODBC driver anywhere, either if I go via the traditional Administrator Tools --> ODBC Data Sources or if I go to the c:\windows\syswow64\odbcad32.exe route. Further investigation into the ReadMe file (ODBC_IC_Readme_Win.html) reveals that you need the 3 DLLs oci.dll, oraociei11.dll and orannzsbb11.dll which the package does not come with. Where could I obtain the correct version of these DLLs or else where can I get an installation package which already contains them?
Any help with this is greatly appreciated. Thank youWelcome to the forums !
Pl post this in the Instant Client forum - Instant Client
HTH
Srini -
Windows 7, Oracle DB, Instant Client and VBScript
I'm trying to to connect to a Oracle database via vbs on a Windows 7 machine using the instant client. I get an error [Oracle][ODBC][Ora]Ora-12560: TNS:protocol adapter error Code 80004005. Script still works fine in XP using the Microsoft ODBC for oracle. I've setup the system dsn, and added tns_admin option to the system environmental path. Here's the connection line
psconn.Open "DRIVER={Oracle in instantclient_11_2};SERVERNAME=192.168.50.1:1521/PSPRODDB;User Id=user;Password=pass;"
I've tried 32 bit instant client and the 64 bit and get the same messages with both. Any suggestions?12560 means you didnt supply a tnsnames alias, and a database was not found in that home.
Try this:
"DRIVER={Oracle in instantclient_11_2};DBQ=192.168.50.1:1521/PSPRODDB;uid=user;pwd=pass;"
Using Oracle ODBC Driver
Hope it helps,
Greg -
How to make the Data Source Administrator see the 9208 ODBC instant CLient.
I have installed the 9208 Oracle ODBC instant CLient as per the instructions in the accompanying README.txt.
Part III: Exploding the Kit onto your system
Expand the self-extracting archive file onto your hard drive.
C:\> ORA9208.EXE
Part IV: Installation Instructions
This section assumes the following:
1. Oracle 9.2.0.0.0 client has already been installed on your system,
and necessary 9.2.0.8.0 patch has been applied.
2. Part III has been completed.
Software fixes:
Refer to release notes (ODBCRelnotesUS.htm) for a complete list of
Software fixes.
Installation Instructions
Once the self-extracting archive file ORA9208.EXE has been
exploded it will create an directory structure as shown below on
your hard drive.
The directory structure after unzipping and where the files to be
copied are shown below:
1. a. ORA9208\bin\sqora32.dll ---> <ORACLE_HOME>\bin\
b. ORA9208\bin\sqoras32.dll ---> <ORACLE_HOME>\bin\
c. ORA9208\bin\sqresus.dll ---> <ORACLE_HOME>\bin\
2. a. ORA9208\ODBC\html\ODBCRelnotesUS.htm ---> <ORACLE_HOME>\ODBC\html\
b. ORA9208\readme.txt ---> <ORACLE_HOME>\ODBC\html\
3. ORA9208\ODBC\mesg\oraodbus.msb ---> <ORACLE_HOME>\ODBC\mesg\
All of the above has succeeded ok; however whilst trying to create new DSN the intsant client is not listing as an available driver. What's missing please?The package you downloade is not ODBC Instant Client package
Instant Client Concept came into existence from 10.1 onwards only
What you downloaded are the patched 9208 ODBC Drivers -
Difference between instant client and full oracle client
Everyone,
I had read the below lines from a goldengate pdf. Someone please explain me what is the difference between instant client and full oracle client?
What is the use of XDK libraries.?
" The full Oracle client must be used with GoldenGate so that the GoldenGate programs
have access to the Oracle XDK libraries. Do not use Oracle Instant Client, which lacks
those libraries. You can download the full client from Oracle’s website."
Regards,
SAKTHiThe dealio is this:
When you install client software, you have several options as to the degree of what you get/install. The big chicken dinner is administrator, so you get all kinds of extra features, add-ons, libraries, utilities, etc. At the hard candy Christmas end is instant client, and that has just enough functionality to, as you may surmise by now, connect a client and that's about it. Various libraries have functionality built in to do whatever extra is required. An example is FAN, or fast application notification, used in Data Guard failover. A FAN API (Java) will detect a failover and re-direct a client connection to the new primary. What GG uses XDK for (specifically) isn't of importance to a user, just the fact that it is available for connecting to Oracle is. -
Odbc instant client configurtion on Intel core i7,Windows 7,64 bit system
Hi all,
I tried to install the odbc instant client on the above mentioned configuration following the instructions given in the instant client package after downloading from the link given below(Basic and odbc packages).
http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
But i cannot get this to work,i cannot find the microsoft odbc for oracle driver in the data sources in the system dsn tab.Did anyone come across such a scenario and make this work.It would be great if you can help find a way out of this.
Thanks!You getting everything mixed up. First it's not the "odbc instant client", but the Oracle Instant Client. The Oracle Instant Client is not an ODBC driver but Oracle native drivers (OCI). Secondly the "microsoft odbc for oracle" driver is, as it's names implies, a Microsoft driver, not an Oracle driver so it's never going to be installed by the Oracle Instant Client. Finally you shouldn't need to use ODBC for Oracle. Use OCI to connect to Oracle databases.
-
Hi everybody,
I've been struggeling with this problem for a few weeks now and can't find a way to solve it.
We have an RD farm (Server 2012) which consists of two Remote Desktop Servers with Connection Broker and Web Access.
I've recently published a new server, containing RD Gateway and Web Access in our perimeter network.
Now we've got restrictions that OTP/2FA must be used for the external deployment and we've decided to go for a solution from Gemalto.
The "program" is called IDConfim and the server is called SA Server (Strong Authentication).
Also it's important that NO ISA/TMG server is supposed to be used, the OTP/2FA is supposed to work seamless with the Web Access/Gateway.
After hours discuss we came to a point were their NPS agent setup would be the only way to accomplish our goals.
The setup is supposed to be like this:
LAN:
1 DC (2008 R2)
RD Farm (2012)
1 SA Server (2012)
DMZ:
RD Gateway/Web Access (2012)
Were Gateway and Web Access should forward the authentications with NPS to the NPS agent on the SA server.
When you print your AD account to authenticate you add the 6 digits of OTP which you recieve from you mobile app.
Initially this seems to work, the Gateway forwards the request to the remote NPS server, BUT only if you write the correct AD password
(without the OTP extension).
If you write the correct AD password the authentication is forwarded to out SA Servern and it's beeing rejeced because the password doesn't
contain the correct OTP extension.
The problem comes here.
When you write you AD password along with the OTP extension you get a Windows Security error in the eventlog (On thw Gateway server) like this:
An account failed to log on.
Subject:
Security ID: NULL SID
Account Name: -
Account Domain: -
Logon ID: 0x0
Logon Type: 3
Account For Which Logon Failed:
Security ID: NULL SID
Account Name: user
Account Domain: domain
Failure Information:
Failure Reason: Unknown username or password.
Status: 0xc000006d
Sub Status: 0x0
Process Information:
Caller Process ID: 0x0
Caller Process Name: -
Network Information:
Workstation Name: server
Source Network Address: 192.168.x.x
Source Port: 63003
Detailed Authentication Information:
Logon Process: NtLmSsp
Authentication Package: NTLM
Transited Services: -
Package Name (NTLM only): -
Key Length: 0
This event is generated when a logon request fails. It is generated on the computer where access was attempted.
The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).
The Process Information fields indicate which account and process on the system requested the logon.
The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
The authentication information fields provide detailed information about this specific logon request.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
What i can see it's a NTLM error, but hey?! aren't we supposed to forward all authentication handeling to the remote NPS server?
The problem is that no matter what i try the above problem stays there.
Is it not possible to just forward ALL authentication handeling to a remote server?
The only solution I've found to get it working someday in the future is this:
"Remote Desktop Pluggable Authentication and Authorization", which is supposed to be introduced in 2012 R2.
Also this link describes it:
http://archive.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=rdsdev&ReleaseId=3745
Please, bring me some answers before my head explodes! :)
PS, long question = maybe some errors, ask me if something is unclear.Hi,
Based on our experience, if the NTLM error occurs, please check the password.
Regards,
Mike
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
10G Instant client and import command
Hi all,
Am using the 10G instant client and need to use the import command through this client but cannot find it anywhere. Does the 10G instant client provide this functionality or anyone know of a workaround for this.
All replies much appreciated,
TomThats a pity. I thought I read someplace that you dont lose any client functionality by using the instant client as opposed to using the client cd install. Is it just that the instant client replicates the connection functionality of a normal 300mb client install?
-
EM Application Log and Web Access Log growing too large on Redwood Server
Hi,
We have a storage space issue on our Redwood SAP CPS Orcale servers and have found that the two log files above are the main culprits for this. These files are continually updated and I need to know what these are and if they can be purged or reduced down in size.
They have been in existence since the system has been installed and I have tried to access them but they are too large. I have also tried taking the cluster group offline to see if the file stops being updated but the file continues to be updated.
Please could anyone shed any light on this and what can be done to resolve it?
Thanks in advance for any help.
JasonHi David,
The file names are:
em-application.log and web access.log
The File path is:
D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_brsapprdbmp01.britvic.BSDDRINKS.NET_SAPCPSPR\log
Redwood/CPS version is 6.0.2.7
Thanks for your help.
Kind Regards,
Jason -
Difference between BLOCK DATA and WEB ACCESS BLOCK?
Currently my account shows I have both BLOCK DATA and WEB ACCESS BLOCK in place. I did this a couple of years to prevent data charges. Works perfectly. Now I'm trying to upgrade one of my lines to a Kin Onem because of the WiFi option and when I add the phone to my shopping cart and go to the Select Features & Services Page I see a message at the bottom that says: Features We Needed To Remove (Because they're incompatible with your phones or plan) - Block Web Access.
It looks like I don't have a choice when ordering the phone, but what exactly will removing the Web Access block do? Maybe I have to turn it off anyway to use the WiFi anyway right? I just don't want to incur any data charges.
Someone please help. Thank you!"Data block" actually blocks your phone's ability to connect to the 3g data network. What this means is your phone can't create an internet connection on a cellular network. Web Access block specifically blocks the browser/mobile web on your phone from making a connection. Unblocking mobile web will not cause your phone to be able to connect to the cellular data network (resulting in 1.99/mb charges), but will allow the browser on the kin to connect while you're using wifi.
Maybe you are looking for
-
I am trying to find out the best app to save information from different websites. I do not want to use Facebook, Twitter or Pinterest. Is there others and which would be the most accessible from all sites? It is education based and have Vimeo Edmondo
-
I am trying to sync my iPad to my computer. When I do, using either WiFi or USB connection, I receive the following message: "This computer is no longer authorized to play purchased items that are on the iPad "XXX". Would you like to authorize this
-
We just upgraded to Lion and our Mac for Office is not working...
-
Help! Browser issue! Loading vid w/swf in IE!
Using CS4-- I am new to Flash (2 weeks in). I have a swf in a tooltip (that appears w/cursor over the reel image). When I preview the page, the skin and the clip are both visible and work correctly. However, when I load the page and try to view it
-
Browser shuts down when I access any games site, Yahoo Poge, etc.
When ever I try to get to my game which is pinochle on Yahoo, the browser goes back to my start up screen shuts down Fire fox and asks me to send an error report. This did not happen until i downloaded the latest version of Firefox today.