Error to push data into lpar2rrd PowerDataWrapperJSON.pm

Hello,

I'm having a strange error where I can't push data to show in lpar2rrd web from one particular hmc.

I'm having this kind of errors:

readline() on closed filehandle $fh at /lpar2rrd/bin/PowerDataWrapperJSON.pm line 308.

Use of uninitialized value $h in substitution (s///) at /lpar2rrd/bin/PowerDataWrapperJSON.pm line 311.

Use of uninitialized value $h in substitution (s///) at /lpar2rrd/bin/PowerDataWrapperJSON.pm line 312.

Running latest lpar2rrd, v7.40.

On lpar2rrd web, I can see my HMC and lpars inside "configuration" menu but I can't see under "Servers"

I can also see errors like:

Docker.pm: Fri Apr  8 06:18:37 2022: Cannot mkdir /lpar2rrd/data/Docker/check: No such file or directory/lpar2rrd/bin/Docker.pm:25 at /lpar2rrd/bin/Docker.pm line 25.

Is this something common that can be ignore or it's missing from my end?

Really appreciate your support and thanks in advance.

Comments

  • More info about the docker error:

    [Fri Apr  8 06:18:37 2022] Docker.pm: Fri Apr  8 06:18:37 2022: Cannot mkdir /lpar2rrd/data/Docker: Permission denied/lpar2rrd/bin/Docker.pm:25 at /lpar2rrd/bin/Docker.pm line 25.

    [Fri Apr  8 06:18:37 2022] Docker.pm: Fri Apr  8 06:18:37 2022: Cannot mkdir /lpar2rrd/data/Docker/Container: No such file or directory/lpar2rrd/bin/Docker.pm:25 at /lpar2rrd/bin/Docker.pm line 25.

    [Fri Apr  8 06:18:37 2022] Docker.pm: Fri Apr  8 06:18:37 2022: Cannot mkdir /lpar2rrd/data/Docker/Volume: No such file or directory/lpar2rrd/bin/Docker.pm:25 at /lpar2rrd/bin/Docker.pm line 25.

    [Fri Apr  8 06:18:37 2022] Docker.pm: Fri Apr  8 06:18:37 2022: Cannot mkdir /lpar2rrd/data/Docker/check: No such file or directory/lpar2rrd/bin/Docker.pm:25 at /lpar2rrd/bin/Docker.pm line 25.

  • Hi,

    ls -l /lpar2rrd/

  • Hi Pavel,

    Tks for quick reply, here:

    ls -l /lpar2rrd/

    total 42528

    drwxr-xr-x    3 lpar2rrd staff           256 Apr  5 19:01 BACKUP-INSTALL

    -rw-r--r--    1 lpar2rrd staff         25663 Apr  5 19:01 Copyright.txt

    drwxr-xr-x    2 lpar2rrd staff         24576 Apr  5 19:02 bin

    drwxr-xr-x   30 lpar2rrd staff          4096 Apr  8 06:44 data

    drwxr-xr-x    2 lpar2rrd staff           256 Apr  5 13:07 dbschema

    drwxr-xr-x    4 lpar2rrd staff          4096 Apr  7 22:11 etc

    drwxr-xr-x    4 lpar2rrd staff          4096 Apr  7 23:03 html

    drwxr-xr-x   37 lpar2rrd staff          4096 Oct 18 2016  lib

    -rw-------    1 lpar2rrd staff      21166080 Apr  7 14:30 lib-aix.tar

    -rw-------    1 lpar2rrd staff        240217 Apr  8 08:02 load.out

    -rwxr-xr-x    1 lpar2rrd staff         33615 Apr  5 19:01 load.sh

    -rw-------    1 lpar2rrd staff            35 Apr  8 08:20 load_alert.out

    -rwxr-xr-x    1 lpar2rrd staff          5066 Apr  5 19:01 load_alert.sh

    -rw-------    1 lpar2rrd staff           271 Apr  5 22:20 load_aws.out

    -rwxr-xr-x    1 lpar2rrd staff          5518 Apr  5 19:01 load_aws.sh

    -rw-------    1 lpar2rrd staff          1701 Apr  5 22:20 load_azure.out

    -rwxr-xr-x    1 lpar2rrd staff          5553 Apr  5 19:01 load_azure.sh

    -rwxr-xr-x    1 lpar2rrd staff          5687 Apr  5 19:01 load_cloudstack.sh

    -rw-------    1 lpar2rrd staff           285 Apr  5 22:20 load_fusioncompute.out

    -rwxr-xr-x    1 lpar2rrd staff          5586 Apr  5 19:01 load_fusioncompute.sh

    -rw-------    1 lpar2rrd staff           292 Apr  5 22:20 load_gcloud.out

    -rwxr-xr-x    1 lpar2rrd staff          5651 Apr  5 19:01 load_gcloud.sh

    -rwxr-xr-x    1 lpar2rrd staff          4010 Apr  5 19:01 load_hea.sh

    -rwxr-xr-x    1 lpar2rrd staff          6537 Apr  5 19:01 load_hmc_rest_api.sh

    -rw-------    1 lpar2rrd staff           107 Apr  5 22:20 load_hyperv.out

    -rwxr-xr-x    1 lpar2rrd staff          8134 Apr  5 19:01 load_hyperv.sh

    -rw-------    1 lpar2rrd staff           355 Apr  5 22:20 load_kubernetes.out

    -rwxr-xr-x    1 lpar2rrd staff          5732 Apr  5 19:01 load_kubernetes.sh

    -rw-------    1 lpar2rrd staff           281 Apr  5 22:20 load_nutanix.out

    -rwxr-xr-x    1 lpar2rrd staff          5559 Apr  5 19:01 load_nutanix.sh

    -rw-------    1 lpar2rrd staff           363 Apr  5 22:20 load_openshift.out

    -rwxr-xr-x    1 lpar2rrd staff          6599 Apr  5 19:01 load_openshift.sh

    -rw-------    1 lpar2rrd staff           144 Apr  8 08:25 load_oracledb.out

    -rwxr-xr-x    1 lpar2rrd staff          6727 Apr  5 19:01 load_oracledb.sh

    -rw-------    1 lpar2rrd staff           384 Apr  5 22:20 load_oraclevm.out

    -rwxr-xr-x    1 lpar2rrd staff          5648 Apr  5 19:01 load_oraclevm.sh

    -rw-------    1 lpar2rrd staff          1000 Apr  5 22:20 load_ovirt.out

    -rwxr-xr-x    1 lpar2rrd staff          5631 Apr  5 19:01 load_ovirt.sh

    -rw-------    1 lpar2rrd staff           146 Apr  8 08:25 load_postgres.out

    -rwxr-xr-x    1 lpar2rrd staff          5912 Apr  5 19:01 load_postgres.sh

    -rw-------    1 lpar2rrd staff           278 Apr  5 22:20 load_proxmox.out

    -rwxr-xr-x    1 lpar2rrd staff          5549 Apr  5 19:01 load_proxmox.sh

    -rw-------    1 lpar2rrd staff           145 Apr  8 08:25 load_sqlserver.out

    -rwxr-xr-x    1 lpar2rrd staff          6006 Apr  5 19:01 load_sqlserver.sh

    -rwxr-xr-x    1 lpar2rrd staff          9488 Apr  5 19:01 load_vmware.sh

    -rw-------    1 lpar2rrd staff           414 Apr  5 22:20 load_xenserver.out

    -rwxr-xr-x    1 lpar2rrd staff          5492 Apr  5 19:01 load_xenserver.sh

    drwxr-xr-x    2 lpar2rrd staff          4096 Apr  8 08:02 logs

    drwxr-xr-x    2 lpar2rrd system          256 Apr  5 18:12 lost+found

    drwxrwxr-x    5 lpar2rrd 1000           4096 Apr  5 19:01 lpar2rrd-7.40

    drwxr-xr-x    2 lpar2rrd staff          4096 Apr  5 19:37 lpar2rrd-cgi

    drwxr-xr-x    2 lpar2rrd staff           256 Apr  5 13:07 nagios

    drwxr-xr-x    2 lpar2rrd staff          4096 Apr  5 13:07 oracledb-sql

    drwxrwxrwx    2 lpar2rrd staff           256 Apr  5 20:01 reports

    drwxr-xr-x    2 lpar2rrd staff           256 Apr  5 13:07 scripts

    drwxrwxrwx    6 lpar2rrd staff          8192 Apr  8 08:02 tmp

    drwxr-xr-x    2 lpar2rrd staff           256 Apr  5 13:07 vmware-lib

    drwxr-xr-x   10 lpar2rrd staff          4096 Apr  8 00:10 www

    Tks!!!
  • I can see this same perms errors when trying to generate the report.. 
Sign In or Register to comment.