000033737 - RSA Access Manager Sun Java Server Web Server Agent upgrade is failing when running configure-sjsw7.sh script

Document created by RSA Customer Support Employee on Aug 12, 2016Last modified by RSA Customer Support on Jun 14, 2018
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000033737
Applies ToRSA Product Set: Access Manager
RSA Product/Service Type: Web Agent 5.0
RSA Version/Condition: 6.2
Platform: Sun Java Server Web Server
O/S Version: Sun Solaris Sparc 10
 
IssueAn agent upgrade is failing when running configure-sjsw7.sh script, showing the following error:


Sun Java System Web Server path [/opt/SUNWwbsvr]: /usr/local/webserver7
 
1) https-secure : unconfigured
 
Select a web server instance (1-1) [1]: 1
Sun Java System web server installation problem detected.
RSA Access Manager Agent 5.0 for Sun Java System Web Server configuration aborted.
CauseThere is a defect in the configure-sjsw7.sh script.  The value of obj_file should be reset every time in the "setObjectConfPath()" function in configure-sjsw7.sh script.

 
WorkaroundAdd the line “obj_file=” to the setObjectConfPath() function as shown in bold below:

setObjectConfPath()
{
##Cut the object-file from the first virtual server alone(if exists)
temp_file=`cat $1`
varTemp=

obj_file=

stopAppending=startAppending=false
for i in $temp_file; do
j=`echo $i | awk '

{print $1}
'`

if [ `echo $j` = "<virtual-server>" ]; then
startAppending=true
elif [ `echo $j` = "</virtual-server>" ]; then
stopAppending=true
fi

if [ "$startAppending" = "true" ]; then
if [ `echo $j | grep "<object-file>" | wc -l` -ne 0 ]; then
obj_file=`echo $j | grep "<object-file>" | cut -f2 -d">" | awk -F"</" '

{ print $1 }
'`
fi
varTemp=$varTemp"\n"$i
if [ "$stopAppending" = "true" ]; then
break
fi
fi

Attachments

    Outcomes