New installation Couldn't parse json file
Hi All;
I install snmp,httpd, and stor2rrd , everything went ok until I ran out of space in the file system storing stor2rrd .
increased the file system size , rebooted (yes I know centos does not need a reboot) and I am getting the following errors
[stor2rrd@SANMONITORING stor2rrd]$ /data/stor2rrd/load_netappperf.sh
I install snmp,httpd, and stor2rrd , everything went ok until I ran out of space in the file system storing stor2rrd .
increased the file system size , rebooted (yes I know centos does not need a reboot) and I am getting the following errors
[stor2rrd@SANMONITORING stor2rrd]$ /data/stor2rrd/load_netappperf.sh
Tue Oct 20 17:53:32 2020: Couldn't parse json file /data/stor2rrd/etc/web_config/devicecfg.json unexpected end of string while parsing JSON string, at character offset 24578 (before "(end of string)") at /data/stor2rrd/bin/Xorux_lib.pm line 675.
/data/stor2rrd/bin/Xorux_lib.pm:678 :
Version 7.0
Comments
-
Hi,looks like file is cirrupted /data/stor2rrd/etc/web_config/devicecfg.jsonThere should be a backup in /data/stor2rrd/etc/.web_config/devicecfg.json-<time stamp>Copy back the latest one, keep the same file rights for /data/stor2rrd/etc/web_config/devicecfg.jsonif it is a initial install and you had no definened storages (or just a few) then you can just remove /data/stor2rrd/etc/web_config/devicecfg.json and define them again (use name name aliases)
-
Thanks a lot , it resolved the issue
Howdy, Stranger!
Categories
- 1.6K All Categories
- 41 XORMON NG
- 25 XORMON
- 149 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle