5 Replies Latest reply on Jul 17, 2015 6:55 AM by Bill Robinson

    Getting Error The extended attributes are inconsistent.

      Command returned non-zero exit code: 255 The extended attributes are inconsistent.

       

      set OS_VER=??OS_VER??

      if %OS_VER% ==  "2003" (reg add "HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Application" /v MaxSize /t REG_DWORD /d 33554432  /f 1>nul )
      if %OS_VER% !=  "2003" ( wevtutil sl Application /ms:33554432 1>nul )

       

       

      OS_VER difined as local property in pacakge

       

      Properties:

       

      Name: OS_VER

      Default Value : ??TARGET.OS_VERSION??

      Default value source: <local>

      Inherited From : <not inherited>

      Tyep : Sting

       

       

      Any suggestions please

       

       

      pl. mail to isaradhi24@gmail.com

        • 1. Re: Getting Error The extended attributes are inconsistent.

          You mentioned 'package', assuming blpackage, so the issue is happening with Deploy Job, correct?

          Have you checked the bldeploy-xxx.log to see how the code snippet is generated? Does it look as expected or wrong? Can you take that snippet and run from command line on the target? Do you get the same error? (if yes, then it's the code issue, not really blade)

          • 2. Re: Getting Error The extended attributes are inconsistent.

            Hi Lazar,

             

             

            I fond the solution, it is not Blade issue, issue with code.

             

            Code is not alowing to use Negation and only allows Affermative.

             

            The correct code syntax is ( "==" in 2nd line istead "!=")

             

            set OS_VER=??OS_VER??

            if %OS_VER% ==  "2003" (reg add "HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Application" /v MaxSize /t REG_DWORD /d 33554432  /f 1>nul )

             

            if %OS_VER% == "2008" or "2008 R2" ( wevtutil sl Application /ms:33554432 1>nul )

             

            Thank you

            • 3. Re: Getting Error The extended attributes are inconsistent.

              precisely my point

               

              actually, you can also do this to make it more elegant:

               

              if NOT %OS_VER% ==  "2003" ( wevtutil sl Application /ms:33554432 1>nul )

              1 of 1 people found this helpful
              • 4. Re: Getting Error The extended attributes are inconsistent.
                Atul Matkar

                i have below code in my bl package which gives error

                 

                set Tenant=??TARGET.CSM_TENANT??

                if %Tenant% == "J" ( echo "Japan" )

                if %Tenant% == "I"  (  echo "IND" )

                if  %Tenant% == "Atul" ( echo "Atul" )

                 

                job shows all green

                 

                but deploy logs shows

                07/16/15 19:33:39.581 INFO     bldeploy - [1][New External Cmd] Processing asset EXTERNALCMD

                07/16/15 19:33:39.581 INFO     bldeploy - [1][New External Cmd] Executing command: "set Tenant=Atul

                if %Tenant% == "J" ( echo "Japan" )

                if %Tenant% == "I"  (  echo "IND" )

                if  %Tenant% == "Atul" ( echo "Atul" )"

                07/16/15 19:33:39.581 DEBUG    bldeploy - [1][New External Cmd] chdir to PkgDir: 'C:\temp\stage\ce7c75d7e5fa3321b7966fde353600a8\'

                07/16/15 19:33:39.581 DEBUG    bldeploy - [1][New External Cmd] exeFullPath = (null), CmdLine = "C:\temp\stage\ce7c75d7e5fa3321b7966fde353600a8\bldeploycmd.1.bat", workingDir = NULL

                07/16/15 19:33:39.581 ERROR    bldeploy -  WAQWEB-1 2284 BladeLogicRSCD (Not_available): (Not_available): Failed to initialize com. Error code 262

                07/16/15 19:33:39.706 DEBUG    bldeploy - [1][New External Cmd] In RunProcess: exitCode = 0

                • 5. Re: Getting Error The extended attributes are inconsistent.
                  Bill Robinson

                  The job shows green because some where the exit code is 0:

                   

                   

                  07/16/15 19:33:39.706 DEBUG    bldeploy - [New External Cmd] In RunProcess: exitCode = 0