ORA-3115 occuring after migration to Oracle 11.1.0.6 on Red Hat
Our application has been running on Tru64 5.1b, Oracle v9 for years quite happily. Since migrating to Red Hat Linux, Oracle 11 we've encountering ORA-3115 errors sporadically from a Pro*C call.
Our C executable maintains a connection to the database. Once the 3115 error occurs it occurs on every query to the database from that executable (other processes continue OK, something with the connection?). Our proram uses Pro*c queries with dynamic binds.
There seems to be no pattern to the frequency with which the error occurs.
The offending bit of code is usually:
EXEC SQL SELECT
UPDATE_INHIBITED,
LAST_UPDATE_TIME,
TO_CHAR(LAST_LIVE_UPDATE, 'HH24:MI:SS DD-MM-YYYY'),
LAST_TRANSACTION,
LAST_TRANSACTION_DG
INTO
:sql_update_inhibited,
:sql_last_update,
:sql_last_operational_update,
:sql_last_trans,
:sql_last_trans_dg
FROM SET_DETAILS
WHERE SET_ID = :sql_set_id;
This code has been unchanged for years. The fact that it usually occurs here probably more because this is the first database call completed as part of a scheduled process.
This problem is having an operational impact (as the updates do not occur) and I really need to get a resoltuion before the Christmas break.
As I said we've just migrated to a new server. There may be configuation parameters that are not perfect. Any suggestions on what we could double check?
Has anyone seen this before? Any ideas how I can work around this?
Thanks,
Beck
Is your client is also 11g is not upgrade to 11g Client and try.
Similar Messages
-
Buffer to small ORA-22835 error after migration from 9i to 10g
Hello Oracle-Experts,
I had to calculate hash-values for a corresponding clob-field which worked with oracle 9i (9.0.2.1)
After migration to oracle 10g (10.2.0.1.0) I get an ORA-22835 error (Buffer too small for CLOB to CHAR conversion.
Here is the output for the 10g version:
SQL*Plus: Release 10.2.0.1.0 - Production on Mi Jun 13 16:19:28 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Verbunden mit:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> CREATE TABLE test_conv (value CLOB);
Tabelle wurde erstellt. (Table created.)
SQL> DECLARE vLong LONG:= LPAD('M',4400,'M');
2 BEGIN
3 INSERT INTO test_conv(value) VALUES (vLong);
4 END;
5 /
PL/SQL-Prozedur erfolgreich abgeschlossen. (PL/SQL procedure successfully completed.)
SQL> SELECT dbms_utility.get_hash_value(value,1,power(2,30)) from test_conv;
SELECT dbms_utility.get_hash_value(value,1,power(2,30)) from test_conv
FEHLER in Zeile 1:
ORA-22835: Puffer zu klein für Konvertierung von CLOB zu CHAR oder BLOB zu RAW
(tatsächlich: 4400, maximal: 4000)
(Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 4400, maximum: 4000))
This is the result with 9i
Verbunden mit:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> CREATE TABLE test_conv (value CLOB);
Tabelle wurde angelegt. (Table created.)
SQL> DECLARE vLong LONG:= LPAD('M',4400,'M');
2 BEGIN
3 INSERT INTO test_conv(value) VALUES (vLong);
4 END;
5 /
PL/SQL-Prozedur wurde erfolgreich abgeschlossen. (PL/SQL procedure successfully completed.)
SQL> SELECT dbms_utility.get_hash_value(value,1,power(2,30)) from test_conv;
DBMS_UTILITY.GET_HASH_VALUE(VALUE,1,POWER(2,30))
478332438
Any help is appreciated.
Best Regards
MatthiasYou have hit a bug, 3984527 - CLOB LARGER THAN 4000 INSERTED INTO VARCHAR2(4000) COLUMN IS.
You may want to check this metalink note: Note:388512.1 for further explanation and workarouds.
From the error message manual, Verbatim:
ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: string, maximum: string)
Cause: An attempt was made to convert CLOB to CHAR or BLOB to RAW, where the LOB size was bigger than the buffer limit for CHAR and RAW types. Note that widths are reported in characters if character length semantics are in effect for the column, otherwise widths are reported in bytes.
Action: Do one of the following:
1. Make the LOB smaller before performing the conversion, for example, by using SUBSTR on CLOB
2. Use DBMS_LOB.SUBSTR to convert CLOB to CHAR or BLOB to RAW.
~ Madrid. -
Migrate oracle 9iR2 database from Suse to Red Hat???
Hi Everyone,
We're going to move an oracle 9iR2 database from Suse to Red Hat. At this moment I don't know the detail about the platforms yet. I still like to ask a question if DB backup on Suse is compatible on RedHat? Physical restoring may be our prefer instead of exp/imp.
Any advices?
Thanks,
Eric
Message was edited by:
emaoI'm pretty sure (never did it myself) that there will be not problem when moving the database. The Oracle software is the same (at least when you use the x86 version) so
the format of the datafiles and controlfiles should be identical.
However some configuration files (network settings) might differ so try before you die :-)
cu
Andreas -
Error while installing Oracle 9.0.1 on Linux Red Hat.
I am trying to install Oracle 9.0.1 on Linux Red Hat (Enterprise Edt), and getting this long error---
"Initializing Java Virtual Machine From /tmp/OraInstall0/jre/bin/jre. Please wait...
:symbol errno. version GLIBC-2.0 not defined in gile libc.so.6 with link reference (libzip.so) unable to initialize thread: cannot find class java/lang/thread
Could not create Java VM."
Any workaround for the above error.try execute: export LD_ASSUME_KERNEL=2.4.1 before you run ./runInstaller
Btw try look at http://www.puschitz.com for installation guide. -
Oracle 8.1.7 install on Red Hat 8.0 or 7.2
I have been trying to install Oracle 8.1.7 on both Red Hat 8.0 and 7.2 and have followed all the instructions as per the install documents as well as the
tips/tricks posted at various tech websites such as http://www.puschitz.com/ and so on. I am not able to get the installer to work because of the JRE.
I am getting an error which says - Java Runtime Environment not found at /bin/jre, though I have installed JDK 1.1.8 downloaded from www.blackdown.org
and followed all the required instructions.
Can someboby, please help me to get this to work.
Thanks
Chandra
P.S. BTW, I have successful Oracle9i installs.These are installation instructions for Oracle8i (8.1.7) on Linux 7.2 (Your suggestions would be welcome).
1. Login as root/password.
2. Create the following groups.
a. # groupadd osoper
b. # groupadd osdba
c. # groupadd osuser
d. # groupadd oinstall
e. # groupadd dba
9. Create the user – ‘oracle’ with password as ‘oracle’.
a. # useradd oracle –g oinstall –G osoper,osdba,osuser,dba (no spaces in between commas)
b. # passwd oracle (when prompted, enter ‘oracle’ as oracle’s password)
Install the first set of Linux Patches:
(Remember all commands as well as folder-names are case-sensitive)
1. Insert RedHat Linux CD2 to install the following patches.
2. Close all GUI
3. Open a terminal
4. # cd /mnt/cdrom/RedHat/RPMS
5. # ls compat*
6. Three of these patches will be installed now:
# rpm –i compat-glibc-6.2-2.1.3.2.i386.rpm
# rpm –i compat-egcs-6.2-1.1.2.16.i386.rpm
# rpm –i compat-libs-6.2-3.i386.rpm
7. # cd (To get out of /mnt/cdrom)
8. # umount /mnt/cdrom (Unmount/Eject the CD to remove it).
Set up the Oracle Environment:
1. Open a terminal window and connect as user – oracle:
# su oracle
2. $ cd /home/oracle (Mere $cd by itsel[i]Long postings are being truncated to ~1 kB at this time. -
Problem of Data Import/Export after migration of Oracle DB 9i to 10g
We have encountered the following problem after the migration of Oracle DB 9i to 10g R1 and ESRI ArcSDE 8.3 to 9.1.
In our development server, a view was created by joining of one feature class (point feature), two attribute tables and one F table. We have to perform a process to export all the features in that particular view from the development server and then import them to the production server. In total, there should be about 60,000 points.
Form our past experience (using Oracle DB 9i and ESRI ArcSDE 8.3); we spent about 15-20 minutes to complete the import-export procedure. However, after the system migration, the speed of the import-export procedures is extremely slow, which is talking about 2 hours for ONLY EXPORTING 5MB data.
We would like to seek advice in solving the above problems. THANKS!Try to delete old stats, then gather new stats on the schema and try the export again.
-
Performance issue with view selection after migration from oracle to MaxDb
Hello,
After the migration from oracle to MaxDb we have serious performance issues with a lot of our tableview selections.
Does anybody know about this problem and how to solve it ??
Best regards !!!
Gert-JanHello Gert-Jan,
most probably you need additional indexes to get better performance.
Using the command monitor you can identify the long running SQL statements and check the optimizer access strategy. Then you can decide which indexes might help.
If this is about an SAP system, you can find additional information about performance analysis in SAP notes 725489 and 819641.
SAP Hosting provides the so-called service 'MaxDB Migration Support' to help you in such cases. The service description can be found here:
http://www.saphosting.de/mediacenter/pdfs/solutionbriefs/MaxDB_de.pdf
http://www.saphosting.com/mediacenter/pdfs/solutionbriefs/maxDB-migration-support_en.pdf.
Best regards,
Melanie Handreck -
Unable to connect to database after migration from oracle 8 to 9i
Hi,
Our applications database was migrated from oracle 8 to oracle9i, The oracle_home path was updated to the newer version.
While accessing the databese using the new setup we are facing SQLLIB mismatch problem
the description of error is as follows
=======================================================
SQL-02107 Program too old for runtime library; please re-precompile it
Cause: Your program was precompiled by an older version of the Oracle Precompilers, which is incompatible with this release of SQLLIB.
Action: Precompile the program with a newer version of the Oracle Precompilers
=========================================================
Please help in this regard
~akhilHi Akhil,
Looks like some Tuxedo services are using Pro*C code. Therefore, you would need to recompile your Pro*C code using the newer compiler and then rebuild the Tuxedo servers.
HTH,
Ravi...
Hi,
Our applications database was migrated from oracle 8
to oracle9i, The oracle_home path was updated to the
newer version.
While accessing the databese using the new setup we
are facing SQLLIB mismatch problem
the description of error is as follows
======================================================
=
SQL-02107 Program too old for runtime library; please
re-precompile it
Cause: Your program was precompiled by an older
version of the Oracle Precompilers, which is
incompatible with this release of SQLLIB.
Action: Precompile the program with a newer version
of the Oracle Precompilers
======================================================
===
Please help in this regard
~akhil -
Installation Problem Oracle 9.2.0.4 on Red Hat Linux 5
I have installed Red Hat Enterprise Linux 5. I want to install Oracle 9i (9.2.0.4) Server.
I have created oracle user and set oracle home directory in the .bash_profile.After that i run runinstaller file but the message comes as below..
'The user is root. Oracle Universal Installer cannot continue installation if the user is root. No such file or directory.
Please tell me the actual solution.
- PrasantaFirst of all, as pointed out by Hans, make sure you perform the installation with the oracle user, not root.
Next, you should be aware that installing Ora9iR2 on RHEL5 is neither supported nor planned, so you must be aware you will be on your own. There is no official procedure to install 9i on RHEL5, however, considering you will use this for personal purposes, not production, you can attempt the procedure provided by Ivan Kartik --> Oracle 9i on RHEL 5.
~ Madrid
http://hrivera99.blogspot.com -
ORACLE 8.0.5 Patches on Red Hat 8.2.1
After installing Oracle 8.0.5 on Red Hat Linux 6.1, do we need to run any patches..?
(I have downloaded the ORACLE8 from Technet).
If yes.. where do I get them..?
nullI would not blame ORACLE - I think the problem is
with the EGCS and the libraries.
I have emails from the linux.devel on these.
For e.g. a simple program such as
#include "stdio.h"
FILE *fp = stderr;
main() {
gives error on Redhat 6.0, Caldera 2.2!
It works on Solaris, IRIX, AIX, Redhat 5.2 and
even with Visual C++ 6!
I have had other programs such as pdksh (ksh) also
dumping on Redhat 6.0 and Caldera 2.2
(even after I compile everything from source!).
I have also had nothing but trouble with other databases
on 6.0. I think new kernels should go through a lot more
testing before being released like this.
I am also debating whether to move back to Redhat 5.2!
Freddy Wissing (guest) wrote:
: Oracle Development Team wrote:
: : Oracle 8.0.5.x is certified on GLIBC 2.1 system and a patch
: : is available for this.
: : The patch available for download contains two files -
: : README including instructions for applying the patch and
: : the patch file glibcpatch.tgz (compressed tar). Follow the
: : instructions provided in the README to apply this patch.
: : This patch is available for both 8.0.5 Standard and
Enterprise
: : Editions of Oracle.
: : Get Technical!
: : http://technet.oracle.com
: I agree with the others. Referring back to an older library
: merely for compatibility's sake is different from forward
: motion. I 've been having nuttin' but trouble with the compat
: stuff, and now my pro-c stuff won't work at all. (separate
post)
: There needs to be REAL glibc-2.1 linking. I hesitate to run
: anything important (no less mission critical) on top of these
: compat packages, and it's truly making me rethink my strategy
of
: using RedHat/Oracle unless I revert back to RedHat 5.2, which I
: liked.
: If you are already publishing a real fix for this, please
: disregard. Otherwise, please do us this favor. There's a
: tremendous RedHat 6.0 population out there.
: Freddy Wissing
null -
Install Oracle 11.2 (ASM) failover on Red Hat Enterprise Linux Suite
Hi everybody,
I need installer Oracle 11.2 with asm on Failover Cluster Red Hat linux Suite (two servers), could someone help me?
There is documentation about that...
My idea is
- Installer oracle in both servers
- Installer Infraestructure Grid for asm in both server
- Create database on asm (ams disk shoud be same for boths servers)
Is soported gfs (global file system) and asm?
I have many doubts.
Thanks in advance.I have several comments:
Don't use the RPM utility to install software. It does not resolve dependencies. As of RHEL 5, YUM or UP2DATE are the standard software management tools.
RHEL? Do you have a paid subscription or money to waste? If not, you will be much better off using Oracle Linux, because you can download it for free and also have access to all errata and patches for free (http://public-yum.oracle.com). If you need the RHCK kernel instead of the more advanced Oracle UEK kernel, which is optimized by Oracle for Oracle products, no problem, because Oracle Linux ships with both. If you want to use Linux ASMLib under RHEL 6, you need a RHEL subscription to download the kernel module. The Oracle UEK kernel includes the driver.
Also if you use Oracle Linux, you can install the oracle-rdbms-server-11gr2-preinstall package, which triggers the installation of all prerequisite software and takes care of kernel parameters and creating the Oracle account. You then simply set a password for the Oracle account and you're done.
RHEL 6.0. Why such an old version and not 6.4?
According to my records, you can use the following command under RHEL 6 to install the 11gR2 prerequisite software. Yum will automatically install other depended software as required.
yum install compat-libstdc++-33 compat-gcc-34 compat-gcc-34-c++ \
elfutils-libelf-devel ksh sysstat make gcc gcc-c++ compat-libcap1 \
glibc-devel glibc-common glibc-headers libstdc++-devel libaio-devel -
Installation of Oracle 8.1.5 on Linux Red Hat 5.2
I successfully downloaded Oracle Entreprise Server i8.1.5 (260
Mb).
But I did not succeed to install it. I've go a problem with the
script runInstaller. When I run it, nothing happens. When I try
to run the run time itself, it cores.
At least, it must run the OUI.
So I checked my hardware configuration : Aptiva IBM Pentium II
45O Mhz, RAM 128 Mb, HDD 13Gb splitted in 2 parts ( 6.5 Gb for
Linux and 6.5 for Windows).
I also checked the requierement for the environnement.(Variables
display, home directories, and the mandatory accounts for Oracle
and the parameters of the kernel). It looks correct.
What can I do now ? Is it a bug of this version ?
Why the OUI does not start ?
Thanks to advise.
Franck Kelfa
nullKevin OGorman (guest) wrote:
: Franck Kelfa (guest) wrote:
: : I successfully downloaded Oracle Entreprise Server i8.1.5
(260
: : Mb).
: : But I did not succeed to install it. I've go a problem with
the
: : script runInstaller. When I run it, nothing happens. When I
try
: : to run the run time itself, it cores.
: : At least, it must run the OUI.
: : So I checked my hardware configuration : Aptiva IBM Pentium
II
: : 45O Mhz, RAM 128 Mb, HDD 13Gb splitted in 2 parts ( 6.5 Gb
for
: : Linux and 6.5 for Windows).
: : I also checked the requierement for the
: environnement.(Variables
: : display, home directories, and the mandatory accounts for
: Oracle
: : and the parameters of the kernel). It looks correct.
: : What can I do now ? Is it a bug of this version ?
: : Why the OUI does not start ?
: : Thanks to advise.
: : Franck Kelfa
: I'm having essentially the same results with RH 6.0. And I was
: having the same thing in Caldera. I'm thinking this is
something
: stupid we're doing wrong. When you find out what fixes your
: problem, let's agree to share.
: I'm really frustrated...
Kevin,
Don't forget you need the Jave Runtime Environnement JRE 1.1.6
r5.
But Today, I 've updated my kernel with Red Hat 6.0 (Kernel
2.2.x] including glibc 2.1 .
Now , runInstaller does something and goes forward trying to run
the jre. But I have the following message:
Initializing Java Virtual Machine from /usr/local/jre/bin/jre.
Please wait...
/usr/local/jre/bin/../bin/checkVersions: /tmp/ldd.out.1131:
Permission non accord e
SIGSEGV 11* segmentation violation
stackbase=(nil), stackpointer=(nil)
Full thread dump:
NULL (TID:0x406a40b0, sys_thread_t:0x81a53d0, state:R)
prio=5[oracle@saturne
wing message:
null -
Oracle 8.1.7 on Linux Red Hat 7.2
We have two Servers, One is HP6000, the other is Dell 6400. Both are Linux Red Hat 7.2 OS with Oracle 8.1.7 installed.
Now I want to make a cluster with them, One is active, One is standby.
Which software I need? And how install it on my servers?
Best Regards
[email protected]you might need cluster software such as RedHat Cluster Manager to perform failed over. it came from with RedHat AS (Advanced Server). other third party sofrwares (plus firmware supported) are also available.
-
Oracle 9i R2 Standard Edition on Red Hat As 2.1
I have installed Oracle 9i R2(9.2.0) Standard Edition on Red Hat Linux AS 2.1
When I have check :
Select * from V$Version the result was :
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
I don't understand what happened , why in V$Version not appear Standard Edition which I have installed?
Thank you very much,
Sorinresponding to myself, you can find that version of binutils in metalink: Patch 2414946
-
How Can I install Oracle 10g R1 Linux x86 on Red Hat Enterprise 6
I have tried so many times to install Oracle 10g R1 10.1.0.3 on the Red Hat Enterprise Linux 6 x86_64 but just its appear to be imposible, The Installer failed on the linking and make process.
i need to know if anyone has been installed the Oracle 10g on this SO or similar.
Thank you.richardoom wrote:
I have tried so many times to install Oracle 10g R1 10.1.0.3 on the Red Hat Enterprise Linux 6 x86_64 but just its appear to be imposible, The Installer failed on the linking and make process.
i need to know if anyone has been installed the Oracle 10g on this SO or similar.
Thank you.V10 is obsolete, unsupported & not certified on V6 kernel.
Consider to either upgrade Oracle to V11.2.0.3 or downgrade OS to V5
Maybe you are looking for
-
Why can't I use two 8500 wireless printers on one router? The 8500 A910 looses it's connection after awhile.
-
Can i fetch images from my remote server to UIImageView or a preview thumbnail in ios app?
consider i have 1000 images in my hosting, i want all those images in my ios app. It is like ,in one screen around 9 thumbnails of image must be loaded from the webserver .And when i swipe the screen to the right another set of 9 thumbnail images mus
-
Joins for OKS (Billing) tables
Hi, A couple of questions: 1) Can anyone let me know how the following tables can be joined correctly with OKC_K_LINES_B? If there is more than one way, please let me know that too: OKS_BILL_CONT_LINES OKS_BILL_SUB_LINES OKS_BILL_SUB_LINE_DTLS OKS_BI
-
Opening an InDesign CS4 file in CS2
Hi, I downloaded the trial version of CS4 and have a number of files either created or edited and saved in CS4. The trial has expired and I've reverted to CS2. I now can't open those CS4 files. Can I recover these files? Thanks in advance. M
-
How to change visited pages colours
I have just changed tools>content>colours to unclik "let the pages choose their own colurs" and, inmediately, Fireox got disturbed in the same way I had last days. It was reversible and things came back to normal when i cloiked again the mentioned sq