Solaris install problem: Why won't my Solaris embedded messaging install on WAS 5.x ? (pkgadd RC=5)
 Technote (FAQ)
 
Problem
While installing WebSphere 5.x with embedded messaging on Solaris,you get a message that the embedded messaging provider fails to install. The mq_install.log shows a pkgadd return code of 5.
 
Cause
While installing WebSphere 5.x on Solaris, the embedded messaging provider fails to install. You get something that looks like this in the mq_install.log)

wmsetup: 24Mar05 09:31:13 installing component wemps ...
wmsetup: 24Mar05 09:31:13 return code 5 from pkgadd
wmsetup: 24Mar05 09:31:13 pkgadd output is :
(C) Copyright IBM Corp. 1999-2002


The following files are already installed on the system and are being
used by another package:
* /opt/wemps <attribute change only>

* - conflict with a file which does not belong to any package.

Installation of <wemps> was suspended (interaction required).
No changes were made to the system.
wmsetup: 24Mar05 09:31:13 ... end of pkgadd output
wmsetup: 24Mar05 09:31:13 ... Install return code 5
wmsetup: 24Mar05 09:31:13 ERROR: installation of pubsub failed - rolling back
 
Solution
This situation presents itself when a previous installation was attempted but failed due to lack of file space. Your new attempt to install the WebSphere 5.1 embedded messaging feature won't install because the install script wanted to interact with you directly to query a package conflict.

In other words, when adding the package (pkgadd), the system wanted to issue a dialog to you like this:

The following files are already installed on the system and are being
used by another package:
* /usr/wemps

* - conflict with a file which does not belong to any package.

Do you want to install these conflicting files [y,n,?,q] n


However, the WebSphere embedded message install was not designed to interact in this way.

WORK AROUND
To bypass the problem, you must modify the Solaris pkgadd defaults to prevent user interaction.

Modify the following files (first, copy the originals to back-up files - these should be restored after the problem is resolved)

The files are:

/var/sadm/install/admin/default
and
<INSTALL_LOCATION>/sun/messaging/admin.wemps

Change the directory from * conflict=ask to *conflict=nochange

For example:
.
* basedir=default
* mail=
* runlevel=nocheck
* conflict=nochange
* setuid=nocheck
* action=nocheck
* partial=quit
* instance=quit
* idepend=nocheck
* rdepend=nocheck
* space=quit

Changing the packaging in this way allowed the processing to continue without interaction.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Install
Operating system(s): Solaris
Software version: 5.1.1
Software edition:
Reference #: 1204360
IBM Group: Software Group
Modified date: Mar 24, 2006