Wednesday, July 8, 2009

Install Oracle XE on Fedora 11 x86_64

In order to install the oracle xe database on Fedora x86_64.
Download the oracle-xe-univ-10.2.0.1-1.0.i386.rpm.

In the installation guide is stated that the following packages are necessary.
  • glibc – 2.3.2
  • libaio – 0.3.96
So I installed these packages:
yum install glibc libaio

The installed the rpm : rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm
And then executed
"/etc/init.d/oracle-xe configure"
Which successfully ran with given answers to the questions.

After this I tried to start the database and got many different error messages.
Tried to start the database but nothing was started.
But there was nothing coming up.

Also tried "sqlplus /NOLOG"
connect / as sysdba
startdb

Then the errors stated there was not INITXE.ORA, so created the initXE.ora.
The following errors where the database files were not located.....

After numerous attempts and failing every time I uninstalled the rpm.
rpm -e oracle-xe-univ-10.2.0.1-1.0.i386.rpm

And removing all installed files "rm -rf /usr/lib/oracle/xe"

After some googling... It came to mind I am running a 64bit machine and the rpm is for a i386.
So I installed also the i586 packages:
yum install glibc.i686 libaio.i586

After this reinstalled the rpm : rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm

and configured the database.
Now all is running perfectly.....


2 comments:

Bruno Medeiros said...

Yes, it works pretty well here too.
Just remember to NOT use 'sudo' NOR 'yum localinstall'. This installs only work with real root user and using rpm directly.

Naresh Dasineni said...

Hi,
Thanks for the information that you provided. Actually, i'm googling for how to install oracle 10g xe in fedora x86_64 and i clicked on u.The info was very useful for me and i successfully installed oracle in fedora 13. Thanks again...

Naresh.