Net Flow Upgradation

Net Flow Upgradation

Hi,
 I am going to update NetFlow Analayzer v9850 to v9860 i am having mention error. I am using Centos 6.2.

[root@testnetflow bin]# ./UpdateManager.sh
./UpdateManager.sh: line 2: $: command not found

Looks like the database backup was not taken. Please run the BackupDB.sh in <NetFlow-Home>/troubleshooting folder to take backup of your data before migrating. Do you still want to continue with migration (y/n)?
y
Path : /opt/ManageEngine/NetFlow/jre/../conf/netflow/nfa.properties
PortCheckerUtil.getPort : serviceName :WEBSERVER_PORT Flag : false
java.net.UnknownHostException: testnetflow.fti-nbil.com: testnetflow.fti-nbil.com
        at java.net.InetAddress.getLocalHost(Unknown Source)
        at com.adventnet.netflow.dbutils.NFClientUtil.main(NFClientUtil.java:100)
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(Unknown Source)
        at com.adventnet.netflow.dbutils.NFClientUtil.main(NFClientUtil.java:104)
Netflow server is running. Shutdown server before upgrading

Please help me in this regard.