3 Replies Latest reply on Sep 16, 2011 10:20 AM by jscheponik

    Need help running the script

    Lurker

      Hi Guys,

       

      My customer is trying to run this script but keeps encountering this error. Could someone please help us to understand what did we not do right here?

      Thanks!.Untitled.png

        • 1. Re: Need help running the script
          MKguy Virtuoso

          The script is supposed to be run from the vMA and not from a Windows-system with the vcli/viperltoolkit. Try running it from the vMA.

           

          http://communities.vmware.com/docs/DOC-11901

          Requirements

                ESX(i) 4.x or vCenter 4.x

                VMware vMA 4.x

          • 2. Re: Need help running the script
            Lurker

            Thanks! My bad for not looking out on that requirement.

            • 3. Re: Need help running the script
              jscheponik Lurker

              A subdirectory or file -p already exists.
              Error occurred while processing: -p.
              A subdirectory or file vSphereHardenReport already exists.
              Error occurred while processing: vSphereHardenReport.
              Generating VMware vSphere Security Hardening Report 1.8 (ENTERPRISE) "c:\hard_report.thm" ...

              This can take a few minutes depending on environment size.
              Get a cup of coffee/tea and check out http://www.virtuallyghetto.com

              The syntax of the command is incorrect.
              The syntax of the command is incorrect.
              The syntax of the command is incorrect.
              The syntax of the command is incorrect.
              The syntax of the command is incorrect.
              The syntax of the command is incorrect.
              The syntax of the command is incorrect.
              The syntax of the command is incorrect.
              Can't call method "extraConfig" on an undefined value at .\vmwarevSphereSecurityHardeningReportCheck.pl line 2145.

               

               

              I get the same errors whether i run from vMA or powercli. Any help with this would be appreciated.