Sponsored Content
Full Discussion: Java patch error
Operating Systems Solaris Java patch error Post 302600854 by bitlord on Wednesday 22nd of February 2012 02:38:46 PM
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.
 

9 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

9. 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
java-functions(7)						RPM Java packaging						 java-functions(7)

NAME
java-functions - Functions library for Java applications. Written for the JPackage Project <http://www.jpackage.org/>: SYNOPSIS
set_jvm() Set the java virtual machine. Use a JAVA_HOME if defined, or try to find it from java command set_classpath() Set the classpath - this functions requires a valid JAVA_HOME, JAVACMD, and JAVA_LIBDIR. JARs could be specified as an argument, or via ADDITIONAL_JARS variable. set_javacmd() set the JAVACMD variable. Options should be passed via JAVACMD_OPTS variable. set_flags() set FLAGS variable. They could be specified as an argument, or via ADDITIONAL_FLAGS variable. set_options() set OPTIONS variable. They could be specified as an argument, or via ADDITIONAL_OPTIONS variable. run() run the application. It executed a following command. If VERBOSE is defined, then it prints the command to stdout. exec $JAVACMD $FLAGS -classpath $CLASSPATH $OPTIONS $MAIN_CLASS "$@" set_jvm_dirs() set JVM-related directories (JVM_LIBDIR, JAVA_VERSION, JAVAVER_LIBDIR and JAVAVER_JNIDIR variables). Requires a correct JAVA_LIBDIR, JAVA_HOME and JAVA_CMD. link_jar_repository() links a jar repository. Options could be found in build-jar-repository(1) find_jar() finds a specific extention (jar or directory). Requires a correct JAVA_LIBDIR, JAVAVER_LIBDIR and JVM_LIBDIR. Used by find-jar(1) com- mand. do_find_jar() core routine used by find_jar() check_java_env() checks java environment - the JAVA_HOME, JAVACMD, JAVA_LIBDIR, JNI_LIBDIR variables. DESCRIPTION
This is a library of generic shell functions which should be used on jpackage.org compatible distributions. FILES
/use/share/java-utils/java-functions shell script functions library for Java applications /etc/java/java.conf system-wide Java configuration file ~/.java/java.conf user's Java configuration SEE ALSO
Regular Manual Pages build-jar-repository(1) find-jar(1) java.conf(5) jpackage-utils(7) AUTHORS
Guillaume Rousse <guillomovitch@sourceforge.net> Ville Skytta <scop at jpackage.org> David Walluck <david@jpackage.org> Nicolas Mailhot <Nicolas.Mailhot at laPoste.net> REPORTING BUGS
Report bugs using JPackage Bugzilla (http://www.jpackage.org/bugzilla/) jpackage-utils 1.7.5 February 2009 java-functions(7)
All times are GMT -4. The time now is 10:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy