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-WRAPPERS(7)						   Java wrappers						  JAVA-WRAPPERS(7)

NAME
java-wrappers - capacities shared by java wrapper scripts DESCRIPTION
Most Java programs are not run directly, but through small shell scripts that take care of various things, such as finding a suitable java environment and looking for libraries. To ease the task of the maintainers, they rely on a library providing runtime detection, library detection and other features. This manual page describes the common features of all those scripts, and to which point you can configure them. This is mainly done via environment variables. ENVIRONMENT VARIABLES
java-wrappers understands some environment variables: JAVA_CMD The java command that will be run. If this variable is set, it disables all lookup for a java runtime. JAVA_BINDIR Specifies a directory that will be looked for a java or a jdb executable (depending on the setting of JAVA_DEBUGGER). It has prece- dence over JAVA_HOME but not over JAVA_CMD. JAVA_HOME A path to a java runtime. If this variable is set, all lookup for a java runtime is disabled, except that if no java executable is found in the path, the command java is used. JAVA_FLAVOR A probably more easy-to-use version of the JAVA_HOME variable: instead of specifying the full path of the java runtime, you name it. List of available flavors can be found in the file /usr/lib/java-wrappers/jvm-list.sh. See examples below. JAVA_DEBUGGER If this is set, the wrapper will try to pick up a java debugger rather than a java interpreter. This will fail if the jbd of the runtime found is a stub. JAVA_CLASSPATH Additional classpath, will have priority over the one found by the wrapper. JAVA_ARGS Additional arguments to the java command. They will come before all other arguments. FORCE_CLASSPATH If this variable is set, it will be the only classpath. You'd better know what you are doing. DEBUG_WRAPPER This is probably the most important variable; if it set, the wrapper will print out useful information as it goes by its business, such as which runtime it did find, and which command is run eventually. JAVA_JARPATH The path where the wrappers will go looking for jar archives. If not set, the wrapper will look into the default directory, /usr/share/java. Warning : the wrapper will not look anywhere else than in JAVA_JARPATH. Setting it incorrectly will most probably result in early crashes. EXAMPLES
The examples all rely on rasterizer(1), from the package libbatik-java, but they really apply to all scripts that use java-wrappers. Print out debugging information: DEBUG_WRAPPER=1 rasterizer Limit rasterizer's memory to 80 MB: JAVA_ARGS=-Xmx80m rasterizer Force rasterizer to run with kaffe(1): JAVA_HOME=/usr/lib/kaffe rasterizer The same, but using JAVA_BINDIR: JAVA_BINDIR=/usr/lib/kaffe/bin rasterizer Force rasterizer to run with openjdk: JAVA_FLAVOR=openjdk rasterizer Debug rasterizer with Sun's debugger, while printing debugging information from the wrapper: DEBUG_WRAPPER=1 JAVA_CMD=/usr/lib/jvm/java-6-sun/bin/jdb rasterizer BUGS
Care has been taken to make the wrappers bug-free. If that was not the case, please file a bug report against the java-wrappers package. If you wish to submit any problem with a java executable relying on java-wrappers, please also submit the output of the command run with DEBUG_WRAPPER=1. It will save one mail exchange and therefore potentially reduce the time it takes to fix the bug. DEVELOPERS
There is currently no documentation about writing a wrapper script save the comments in /usr/lib/java-wrappers/java-wrappers.sh. If you have to write one, we suggest you base yourself upon, for instance, the rasterizer wrapper script, or any other one (just pick up any direct reverse dependency of java-wrappers and look for scripts). SEE ALSO
java(1), jdb(1) /usr/lib/java-wrappers/java-wrappers.sh AUTHOR
java-wrappers and its documentation were written by Vincent Fourmond <fourmond@debian.org> Version 0.1.16 2010-05-04 JAVA-WRAPPERS(7)
All times are GMT -4. The time now is 09:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy