Kbase P117792: Difference in setting $DLC in proadsv and nsman script causes version problem if wrong version appea
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/4/2006 |
|
Status: Unverified
SYMPTOM(s):
Difference in setting $DLC in proadsv and nsman script causes version problem if wrong version appears first in $PATH
nsman -start fails when not finding proper version of the AdminServer running
CAUSE:
An older version of the nsman script is being found in the front of the $PATH, eg /usr/bin. Difference in $DLC definition in proadsv script and nsman script can account for this:
In the proadsv script, the dlc environment var is set by the
following for loop:
for what_dlc in "$DLC" "/usr/dlc"
do
[ ! -d "${what_dlc}/java" ] && continue
DLC=$what_dlc
export DLC
break
done
in the nsman script, the dlc var is set by:
for what_dlc in "/usr/dlc" "$DLC"
do
[ ! -d "${what_dlc}/java" ] && continue
DLC=$what_dlc
export DLC
break
done
FIX:
Avoid copying the Progress/OpenEdge scripts to the /usr/bin during install. If running multiple versions of Progress, make sure only the proper version appears in the $PATH variable.