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$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2006-03-21_01-41-37PM/jre/1.4.2/lib/i386/ 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

Post a Comment