Home » Infrastructure » Linux » Oracle 10g on Fedora Core 4
Oracle 10g on Fedora Core 4 [message #124404] Sat, 18 June 2005 01:41 Go to next message
mattgross
Messages: 2
Registered: June 2005
Junior Member
Hi everyone,

I just downloaded and installed (full installation with SELinux active) Fedora Core 4. The install went very smoothly and I had no errors.

Now I want to install oracle 10g. I followed the instructions found here:

http://www.oracle-base.com/articles/10g/OracleDB10gInstallationOnFedora4.php

I also installed the java rpm packages:

jre-1.3.1_13.i586.rpm
jre-1.3.1_16.i586.rpm

I actually installed 1.3.1_16 after the error which I am posting about to try to fix the problem.

After seting everything up and extracting the installation files to the Disk1 directory, I ran the runInstaller in the Disk1/install directory. The install script errored out with the following:

-----------------------------------------------
Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2005-06-18_02-35-02PM/jre/1.4.2/lib/i386/libawt.so: /tmp/OraInstall2005-06-18_02-35-02PM/jre/1.4.2/lib/i386/libawt.so: cannot restore segment prot after reloc: Permission denied occurred..
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2005-06-18_02-35-02PM/jre/1.4.2/lib/i386/libawt.so: /tmp/OraInstall2005-06-18_02-35-02PM/jre/1.4.2/lib/i386/libawt.so: cannot restore segment prot after reloc: Permission denied
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:506)
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:189)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:173)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:182)
at oracle.sysman.oii.oiic.OiicInstaller.<init>(OiicInstaller.java:278)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:714)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)
Exception in thread "main" java.lang.NoClassDefFoundError
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:189)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:173)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:182)
at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:111)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:772)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)
-----------------------------------------------

I've been searching the web for a solution to this problem but cannot seem to find one. Does anyone have any ideas? Could this be a problem with my SELinux setup? I'm not too familiar with SELinux.

Thanks in advance.

Matt
Re: Oracle Developer 10g on Fedora Core 4 [message #125276 is a reply to message #124404] Fri, 24 June 2005 03:11 Go to previous messageGo to next message
oralover
Messages: 97
Registered: January 2005
Member
hi all gurus!

facing the same problem on same platform, can somebody help please...??
is there any solution or have to change Linux distribution???

thanks for help.
Re: Oracle 10g on Fedora Core 4 [message #125316 is a reply to message #124404] Fri, 24 June 2005 07:12 Go to previous messageGo to next message
oralover
Messages: 97
Registered: January 2005
Member
yap. got it..

disabled SELinux then run it and its installed but in the last it generated errors when making Links (file is present but it cannot find...???) and also failed to run Oracle Net Configuration Assistant. its saying that there is missing some liberaries....

i did not understand why these hassles to install on *nix boxes, if a product needs some libs so why don't mentioning their links on download pages so one can find all libs or packages w/o searching on net after knowing (during installation) which are required.

anyway, try again and again... may we find some hassle free solutions.


Re: Oracle 10g on Fedora Core 4 [message #125554 is a reply to message #124404] Mon, 27 June 2005 10:05 Go to previous messageGo to next message
mattgross
Messages: 2
Registered: June 2005
Junior Member
I didn't get any errors and have it up and running. Here is what I did:

Full Fedora Core 4 install with SELinux enabled (default settings). Then, after install, disable SELinux in the /etc/selinux/config file.

Then set up the environment as described in the following web page:

http://www.oracle-base.com/articles/10g/OracleDB10gInstallationOnFedora4.php

Installed both jre-1.3.1_13.i586.rpm and jre-1.3.1_16.i586.rpm (you probably don't need both, but I just am putting down the steps as I did them Wink.

Then I created an oracle.sh file in the /etc/profile.d directory with the following contents:

--------------------------------------
# ORACLE
ORACLE_BASE=/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1; export ORACLE_HOME
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=$ORACLE_HOME/bin:$PATH:/usr/java/jre1.3.1_16/bin; export PATH
# PATH=$ORACLE_HOME/bin:$PATH; export PATH
ORACLE_OWNER=oracle; export ORACLE_OWNER
ORACLE_SID=ora10g; export ORACLE_SID

LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
ORACLE_OEM_JAVARUNTIME=/usr/java/jre1.3.1_16; export ORACLE_OEM_JAVARUNTIME

LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL
# THREADS_FLAG=native; export THREADS_FLAG
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
----------------------------------------------------

Finally, rebooted, then logged in as oracle and executed the runInstaller

Everything worked fine. No errors and no problems. Good luck!
Re: Oracle 10g on Fedora Core 4 [message #125718 is a reply to message #125554] Tue, 28 June 2005 19:35 Go to previous messageGo to next message
thomasfly
Messages: 1
Registered: June 2005
Junior Member
http://www.linuxquestions.org/questions/history/334124
http://www.google.com/search?biw=1139&hl=en&q=Oracle+cannot+restore+segment+prot+after+reloc&btnG=Google+Search

The key is just to set selinux=permissive or disabled- rather than enforcing- in the /etc/selinux/config file.

Evidently, there was some change from Fedora 3 to 4 that caused this problem- up2date-ing Fedora 3 will break Oracle if SELinux is enabled.

> Installed both jre-1.3.1_13.i586.rpm and jre-1.3.1_16.i586.rpm (you probably don't need both, but I just am putting down the steps as I did them .

You don't want either; Oracle installs Java 1.4.2, which it uses to run all of its Java modules.

If you downloaded ship.db.lnx32.cpio, then expanded it in the / directory, your can fire up /Disk1/welcome.html, which has links to the installation documentation. Then:

cd /tmp
/Disk1/runInstaller

> ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1; export ORACLE_HOME

nope! unset ORACLE_HOME for 10g!

> LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL

You don't need this either- it was a fix for Oracle 8i on Linux 7 or something!

[Updated on: Tue, 28 June 2005 19:37]

Report message to a moderator

Re: Oracle 10g on Fedora Core 4 [message #126132 is a reply to message #124404] Fri, 01 July 2005 03:18 Go to previous messageGo to next message
wpig04
Messages: 3
Registered: July 2005
Location: south korea
Junior Member

i have a problem.

um.. java's version is jre5.0 !!

how it is installed on Fedora Core4???

many people is install jre1.3 but jre's version is jre5.0



how it is install on Fedora Core4????

[Updated on: Fri, 01 July 2005 03:25]

Report message to a moderator

Re: Oracle Developer 10g on Fedora Core 6 [message #237472 is a reply to message #125276] Mon, 14 May 2007 10:41 Go to previous messageGo to next message
lai@cua.edu
Messages: 4
Registered: April 2007
Location: Washington, DC
Junior Member
I follow this procedure http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnFedora6.php

I try to install 10g on Fedora 6. The error is the following:

Unable to create directory /u01/app/oracle/product/10.2.0/db_1.
You may not have the proper permission to create the directory, or there is no space left in the volume. Unable to create the Oracle home you have specified.

In fact I have followed the instruction created

mkdir -p /u01/app/oracle/product/10.2.0/db_1

I have a lot of disk space. How to solve it? Thanks,

Lai

Re: Oracle 10g on Fedora Core 4 [message #237496 is a reply to message #124404] Mon, 14 May 2007 11:48 Go to previous message
BlackSwan
Messages: 25046
Registered: January 2009
Location: SoCal
Senior Member
You may not have the proper permission to create the directory
Previous Topic: crontab is not working today
Next Topic: RAM size
Goto Forum:
  


Current Time: Thu Dec 08 19:59:49 CST 2016

Total time taken to generate the page: 0.12232 seconds