cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
490
Views
0
Helpful
0
Replies

/opt/CSOlumos/conf/wcs.env: line 38: v: command not found

titus.adelani
Level 1
Level 1

I'm  upgrading our Cisco Prime Infrastructure 2.1 to 2.2 (final end state is CPI 3.1). Had to backup NCS application on 2.1, perform a fresh install of 2.2 and restore from 2.1 backup - painfully slow, but went ok.

However, when CPI I starting, I get this error "/opt/CSOlumos/conf/wcs.env: line 38: v: command not found". Is it okay to edit this file and delete the last line, which I believe is causing the error? Is this a well-know bug?

Here is the file:

#!/bin/sh

export INSTALL_ROOT=$XMP_HOME

MIBS_ROOT=$INSTALL_ROOT/resources/wireless/mibs
MAPS_ROOT=$INSTALL_ROOT/resources/maps

export MAPS_IMAGES=${XMP_HOME}/domainmaps
export HEATMAP_IMAGES=${MAPS_IMAGES}/heatmaps
export MAGICK_HOME=${MAPS_ROOT}/Magic
export MAGICK_PATH=$MAGICK_HOME/bin
export MAGICK_LIB=$MAGICK_HOME/lib
export GDAL_DATA=${MAPS_ROOT}/gdal/data
export GDAL_EXEC=${MAPS_ROOT}/gdal/gdalexecs/lib
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$GDAL_EXEC:$MAGICK_LIB:$MAPS_ROOT/lib:/opt/system/lib"
export XMP_CLASSLOADER_CLASSPATH=$XMP_HOME/classloader-conf:`find $XMP_HOME/lib/xmp -name "XMPClassLoader*.jar"`
export PATH=${PATH}:$MAGICK_PATH

# Configure APP_OPTS with the required properties
JAVA_OPTS="\
-XX:InitialCodeCacheSize=64m \
-XX:ReservedCodeCacheSize=256m \
-Dinstall.dir=$INSTALL_ROOT \
-Dapplication.name=ncs-server \
-Daes.dir=$INSTALL_ROOT \
-Dmaps.dir=$MAPS_IMAGES \
-Dheatmap.dir=$HEATMAP_IMAGES \
-Dmibs.root=$MIBS_ROOT \
-Daxis.ClientConfigFile=$INSTALL_ROOT/conf/rfm/classes/com/cisco/common/ha/config/client-config.wsdd \
-Daxis.socketSecureFactory=org.apache.axis.components.net.SunFakeTrustSocketFactory \
-Dreport.server=false $JAVA_OPTS -XX:PermSize=1280m -XX:MaxPermSize=1280m -Xms1024m -Xmx16G "
export JAVA_OPTS
###########

#
. $XMP_HOME/conf/ciscojce.env
. $XMP_HOME/conf/sunjsse.env
v

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: