There was an error on menu JSON generation
Comments
-
Hi,Looks like corrupted etc/web_config/users.json
there should be a backup copy of that file incd /home/lpar2rrd/lpar2rrdls -ltr etc/.web_config/users.json-*
1. make backup of actual onecp etc/web_config/users.json etc/web_config/users.json-bad
2. revert back the latest onecp etc/.web_config/users.json-<timestamp> etc/web_config/users.jsonKeep same user rights as on the original file. It must be owned by apache user (lpar2rrd on the virtual appliance)BTW this is something what should not happed in actually latest version 6.16
-
Thx it worked!
I will try to update to 6.16 asap
Bye -
tail /var/tmp/lpar*realt*
-
Hi @Pavel,
Thank you for reply.
I found file:cat /var/tmp/systemd-private-3bf31c68c71d4ccd987ae436e79033e7-httpd.service-h1gOGe/tmp/lpar2rrd-realt-error.log<br>[Tue Nov 10 09:54:16 2020] genjson.pl: Wide character in subroutine entry at /home/lpar2rrd/lpar2rrd/bin/genjson.pl line 4155. <br>[Tue Nov 10 10:01:19 2020] genjson.pl: Wide character in subroutine entry at /home/lpar2rrd/lpar2rrd/bin/genjson.pl line 4155.
in 4155 line in genjson.pl file is:my $hash = substr( md5_hex($hashstr), 0, 7 );
-
Hello,
please send us this file for analyse:/home/lpar2rrd/lpar2rrd/tmp/menu.txt
Use our upload website: https://upload.lpar2rrd.com , zip it please before upload
Thanks in advance
-
Hello,
we made a fix already, there was a problem with encoding on some menu entries
You can get it here:
https://download.lpar2rrd.com/patch/7.03-8-g5f38/genjson.pl.gz
Gunzip it and copy to /home/lpar2rrd/lpar2rrd/bin (755, lpar2rrd owner)
-rwxr-xr-x 1 lpar2rrd lpar2rrd 165174 Nov 10 14:18 genjson.pl
If your web browser gunzips it automatically then just rename it: mv genjson.pl.gz genjson.pl
Assure that file size is the same as on above example
Menu should be back as soon as the patch is applied, let us know please
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