Showing results for 
Search instead for 
Do you mean 

SM7 for HPUX

Highlighted
Regular Advisor

SM7 for HPUX

Hi everyone..

I was installed SM7 on HPUX and configured database(oracle)

but some problem was execute sm command

============================================
# su - smuser
$ /RUN/sm
/usr/lib/dld.sl: Unresolved symbol: __text_start (data) from /opt/HP/sm7/Server/RUN/jre/lib/PA_RISC2.0/server/libjvm.sl
/usr/lib/dld.sl: Unresolved module for symbol: __shlinit (code) from /usr/lib/libCsup.2
/usr/lib/dld.sl: Unresolved symbol: __text_start (data) from /opt/HP/sm7/Server/RUN/jre/lib/PA_RISC2.0/server/libjvm.sl
/usr/lib/dld.sl: Unresolved module for symbol: __shlinit (code) from /usr/lib/libCsup.2
Exception in thread "main" java.lang.NoClassDefFoundError: com/hp/ov/sm/common/core/Init

Error! initializing java in scjvm.cpp

==============================================
i don't know root cause...

i checked ldd -d or -v, it's ok
also, checked aC++ patch (PHSS_33945) is installed

* Environment
SHLIB_PATH=.:/opt/HP/sm7/Server/RUN:$ORACLE_HOME/lib32/opt/HP/sm7/Server/RUN/jre/lib/PA_RISC2.0/server:/opt/HP/sm7/Server/RUN/jre/lib/PA_R
ISC2.0/server:/opt/HP/sm7/Server/RUN/jre/lib/PA_RISC2.0

JDK 1.5 installed
HPUX 11.11
SM7 7.01



please reply...thanks

17 REPLIES
Acclaimed Contributor Acclaimed Contributor

Re: SM7 for HPUX

Is sm linked with libcl.2? Use chatr(1) or ldd(1) to check.
If not, you can't load aC++ plugins into it.

See:
http://docs.hp.com/en/11920/HP%20aC++%20Online%20Programmer's%20Guide/distributing.htm#linking
Regular Advisor

Re: SM7 for HPUX

Dennis.. thanks..for your reply..

but i don't understand your help
i checked libcl.2 using ldd command

/opt/HP/sm7/Server/RUN>ldd -v /usr/lib/libcl.2

find library=/usr/lib/libisamstub.1; required by /usr/lib/libcl.2
/usr/lib/libisamstub.1 => /usr/lib/libisamstub.1

find library=/usr/lib/libdld.2; required by /usr/lib/libcl.2
/usr/lib/libdld.2 => /usr/lib/libdld.2

find library=/usr/lib/libc.2; required by implicit load
/usr/lib/libc.2 => /usr/lib/libc.2

find library=/usr/lib/libdld.2; required by /usr/lib/libc

Acclaimed Contributor Acclaimed Contributor

Re: SM7 for HPUX

>i checked libcl.2 using ldd command

You need to do this on the executable and you should see libcl.2.
Advisor

Re: SM7 for HPUX

Hi, HWANY

I have the same error like you.

Did you resolve this problem?
Acclaimed Contributor Acclaimed Contributor

Re: SM7 for HPUX

>yang.xue-yun: I have the same error like you.

Can you do that ldd that I requested?
(What is the executable?)
Advisor

Re: SM7 for HPUX

Hi Dennis,

Actually I can't feel you.

What does this "executable" mean exactly?

like this?
--------------------------------------------
$ cd /data/HP/SM7/Server/RUN
$ ldd -v /usr/lib/libcl.2

find library=/usr/lib/libisamstub.1; required by /usr/lib/libcl.2
/usr/lib/libisamstub.1 => /usr/lib/libisamstub.1

find library=/usr/lib/libdld.2; required by /usr/lib/libcl.2
/usr/lib/libdld.2 => /usr/lib/libdld.2

find library=/usr/lib/libc.2; required by implicit load
/usr/lib/libc.2 => /usr/lib/libc.2

find library=/usr/lib/libdld.2; required by /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
--------------------------------------------


Acclaimed Contributor Acclaimed Contributor

Re: SM7 for HPUX

>yang.xue-yun: What does this "executable" mean exactly?

Load modules include shlibs and executables.
Executable is the binary that you run, that's not a script.

>like this? $ ldd -v /usr/lib/libcl.2

No, probably: ldd -v sm
Have you looked at my URL above?
Advisor

Re: SM7 for HPUX

--------------------------------------
$ ldd -v sm
ldd: Invalid file type: "sm". Shared executable or shared library expected.
--------------------------------------

we have installed HP aC++ -AA runtime libraries (aCC A.03.60)(PHSS_31221) and libc cumulative patch(PHCO_35743).

What does the document mean? Just the patches?
Acclaimed Contributor Acclaimed Contributor

Re: SM7 for HPUX

>yang.xue-yun: ldd: Invalid file type: "sm". Shared executable or shared library expected.

If sm is a script, you have to find out what executable it invokes.
Frequent Visitor

Re: SM7 for HPUX

sm is an executable
-rwx------ 1 scenter scenter 5122 Jan 16 2008 sm
Honored Contributor Honored Contributor

