Linux RHEL3 & Oracle 10gR2 (java operating system call problem)
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Linux RHEL3 & Oracle 10gR2 (java operating system call problem)
I wasn't quite sure where to post this, so if this is the wrong forum, please let me know so I can post it elsewhere.
My problem is with RHEL3 and Oracle 10gr2 database.
I am having problems with java calls to the operating system and getting end-of-file on communication channel with core dump and trace files being generated on an upgraded/new 10gr2 database.
I have performed 2 types of upgrades, for the Oracle database, to see where the problem is. I upgraded my database from 9i to 10gR2 via Database Upgrade Assistant (DBUA). I have also created a new database and ran a full import from the 9i database to new database.
My application server is 9iAS, on another machine.
The application runs java calls to the operating system to execute a .ksh script which retrieves reports generated on the application server and moves them to the database server (this is just one of the problems). All this worked just fine in 9i.
I can run the java call (i.e. exec java.call('parameter','parameter'); from sqlplus in 9i and it runs just fine.
In the 10g database if I run the java call from sqlplus I get end-of-file on communcation channel and core dump files and trace files are generated each time the call is performed. The connection to the operating system is not completed.
All permissions in dba_java_policy have been checked. This happens on both the DBUA database and the newly created database.
I have an SR started with Oracle, but it seems they can't find the problem either. They have had me remove and re-install JVM in the database, but that didn't change anything. Same problem.
Since I have to install the 10gR2 application server, I began getting the Linux environment ready.
I downloaded and upgraded Linux packages per the Application Server installation guide.
Since I have upgraded these packages, I have found that the core dump files are 1/2 the size they were before.
Could it be there is a package version discrepancy?
Wanted to know if anyone else might have run into this problem, or if anyone might know the reason or correction.
I installed linux 4AS.
I followed instructions on how to install oracle 9i on Linux 4AS.
After installing oracle 9i software on Desktop, I tried to run the command : ./runInstaller or ./install/linux/runInstaller
I issued the above command so that I can start installing Oracle Database (like we do on windows).
But, I got the following error message:
ERROR is :
----------
error occured while initializing of VM
unable to load native library: /tmp/OraInstall2006-08-11_10-47-11AM/jre/lib/i3# 86/libjava.so: symbol__libc_wait, version GLIBC_2.0 not defined in file libc.s# o.# 6 with link time reference
I tried and set value for JRE_LOCATION in oraparam.ini File (in Disk1) and values for LD_ASSUME_KERNEL , DISPLAY (and then export Command).
I am still recieving the same Error (JRE not found,hence Oracle Installer cannot be run).
Kindly suggest me some source on how to install 9i Oracle on Linux(any distribution/any flavor) so that I can advance in my DBA Career (and in OCP Exams)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.