Operating System - HP-UX
1757230 Members
2891 Online
108859 Solutions
New Discussion юеВ

Re: Install JDK6.0.0.3 on HP-UX B.11.11 error

 
davidyangyi
Advisor

Install JDK6.0.0.3 on HP-UX B.11.11 error

I use 'swinstall' to install jdk6_16003_pa.depot and it seems succeeded.

When running java by root, some errors occur as below:

# java
dl failure on line 1229Error: failed /opt/java6/jre/lib/PA_RISC2.0/server/libjvm.sl, because Unresolved symbol: dladdr (code) from /opt/java6/jre/lib/PA_RISC2.0/server/libjvm.sl


I set environment like this
PATH=/usr/sbin:$PATH:/sbin:/home/root:/usr/local/bin:/opt/java6/jre/bin:/opt/java6/jre/lib/PA_RISC2.0/jli/
export SHLIB_PATH=/opt/java6/jre/lib/PA_RISC2.0:/opt/java6/jre/lib/PA_RISC2.0/server:/opt/java6/jre/lib/PA_RISC2.0/jli:/opt/java6/jre/lib/PA_RISC2.0W:/opt/java6/jre/lib/PA_RISC2.0W/server:/opt/java6/jre/lib/PA_RISC2.0W/jli:/opt/java6/jre/lib/IA64N:/opt/java6/jre/lib/IA64N/server:/opt/java6/jre/lib/IA64N/jli:/opt/java6/jre/lib/IA64W:/opt/java6/jre/lib/IA64W/server:/opt/java6/jre/lib/IA64W/jli

export LD_LIBRARY_PATH=/usr/lib:usr/local/lib:/opt/java6/lib:/opt/java6/jre/lib

14 REPLIES 14
Avinash20
Honored Contributor

Re: Install JDK6.0.0.3 on HP-UX B.11.11 error

I will look for initial trobleshooting, by running

# swverify \*

Look for /var/adm/sw/swagent.log to look for error.

If possible please post it, or at the end of swverify there will be info like for more info please execute "swjob ... "

Run that command by redirecting to a particular file

# swjob command > /tmp/swjob.out

Please check for /tmp/swjob.out for any error
If possible you could attached that output herer
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
davidyangyi
Advisor

Re: Install JDK6.0.0.3 on HP-UX B.11.11 error

"/var/adm/sw/swagent.log" 70 lines, 2786 characters

======= 03/22/09 23:57:51 EAT BEGIN install AGENT SESSION (pid=9063)
(jobid=HP-3410-0535)

* Agent session started for user "root@HP-3410". (pid=9063)

* Beginning Analysis Phase.
* Source: HP-3410:/home/cmd_tmp/jdk6_16003_pa.depot
* Target: HP-3410:/
* Target logfile: HP-3410:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
* Executing preDSA command.
NOTE: The used disk space on filesystem "/var" is estimated to
increase by 768 Kbytes.
This will leave 3692560 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/opt" is estimated to
increase by 230640 Kbytes.
This will leave 989584 Kbytes of available user disk space
after the installation.

* Summary of Analysis Phase:
* 12 of 12 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.


* Beginning the Install Execution Phase.
* Filesets: 12
* Files: 3310
* Kbytes: 214973
* Installing bundle "Java60JDK,r=1.6.0.03.00" .
* Installing fileset "Jdk60.JDK60,r=1.6.0.03.00" (1 of 12).
* Installing fileset "Jdk60.JDK60-COM,r=1.6.0.03.00" (2 of 12).
* Installing fileset "Jdk60.JDK60-DEMO,r=1.6.0.03.00" (3 of 12).
* Installing fileset "Jdk60.JDK60-PA20,r=1.6.0.03.00" (4 of 12).
* Installing fileset "Jdk60.JDK60-PA20W,r=1.6.0.03.00" (5 of
12).
* Installing fileset "Jre60.JRE60,r=1.6.0.03.00" (6 of 12).
* Installing fileset "Jre60.JRE60-COM,r=1.6.0.03.00" (7 of 12).
* Installing fileset "Jre60.JRE60-COM-DOC,r=1.6.0.03.00" (8 of
12).
* Installing fileset "Jre60.JRE60-PA20,r=1.6.0.03.00" (9 of 12).
* Installing fileset "Jre60.JRE60-PA20-HS,r=1.6.0.03.00" (10 of
12).
* Installing fileset "Jre60.JRE60-PA20W,r=1.6.0.03.00" (11 of
12).
* Installing fileset "Jre60.JRE60-PA20W-HS,r=1.6.0.03.00" (12 of
12).
* Running install clean command /usr/lbin/sw/install_clean.

* Beginning the Configure Execution Phase.

* Summary of Execution Phase:
* 12 of 12 filesets had no Errors or Warnings.
* The Execution Phase succeeded.


======= 03/22/09 23:59:38 EAT END install AGENT SESSION (pid=9063)
(jobid=HP-3410-0535)


======= 03/22/09 23:59:39 EAT BEGIN install AGENT SESSION (pid=10873)
(jobid=HP-3410-0536)

* Agent session started for user "root@HP-3410". (pid=10873)

======= 03/22/09 23:59:42 EAT END install AGENT SESSION (Cancelled)
(pid=10873) (jobid=HP-3410-0536)
Asif Sharif
Honored Contributor

Re: Install JDK6.0.0.3 on HP-UX B.11.11 error

Hi davidyangyi,

======= 03/22/09 23:59:42 EAT END install AGENT SESSION (Cancelled)


Did you cancel it yourself or did the system stops running the installation ?

Regards,
Asif Sharif
Regards,
Asif Sharif
Dennis Handly
Acclaimed Contributor

Re: Install JDK6.0.0.3 on HP-UX B.11.11 error

>Unresolved symbol: dladdr

This means you haven't patched linker/dld. You need to install PHSS_39077.
davidyangyi
Advisor

Re: Install JDK6.0.0.3 on HP-UX B.11.11 error

thanks, but PHSS_39077 has patch Dependencies. I really have no idea which patch or bundle I shoul install as the very basis. I mean what shoud I install first.

#uname -a
HP-UX HP-3410 B.11.11 U 9000/800 750810827 unlimited-user license
davidyangyi
Advisor

Re: Install JDK6.0.0.3 on HP-UX B.11.11 error

I also see that JDK6 needs path PHSS_26971/ PHSS_24932 and something else.

I am very confused now.
Suraj K Sankari
Honored Contributor

Re: Install JDK6.0.0.3 on HP-UX B.11.11 error

Hi,

Better you download the fresh version of java from the below link and install again.

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXJAVAHOME

Suraj
Asif Sharif
Honored Contributor

Re: Install JDK6.0.0.3 on HP-UX B.11.11 error

Hi,

This patch PHSS_39077 has only dependency of "PHKL_29243".

Install both.

Regards,
Asif Sharif
Regards,
Asif Sharif
Dennis Handly
Acclaimed Contributor

Re: Install JDK6.0.0.3 on HP-UX B.11.11 error

>but PHSS_39077 has patch Dependencies. I really have no idea which patch or bundle I should install as the very basis.
>I also see that JDK6 needs patch PHSS_26971

If you put PHSS_39077 in your shopping cart, it will automatically add dependencies. If you need PHSS_26971 you can add that too.

I see: PHSS_39077 PHKL_29243 PHSS_26971 PHSS_31988

If you download them all at once, you get a script create_depot_hpux.11.11, to combine the patches into a big depot, so you can swinstall them all at once.

>Suraj: Better you download the fresh version of java

Why would this help when it is missing patches?