1 2 Previous Next 26 Replies Latest reply on Oct 24, 2014 11:35 AM by richard mcleod

    restart BLC Agent in Scriptwith error

    Karim Brown

      Hi,

      BLC Version 8.3

      2 Appserver (Red hat)

      Target

       

      we wrote a script that do some To Dos Like Install software, read/write registry, Make/delete Directories...

      the script works bad with registry keys ao we decided to restart the Agent bevor the script works with registry keys.

      the script looks like:

       

      #

      # Script To DO1

      #

      Code1

      code2

      .........

      .........

      #

      # Restart Agent Bevor working with Registry Keys

      #

      if...

      nexec  $Server agentctl -b restart

      else

      ...

      fi

       

      #

      # Rest To DO2

      Code3

      code4

      .........

      .........

      #

       

      So, the Script works fine. He runs To Do1, restarts the Agent and do TO DO2 but with the eror

      //@/opt/bmc/BladeLogic/8.1/NSH/tmp/application_server/scripts/job__a535ecd2-cf7c-4c10-881d-333550654168/script_DBKey-SJobKeyImpl-2086129-2__aafb0637-4788-4ca8-a181-5ec035a43917.2094120.1_CopySoftwares.txt:cd:537: encryption configuration error: //TargetServer

       

      Has any one an idee how can I resolve the encryption configuration error?

        1 2 Previous Next