1 Reply Latest reply on Feb 28, 2012 7:34 AM by jasaavedra Branched to a new discussion.

    Can't call method "product" on an undefined value

    jasaavedra Novice

      Hello.

       

      I get that error when I run the script against my vCenter Server 4.1.0 Build 258902. I've tried with the three "check levels", and I get always the same error: Can't call method "product" on an undefined value at ./vmwarevSphereSecurityHardeningReportCheck.pl line 20.

       

      However, if I run the script against my ESXi 4.1 hosts, it works.

       

      I'm working with a vMA 4.1. Any idea?

       

      Thank you very much.

        • 1. Re: Can't call method "product" on an undefined value
          jasaavedra Novice

          Sorry, it was my fault...

           

          In my lab, I had several ESXi 4.1 and one ESXi 5.0. Because of old tests, the vCenter 4.1 could "see" the ESXi 5.0; and so the error.

          I've removed the ESXi 5.0 from the vCenter and the script runs perfectly.

           

          But it shows this warning/error: Use of uninitialized value in unpack at ./vmwarevSphereSecurityHardeningReportCheck.pl line 552.

           

          I guess this warning is no important...

           

          Thank you.