Firebird News

Monday, March 20, 2006

Installing oracle on Ubuntu breezy (AMD64)

Installing oracle on Ubuntu breezy (AMD64)
Because it is an server machine (opteron) i had to install the Ubuntu Server version
and for Oracle i needed ot install desktop packages (needed for oracle java installer ) also Xforwarding must be enabled in sshd_conf

sudo apt-get install ubuntu-desktop
ssh -X 192.168.x.x


Then I followed this installation guide

All was ok until this error showed up in console
All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2006-03-21_01-41-37PM. Please wait ...oracle@harvey:~/database$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2006-03-21_01-41-37PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory



Solution : i have installed the libXp* from my 32bit dapper box (you can copy from one breezy installed box)
cd /usr/lib
scp libXp* root@192.168.x.x:/usr/lib32/

Then i hit an java bug related to "locale" setting .

current locale is not supported in X11, locale is set to CX locale modifiers are not supported, using defaultException in thread "main" java.lang.InternalError: Current locale is not supported



Did a little of googling and i
found another thread with solution to start 32 bit apps that solved my java "locale" problem

install linux32 package : sudo apt-get install linux32 then as
oracle user (you have to be login as oracle user)

export XLOCALELIBDIR=/usr/lib32/X11/locale
linux32 sh runInstaller







Here is the oracle happy exit

::()::::()::::()::::()::

2 comments:

Guido Sohne said...

Hello Mariuz!!

I'm trying to install this lump of uncooperative junk on Dapper and managed to work things out to what you call the happy exit.

I didn't run into the 'locale' bug, but had to import various 32 bit libraries from a 32 bit installation of Dapper.

Specifically,

libdl.so.2 libm.so.6 libpthread-0.10.so libSM.so.6 libXau.so.6 libXp.so.6 libXtst.so.6
libc.so.6 libICE.so.6 libnsl.so.1 libpthread.so.0 libX11.so.6 libXext.so.6 libXt.so.6

were all needed to make Oracle's installer happy (starting from the Dapper server install). I also needed to place ld-linux.so.2 from the 32 bit Dapper in /lib of the 64 bit Dapper.

So far, so good. With all these in place, I can run the Oracle installer. My only problem comes because at the oraInventory screen, I keep on getting a S_OWNER_SYSTEM_NOENT error dialog. It doesn't matter what I put in that screen, what group or directory I choose etc.

It just refuses to go past that. I'm left scratching my head as to how you and Dizwell managed to get things running. Maybe it's a 64bit issue, but somehow I doubt it because the installer is a 32 bit program and I have all the libraries dor that as 32 bit.

I suspect it's something going on in the installer ... I'm hoping you've seen that error message before ...

-- G.

mariuz said...

i installed it only on breezy
don't know if it works on dapper
you should ask on oracle linux forums
about that error