1838240 Members
3456 Online
110125 Solutions
New Discussion

SG lib problem

 
Lorenzo Facello
Valued Contributor

SG lib problem

Hi all,
when I start the pkg on the second node.
I receive this error in the .log
/usr/lib/pa20_64/dld.sl: Unable to find library "libjvm.sl"
sh: 9874 Memory fault

we have informix configured on the pkg.
the 2 node have the identical config..
Should I set some env variable??
Who need this lib?

any suggestions
thanks
7 REPLIES 7
Arunvijai_4
Honored Contributor

Re: SG lib problem

Hello,

Do you have Java installed on your server ? libjvm.sl is part of Java SDK.

#swlist |grep -i java

and # swverify

Should help you.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Lorenzo Facello
Valued Contributor

Re: SG lib problem

Hi Arun..

of course jave is installed..

if I start the pkg without the script of informix.. it start successfully.

then, If you start informix manually.
I receive that error..
How can I debug the error??
the variables in the .profile of the informix user are the same.. on both nodes!
Kent Ostby
Honored Contributor

Re: SG lib problem

Check the paths in your informix script. Also, check to see if that library does indeed exist on both servers.

If one server is different than check your java install again.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Arunvijai_4
Honored Contributor

Re: SG lib problem

Hello,

I suspect your library path is not set to take libjvm.sl. You may need to manually set it before executing package on the second node.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Sandman!
Honored Contributor

Re: SG lib problem

Could you post the script as well as the manual command used in starting Informix in order to see the differences between the two ways of invoking Informix.

thanks
Tiziano Contorno _
Valued Contributor

Re: SG lib problem

Ciao Lorenzo, put an "echo $PATH" at the beginning of the informix control script called by the SG package control script.

This is the fastest way to see if it is a simple PATH mismatch.

Regards.
Steve Lewis
Honored Contributor

Re: SG lib problem

The database engine has java built in, to allow people to create their own java procedures in the database. It was leading edge cool at the time it first went in. You can point the database at any version you want.

What you need to do is to check the onconfig file on the 2nd node, to ensure that it is the same as the primary node.

grep JAVA $INFORMIXDIR/etc/onconfig.*

Then check to see that all of those paths exist on that node and that it has been installed in the same place.

Did you put the informix software binaries VG/LV/filesystem in the package with the data?

ls -d /opt/java*