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
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.json
    There 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.json

    if 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 
Sign In or Register to comment.