Article Number
000033737
Applies To
RSA 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
Issue
An 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.
Cause
There 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.
Workaround
Add 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