LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 08-10-2006, 02:51 PM   #1
petkovsky
LQ Newbie
 
Registered: Mar 2005
Posts: 11

Rep: Reputation: 1
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.

Thank you in advance.
 
Old 08-11-2006, 01:05 AM   #2
marate
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
help

Hi,

Kindly help me.

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

looking forward for reply.

bye,
marate
 
Old 08-11-2006, 07:58 AM   #3
petkovsky
LQ Newbie
 
Registered: Mar 2005
Posts: 11

Original Poster
Rep: Reputation: 1
You'll have to set your JRE_LOCATION and LD_ASSUME_KERNEL prior to install.

You can check oracle.com/technology/forums under installation. query for 'unable to load native library'

here's a link to one I found.

http://forums.oracle.com/forums/thre...554477&#554477

Additionally, you can check metalink.oracle.com for information. There is a post there, but you'll need an account to get to it.

https://metalink.oracle.com/metalink...630530.999,1,1

Hope this helps.
 
Old 08-17-2006, 01:08 AM   #4
marate
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
Help

Hi,

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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Operating system for Oracle nguye103 Linux - Software 4 08-21-2007 03:44 AM
Problem with using the OCCI Oracle Call Interaface shydra Programming 4 03-09-2006 08:50 AM
system call in java alaios Programming 1 01-18-2005 09:54 AM
how to call a system command with java applet? nickhx Programming 4 08-11-2004 12:46 AM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration