02.01.10

must she really need to know?

Posted in Photoblogs and stuff at 11:43 am by jceasar0118

It took me more than a week to install Oracle Application Server 10.1.2.0.2 on our new server. One reason why it took me that long is  the whole setup is a mistake from the get go and second I could barely concentrate at work because I am dreaming of  Antonio Gaudi’s works in Barcelona. Yes people, I am going to Barcelona in June.

The Linux server that we have is a 64 bit machine, I was trying to install a 32 bit applications– go figure how it’s going to be an easy feat. I posted questions to Oracle forums and to whatever technical forums that I can think of, some posters were helpful, however most of them answered in a very condescending tone. I can’t blame them, after all why in the world did we procure a 64 bit server, when we are going to install 32 bit apps. I have too much pride to admit to my boss the duress that I am in. Did I not bastion the beauty of having a 64 bit machine and the amount of memory it support. But the darn OAS would not install, it’s missing libraries left and right.  I thought of Frankestein, did he not walk on earth , according to Mary Shelly, with odd body parts. With the thought of Frankestein in mind, I proceeded with a plan, if I can’t install OAS using the oinstaller,  I will build my application server with odd body parts.

Error number one.
Error in invoking target ‘relink’ of makefile ‘/home/oracle/OraHome_1/precomp/lib/ins_precomp.mk’.

What’s wrong with this server, which part of I am not in the mood to work, it doesn’t understand. I looked at the error, I checked the make.log and the ‘relink all’ would not work because it’s missing ‘libc_nonshared.a’. Great, I checked /usr/lib/ and the file is not really there, for what reason that I don’t know.  As far as I am concern I followed Red Hat Linux documentation to the “t.” I took a deep breath and did an sftp to get this file from another server. Problem solved.

Error number two.
Error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory

Seriously, C compiler problem again. I remember my college days when I banter with my C language professor every opportunity that I have. The boy thinks that he is the only one who can write C program. By the time I completed the course, I already know all the Miracle C tricks in the world.

gcc296
#!/bin/sh
exec /usr/bin/gcc32 -m32 -static-libgcc -B /usr/lib/gcc-lib/i386-redhat-linux/2.96/ $*

g++296

#!/bin/sh
exec /usr/bin/g++32 -m32 -static-libgcc -B /usr/lib/gcc-lib/i386-redhat-linux/2.96/ $*

execute as root following commands:
mv gcc gcc.save
mv g++ g++.save
ln -s /usr/bin/gcc296 /usr/bin/gcc
ln -s /usr/bin/g++296 /usr/bin/g++

Problem Solved.

Error number three
java.lang.UnsatisfiedLinkError: blah … blah.. blah…
/usr/X11R6/lib/libXm.so.2: undefined symbol: _Xsetlocale

It just never ends…must I must I really have to cheat the system to get the installation complete.

To resolve this problem I have perform the following steps.
su - root
cd /usr/X11R6/lib

mv -f libXm.so.2 libXm.so.2.backup
ln -s libXm.so.3 libXm.so.2

Problem solved.

Happy days again; I did a little of “Frankestein” here and there and my server is up with “odd body parts.” I can go back to what I do the best and that is to daydream. If my boss were to asked, how did I get the server up, seriously, must she really need to know ;-)

Leave a Comment

You must be logged in to post a comment.