Error when run update.sh (from 2.61 to 2.70-1)
When i run ./update.sh i see on screen error:
I find in update.sh sting started as:
Configuring new stor2rrd.cfg
sed: -e expression #32, char 28: unknown option to `s'
ERROR: Configuration of/home/stor2rrd/stor2rrd/etc/stor2rrd.cfg failed, original file is kept
This might cause unpredictable problems, contact product support in case anything is not working fine after the update
I find in update.sh sting started as:
eval ' sed -e 's/WEBDIR=.*/WEBDIR=$WEBDIR/g' \
where expression 34 about SSH command.
If exclude this expression (-e 's/SSH=.*/SSH=$SSH/g') file update.sh run without error.
I trace what make this expression and make change SSH string in stor2rrd.cfg by hand to:
If exclude this expression (-e 's/SSH=.*/SSH=$SSH/g') file update.sh run without error.
I trace what make this expression and make change SSH string in stor2rrd.cfg by hand to:
# SSH client
#A# SSH="ssh -q -o ConnectTimeout=80 -o StrictHostKeyChecking=no -o PreferredAuthentications=publickey -o SendEnv=no "
SSH="ssh -q -F \\/dev\\/null -o Ciphers=+3des-cbc -o ConnectTimeout=80 -o StrictHostKeyChecking=no -o PreferredAuthentications=publickey -o SendEnv=no "
# use this in case of Reflection/Tectia or other comercial ssh distros "ssh -q "
Comments
-
Hi,ok, "+" in SSH path might cause a problem.Let us test and fix it. I suppose it is working for you now.
Howdy, Stranger!
Categories
- 1.6K All Categories
- 48 XORMON NG
- 25 XORMON
- 153 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 7 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 124 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 2 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle