Problems - load_xenserver.sh - XenServer
Hi good morning
I am having problems loading Xenserver
Are you aware of this error?
------------------------------------------------------------------------
------------------------------------------------------------------------
[lpar2rrd@xorux ~]$ /home/lpar2rrd/lpar2rrd/load_xenserver.sh
Image environment is set
load_xenserver.sh : start
xen-xapi2json.pl : collect data from XAPI, Mon Jun 7 12:37:46 -03 2021
xen-json2rrd.pl : push data to rrd, Mon Jun 7 12:52:46 -03 2021
RRDp version: 1.7001
RRDtool version: 1.7.1
<h1>Software error:</h1>
<pre>Can't use string ("1") as a SCALAR ref while "strict refs" in use at /home/lpar2rrd/lpar2rrd/bin/XenServerLoadDataModule.pm line 171.
</pre>
<p>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.
</p>
xen-json2rrd.pl finish : status 255
xen-cleanup.pl : already ran today, skip
/home/lpar2rrd/lpar2rrd/load_xenserver.sh: line 167: 30699 Alarm clock wait_time $timeout
An error occured in lpar2rrd, check /home/lpar2rrd/lpar2rrd/logs/error.log-xen and output of load.sh
$ tail -2256 /home/lpar2rrd/lpar2rrd/logs/error.log-xen
XenServer XAPI2JSON: 0 timeouted.
XenServer XAPI2JSON: 0 timeouted.
XenServer XAPI2JSON: 0 timeouted.
XenServer XAPI2JSON: 0 timeouted.
XenServer XAPI2JSON: 0 timeouted.
XenServer XAPI2JSON: 0 timeouted.
XenServer XAPI2JSON: 0 timeouted.
XenServer XAPI2JSON: 0 timeouted.
XenServer XAPI2JSON: 0 timeouted.
XenServer XAPI2JSON: 0 timeouted.
XenServer XAPI2JSON: 0 timeouted.
XenServer XAPI2JSON: 0 timeouted.
[Mon Jun 7 12:56:49 2021] xen-json2rrd.pl: Use of uninitialized value $RRDp::error_mode in string eq at /usr/lib64/perl5/vendor_perl/RRDp.pm line 168.
[Mon Jun 7 12:56:49 2021] xen-json2rrd.pl: Mon Jun 7 12:56:49 2021: Failed during read last time /home/lpar2rrd/lpar2rrd/data/XEN/88e20c84-8636-42cb-b59b-cd66f0f2a71c/disk-2e15bfc9.rrd: ERROR: mmaping file '/home/lpar2rrd/lpar2rrd/data/XEN/88e20c84-8636-42cb-b59b-cd66f0f2a71c/disk-2e15bfc9.rrd': Invalid argument at /home/lpar2rrd/lpar2rrd/bin/Xorux_lib.pm line 198.
[Mon Jun 7 12:56:49 2021] xen-json2rrd.pl: /home/lpar2rrd/lpar2rrd/bin/Xorux_lib.pm:202 at /home/lpar2rrd/lpar2rrd/bin/Xorux_lib.pm line 202.
[Mon Jun 7 12:56:49 2021] xen-json2rrd.pl: Can't use string ("1") as a SCALAR ref while "strict refs" in use at /home/lpar2rrd/lpar2rrd/bin/XenServerLoadDataModule.pm line 171.
[Mon Jun 7 13:05:41 2021] xen-json2db.pl: Use of uninitialized value in concatenation (.) or string at /home/lpar2rrd/lpar2rrd/bin/SQLiteDataWrapper.pm line 154.
[Mon Jun 7 13:05:48 2021] xen-json2db.pl: Use of uninitialized value in concatenation (.) or string at /home/lpar2rrd/lpar2rrd/bin/SQLiteDataWrapper.pm line 154.
[Mon Jun 7 13:05:49 2021] xen-json2db.pl: Use of uninitialized value in concatenation (.) or string at /home/lpar2rrd/lpar2rrd/bin/SQLiteDataWrapper.pm line 154.
[Mon Jun 7 13:05:50 2021] xen-json2db.pl: Use of uninitialized value in concatenation (.) or string at /home/lpar2rrd/lpar2rrd/bin/SQLiteDataWrapper.pm line 154.
[Mon Jun 7 13:05:52 2021] xen-json2db.pl: Use of uninitialized value in concatenation (.) or string at /home/lpar2rrd/lpar2rrd/bin/SQLiteDataWrapper.pm line 154.
[Mon Jun 7 13:05:52 2021] xen-json2db.pl: Use of uninitialized value in concatenation (.) or string at /home/lpar2rrd/lpar2rrd/bin/SQLiteDataWrapper.pm line 154.
[Mon Jun 7 13:05:54 2021] xen-json2db.pl: Use of uninitialized value in concatenation (.) or string at /home/lpar2rrd/lpar2rrd/bin/SQLiteDataWrapper.pm line 154.
[Mon Jun 7 13:05:57 2021] xen-json2db.pl: Use of uninitialized value in concatenation (.) or string at /home/lpar2rrd/lpar2rrd/bin/SQLiteDataWrapper.pm line 154.
[Mon Jun 7 13:06:01 2021] xen-json2db.pl: Use of uninitialized value in concatenation (.) or string at /home/lpar2rrd/lpar2rrd/bin/SQLiteDataWrapper.pm line 154.
[Mon Jun 7 13:06:04 2021] xen-json2db.pl: Use of uninitialized value in concatenation (.) or string at /home/lpar2rrd/lpar2rrd/bin/SQLiteDataWrapper.pm line 154.
[Mon Jun 7 13:06:05 2021] xen-json2db.pl: Use of uninitialized value in concatenation (.) or string at /home/lpar2rrd/lpar2rrd/bin/SQLiteDataWrapper.pm line 154.
[Mon Jun 7 13:06:09 2021] xen-json2db.pl: Use of uninitialized value in concatenation (.) or string at /home/lpar2rrd/lpar2rrd/bin/SQLiteDataWrapper.pm line 154.
Thanks!!!
Comments
-
Hi,file /home/lpar2rrd/lpar2rrd/data/XEN/88e20c84-8636-42cb-b59b-cd66f0f2a71c/disk-2e15bfc9.rrdls -l /home/lpar2rrd/lpar2rrd/data/XEN/88e20c84-8636-42cb-b59b-cd66f0f2a71c/disk-2e15bfc9.rrdrrdtool info /home/lpar2rrd/lpar2rrd/data/XEN/88e20c84-8636-42cb-b59b-cd66f0f2a71c/disk-2e15bfc9.rrd
-
Hi, thanks for the early answer[lpar2rrd@xorux ~]$ file /home/lpar2rrd/lpar2rrd/data/XEN/88e20c84-8636-42cb-b59b-cd66f0f2a71c/disk-2e15bfc9.rrd/home/lpar2rrd/lpar2rrd/data/XEN/88e20c84-8636-42cb-b59b-cd66f0f2a71c/disk-2e15bfc9.rrd: empty[lpar2rrd@xorux ~]$ ls -l /home/lpar2rrd/lpar2rrd/data/XEN/88e20c84-8636-42cb-b59b-cd66f0f2a71c/disk-2e15bfc9.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 0 Nov 7 2020 /home/lpar2rrd/lpar2rrd/data/XEN/88e20c84-8636-42cb-b59b-cd66f0f2a71c/disk-2e15bfc9.rrd[lpar2rrd@xorux ~]$ rrdtool info /home/lpar2rrd/lpar2rrd/data/XEN/88e20c84-8636-42cb-b59b-cd66f0f2a71c/disk-2e15bfc9.rrdERROR: mmaping file '/home/lpar2rrd/lpar2rrd/data/XEN/88e20c84-8636-42cb-b59b-cd66f0f2a71c/disk-2e15bfc9.rrd': Invalid argument[lpar2rrd@xorux ~]$[lpar2rrd@xorux ~]$[lpar2rrd@xorux ~]$ dateMon Jun 7 13:20:11 -03 2021[lpar2rrd@xorux ~]$
-
remove that, something old:rm /home/lpar2rrd/lpar2rrd/data/XEN/88e20c84-8636-42cb-b59b-cd66f0f2a71c/disk-2e15bfc9.rrdrun this for identification of other corrupoted files:./bin/check_rrdtool_stor2rrd.shremove manually printed filesBut I do not think it resolves the issue.what is your lpar2rrd version?Has xenServer monitoring worked before?
-
Thanks, I will tryToday update to the latest versionBefore I used an old script, which solved it as follows:
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