Re: SM7 for HPUX

Jimmy Glenn: "sm is an executable "

well, at least on *your* system, which may (or may not) have the slightest thing to do with the one "yang.xue-yun" is looking at.

Acclaimed Contributor Acclaimed Contributor

Re: SM7 for HPUX

>jimmy: sm is an executable: -rwx------ 5122

No, it is too small, it is a script.
Advisor

Re: SM7 for HPUX

So it should be "smserver".

Here is the output. Is there anything wrong?

============================================
$ ldd -v smserver

find library=libsm.so; required by smserver
libsm.so => ./libsm.so

find library=libsmuni.so; required by smserver
libsmuni.so => ./libsmuni.so

find library=libsmi18n.so; required by smserver
libsmi18n.so => ./libsmi18n.so

find library=libxerces-c.sl.27; required by smserver
libxerces-c.sl.27 => ./libxerces-c.sl.27

find library=libdl.so.1; required by smserver
libdl.so.1 => /usr/lib/hpux32/libdl.so.1

find library=libnsl.so.1; required by smserver
libnsl.so.1 => /usr/lib/hpux32/libnsl.so.1

find library=libm.so.1; required by smserver
libm.so.1 => /usr/lib/hpux32/libm.so.1

find library=libcl.so.1; required by smserver
libcl.so.1 => /usr/lib/hpux32/libcl.so.1

find library=librt.so.1; required by smserver
librt.so.1 => /usr/lib/hpux32/librt.so.1

find library=libz.so; required by smserver
libz.so => ./libz.so

find library=libnspr4.sl; required by smserver
libnspr4.sl => ./libnspr4.sl

find library=libjs.sl; required by smserver
libjs.sl => ./libjs.sl

find library=libstd_v2.so.1; required by smserver
libstd_v2.so.1 => /usr/lib/hpux32/libstd_v2.so.1

find library=libCsup.so.1; required by smserver
libCsup.so.1 => /usr/lib/hpux32/libCsup.so.1

find library=libpthread.so.1; required by smserver
libpthread.so.1 => /usr/lib/hpux32/libpthread.so.1

find library=libunwind.so.1; required by smserver
libunwind.so.1 => /usr/lib/hpux32/libunwind.so.1

find library=libc.so.1; required by smserver
libc.so.1 => /usr/lib/hpux32/libc.so.1

find library=libpthread.so.1; required by ./libxerces-c.sl.27
libpthread.so.1 => /usr/lib/hpux32/libpthread.so.1

find library=libnsl.so.1; required by ./libxerces-c.sl.27
libnsl.so.1 => /usr/lib/hpux32/libnsl.so.1

find library=libxti.so.1; required by /usr/lib/hpux32/libnsl.so.1
libxti.so.1 => /usr/lib/hpux32/libxti.so.1

find library=libIO77.so.1; required by /usr/lib/hpux32/libcl.so.1
libIO77.so.1 => /usr/lib/hpux32/libIO77.so.1

find library=libpthread.so.1; required by ./libnspr4.sl
libpthread.so.1 => /usr/lib/hpux32/libpthread.so.1

find library=librt.so.1; required by ./libnspr4.sl
librt.so.1 => /usr/lib/hpux32/librt.so.1

find library=libdl.so.1; required by ./libnspr4.sl
libdl.so.1 => /usr/lib/hpux32/libdl.so.1

find library=libm.so.1; required by ./libnspr4.sl
libm.so.1 => /usr/lib/hpux32/libm.so.1

find library=libc.so.1; required by ./libnspr4.sl
libc.so.1 => /usr/lib/hpux32/libc.so.1

find library=libpthread.so.1; required by ./libjs.sl
libpthread.so.1 => /usr/lib/hpux32/libpthread.so.1

find library=libm.so.1; required by ./libjs.sl
libm.so.1 => /usr/lib/hpux32/libm.so.1

find library=libnspr4.sl; required by ./libjs.sl
libnspr4.sl => ./libnspr4.sl

find library=libuca.so.1; required by /usr/lib/hpux32/libunwind.so.1
libuca.so.1 => /usr/lib/hpux32/libuca.so.1

find library=libdl.so.1; required by /usr/lib/hpux32/libc.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
============================================
Acclaimed Contributor Acclaimed Contributor

Re: SM7 for HPUX

>yang.xue-yun: So it should be "smserver". Is there anything wrong?

No, it is impossible to have that PA problem on an IPF executable.
Advisor

Re: SM7 for HPUX

May I ask what's "PA" and "IPF" stand for?
Process Analysis?

And what's wrong do you think here?

Thanks.

Acclaimed Contributor Acclaimed Contributor

Re: SM7 for HPUX

>yang.xue-yun: May I ask what's "PA" and "IPF" stand for?

PA-RISC and Integrity.

>And what's wrong do you think here?

Read the above replies. Basically no clue until I get the executable in my hands on the executable or a test case or perhaps tusc output tracing the PA failure.

Or improper use of LD_PRELOAD.
Frequent Visitor

Re: SM7 for HPUX

upgrade your OS to 11.23 or 11.31

SM7 is only supported at those levels