Re: SM7 for HPUX (362 Views)
Reply
Regular Advisor
HWANY
Posts: 128
Registered: ‎11-25-2003
Message 1 of 18 (363 Views)

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

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 2 of 18 (363 Views)

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
Please use plain text.
Regular Advisor
HWANY
Posts: 128
Registered: ‎11-25-2003
Message 3 of 18 (363 Views)

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

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 4 of 18 (363 Views)

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.
Please use plain text.
Advisor
yang.xue-yun
Posts: 16
Registered: ‎11-26-2008
Message 5 of 18 (363 Views)

Re: SM7 for HPUX

Hi, HWANY

I have the same error like you.

Did you resolve this problem?
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 6 of 18 (363 Views)

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?)
Please use plain text.
Advisor
yang.xue-yun
Posts: 16
Registered: ‎11-26-2008
Message 7 of 18 (363 Views)

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
--------------------------------------------


Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 8 of 18 (363 Views)

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?
Please use plain text.
Advisor
yang.xue-yun
Posts: 16
Registered: ‎11-26-2008
Message 9 of 18 (363 Views)

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?
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 10 of 18 (363 Views)

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.
Please use plain text.
Visitor
jimmy glenn
Posts: 4
Registered: ‎12-03-2008
Message 11 of 18 (362 Views)

Re: SM7 for HPUX

sm is an executable
-rwx------ 1 scenter scenter 5122 Jan 16 2008 sm
Please use plain text.
Honored Contributor
OldSchool
Posts: 3,372
Registered: ‎09-09-2004
Message 12 of 18 (362 Views)

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.

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 13 of 18 (362 Views)

Re: SM7 for HPUX

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

No, it is too small, it is a script.
Please use plain text.
Advisor
yang.xue-yun
Posts: 16
Registered: ‎11-26-2008
Message 14 of 18 (362 Views)

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
============================================
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 15 of 18 (362 Views)

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.
Please use plain text.
Advisor
yang.xue-yun
Posts: 16
Registered: ‎11-26-2008
Message 16 of 18 (362 Views)

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.

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 17 of 18 (362 Views)

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.
Please use plain text.
Visitor
jimmy glenn
Posts: 4
Registered: ‎12-03-2008
Message 18 of 18 (362 Views)

Re: SM7 for HPUX

upgrade your OS to 11.23 or 11.31

SM7 is only supported at those levels

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation