Java patch error


 
Thread Tools Search this Thread
Operating Systems Solaris Java patch error
# 1  
Old 02-22-2012
Java patch error

I don't know if this the right place to post this.
My issue is this, I'm trying to add this patch to upgrade my java on my Solaris server. I'mtrying to update to java 1.5.0_34 from java 1.5.0_32.

Code:
patchadd ./118666-36

I get this error:
Code:
Patch 118666-36 failed to install due to failure produced by pkgadd.
See /var/sadm/patch/118666-36/log for details
Patchadd is terminating.

cat /var/sadm/patch/118666-36/log
Code:
Package not patched:
PKG=SUNWj5dmo
Original package not installed.
Package not patched:
PKG=SUNWj5jmp
Original package not installed.
Package not patched:
PKG=SUNWj5man
Original package not installed.

This appears to be an attempt to install the same architecture and 
version of package which is already installed. This installation
will attempt to overwrite this package.

/var/tmp/TmpDAAAkKaG5o/118666-36/SUNWj5cfg/install/checkinstall:
 /var/tmp/TmpDAAAkKaG5o/118666-36/SUNWj5cfg/install/checkinstall: cannot open
pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.

---------- Post updated at 09:45 AM ---------- Previous update was at 09:01 AM ----------

Java level
Code:
java -version
java verson "1.5.0_32"
java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_32-bo5)
java HotSpot(TM) Server VM (build 1.5.0_32-bo5, mixed mode)

patch level
Code:
showrev -p|grep 118666
Patch: 118666-22 Obsoletes:  Requires:  Incompatibles:  Packages:  SUNWj5dev, SUNWj5rt, SUNWj5cfg
Patch: 118666-25 Obsoletes:  Requires:  Incompatibles:  Packages:  SUNWj5dev, SUNWj5rt, SUNWj5cfg
Patch: 118666-26 Obsoletes:  Requires:  Incompatibles:  Packages:  SUNWj5dev, SUNWj5rt, SUNWj5cfg
Patch: 118666-30 Obsoletes:  Requires:  Incompatibles:  Packages:  SUNWj5dev, SUNWj5rt, SUNWj5cfg
Patch: 118666-34 Obsoletes:  Requires:  Incompatibles:  Packages:  SUNWj5dev, SUNWj5rt, SUNWj5cfg

Anyway does any one have any suggestions on how I can install this patch?

---------- Post updated at 02:38 PM ---------- Previous update was at 09:45 AM ----------

I found the answer. I was trying to install this patch from a share and for some reason, even thought I was root, It was not working. I copied the patch to /tmp, ran it and now it works. I don't know whey It worked on some servers and not others.
# 2  
Old 02-22-2012
Quote:
Originally Posted by bitlord
I was trying to install this patch from a share and for some reason, even thought I was root, It was not working. I copied the patch to /tmp, ran it and now it works. I don't know whey It worked on some servers and not others.
On an NFS share, the root account is mapped to user "nobody" unless specifically allowed by the "anon=0" option. This option can be restricted to a set of servers with the "root=access-list" option. This is likely why it works on some servers but not on others in your case.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Unable to correct NMONVisualizer java error. Can someone help to decode this java error?

Hello AIX and Java gurus, I have a java error that I have no clue how to resolve. I am trying to run the popular NMONVisualizer utility against a NMON dataset and getting the error as shown below: /db2storage/NMON >java -jar NMONVisualizer_2015-02-02.jar com.ibm.nmon.ReportGenerator... (1 Reply)
Discussion started by: okonita
1 Replies

2. Shell Programming and Scripting

Java error

Dear All, while running java -version i am getting following error /usr/lib/dld.sl: Can't find path for shared library: libjli.sl /usr/lib/dld.sl: No such file or directory ARIES32: Core file for PA32 application saved to /finacle/RIPU/core.java Abort(coredump) its creating a core dump. ... (3 Replies)
Discussion started by: ripudaman.singh
3 Replies

3. Solaris

Solaris patch cluster installation error

Hi Admins, I came across an error while installing patch cluster on solaris. # ./installcluster --s10cluster ERROR: Another instance of an install script is already running for target boot environment '/'. I did killed the related processes. Now there is no any process running from ps... (1 Reply)
Discussion started by: snchaudhari2
1 Replies

4. Solaris

Where/What/Howto solve warning/error msg about Kernel patch level?

required Solaris 5.10 Kernel patch 137111-03 required Solaris 5.10 Fibre Channel Device Driver patch 125184-08 I want to know about the descriptions and what the patches will do. I searched www.sun.com (patches/updates) but don't see I am looking for. (1 Reply)
Discussion started by: Y4Net
1 Replies

5. Shell Programming and Scripting

Patch query using shell script error

Hi All, OS:AIX 5.3 I am using the following shell script for patch query but not getting the prompt to enter values for '&From_date' and '&TO_Date' in the patch query when called from the shell script as below: patch_query.sh ============ #!/usr/bin/ksh export DBALIST="xyz@xyz.com"... (1 Reply)
Discussion started by: a1_win
1 Replies

6. HP-UX

Gold Pack and Java patch !

hi ! i have the following gold pack installed,on Hp-ux 11.23 on IA64 # /usr/sbin/swlist | grep -e QPK -e GOLD -e BUNDLE11i BUNDLE11i B.11.23.0409.3 Required Patch Bundle for HP-UX 11i v2 (B.11.23), September 2004 QPKAPPS B.11.23.0609.053a Applications Quality Pack Bundle for HP-UX 11i v2,... (0 Replies)
Discussion started by: ayazanjum
0 Replies

7. UNIX for Dummies Questions & Answers

Gold Pack and Java patch !

hi ! i have the following gold pack installed,on Hp-ux 11.23 on IA64 # /usr/sbin/swlist | grep -e QPK -e GOLD -e BUNDLE11i BUNDLE11i B.11.23.0409.3 Required Patch Bundle for HP-UX 11i v2 (B.11.23), September 2004 QPKAPPS B.11.23.0609.053a Applications Quality... (0 Replies)
Discussion started by: ayazanjum
0 Replies

8. UNIX for Dummies Questions & Answers

error in java

hi everyone i am attaching a java code below, it is running perfectly fine on windows but not on unix system. unix system is having java 1.2 environment. and this code is java 1.1 onwards compatible. WELL THE ERROR GIVEN IS UNKNOWN HOST EXCEPTION plz help me out. import java.net.*; import... (1 Reply)
Discussion started by: parmeet
1 Replies

9. IP Networking

Patch-o-matic (patch for iptable) for linux2.4.08 & iptable1.2.7a

Hello friends I'm running Redhat 9.0 with linux kernel 2.4.20-8 & have iptables version 1.2.7a & encountering a problem that I narrate down. I need to apply patch to my iptable and netfilter for connection tracking and load balancing that are available in patch-o-matic distribution by netfilter.... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies
Login or Register to Ask a Question