3 Replies Latest reply on Nov 11, 2014 8:46 AM by Bill Robinson

    Agent Upgrade Linux File Deploy job failing

      Hi,

       

      I am doing agent upgrade for Linux servers hence i have created file deploy job for same.

       

      Agent is running with root access in server.

       

      But when i execute the job getting below error,

       

      Error11-Nov-2014 13:41:00Error running master script on server cgli207a.eu.unilever.com
      Info11-Nov-2014 13:41:00Exit Code 2
      Info11-Nov-2014 13:41:00This account is currently not available.
      Info11-Nov-2014 13:41:00+ /opt/bmc/job_40373.6_postcmd.sh
      Error11-Nov-2014 13:40:59chmod: Cannot access file /opt/bmc/job_40373.6_postcmd.sh: No such file or directory
      Error11-Nov-2014 13:40:59chmod: Cannot access file /opt/bmc/job_40373.6_postcmd.bat: No such file or directory
      Error11-Nov-2014 13:40:59cp: Unable to create file /opt/bmc/job_40373.6_postcmd.sh: Permission denied
      Error11-Nov-2014 13:40:59cp: Unable to create file /opt/bmc/job_40373.6_postcmd.bat: Permission denied
      Error11-Nov-2014 13:40:58cp: Unable to create file /opt/bmc/RSCD85-SP1-LIN64.sh: Permission denied

       

      I am not able to understand what is this error.

       

      Thanks,

      Surya.

        • 1. Re: Agent Upgrade Linux File Deploy job failing
          Bill Robinson

          Look in the rscd log on the target, what local account are these requests being mapped to ?

          • 2. Re: Agent Upgrade Linux File Deploy job failing

            Hi,

             

            Thanks for quick response.

             

            I have opened RSCD log but ,i didn't find any user details in log.

             

            11/11/14 13:40:55.213 INFO     rscd -  cgli207a.eu.unilever.com 13935 -1/-1 (Not_available): (Not_available): FIPS already enabled

            11/11/14 13:40:55.233 INFO     rscd -  130.24.25.186 13935 99/99 (BLAdmins:Suryanarayana.Reddy): nsh: /cygdrive/E/Program Files/BMC Software/BladeLogic/NSH/bin/nsh -c cd //cgli207a.eu.unilever.com/ && //@'/E/Program Files/BMC Software/BladeLogic/NSH/tmp/application_server/2f441557-4df9-4692-80b8-3941448fc871/script_0800ca6f-0994-425c-b293-6a29a07056cf'

            11/11/14 13:40:57.673 INFO     rscd -  cgli207a.eu.unilever.com 13936 -1/-1 (Not_available): (Not_available): FIPS already enabled

            11/11/14 13:40:57.694 INFO     rscd -  130.24.25.186 13936 99/99 (BLAdmins:Suryanarayana.Reddy): nsh: /cygdrive/E/Program Files/BMC Software/BladeLogic/NSH/bin/nsh -~ //cgli207a.eu.unilever.com/ //@/E/Program Files/BMC Software/BladeLogic/NSH/tmp/application_server/2f441557-4df9-4692-80b8-3941448fc871/script_0800ca6f-0994-425c-b293-6a29a07056cf

            11/11/14 13:40:57.812 INFO     rscd -  cgli207a.eu.unilever.com 13937 -1/-1 (Not_available): (Not_available): FIPS already enabled

            11/11/14 13:40:57.832 INFO     rscd -  130.24.25.186 13937 99/99 (BLAdmins:Suryanarayana.Reddy): nsh: /cygdrive/E/Program Files/BMC Software/BladeLogic/NSH/bin/nsh -~ //cgli207a.eu.unilever.com/ //@/E/Program Files/BMC Software/BladeLogic/NSH/tmp/application_server/2f441557-4df9-4692-80b8-3941448fc871/script_0800ca6f-0994-425c-b293-6a29a07056cf

            11/11/14 13:40:58.091 INFO     rscd -  cgli207a.eu.unilever.com 13938 -1/-1 (Not_available): (Not_available): FIPS already enabled

            11/11/14 13:40:58.111 INFO     rscd -  130.24.25.186 13938 99/99 (BLAdmins:Suryanarayana.Reddy): mkdir: mkdir -D //cgli207a.eu.unilever.com/ -p /opt/bmc

            11/11/14 13:40:58.343 INFO     rscd -  cgli207a.eu.unilever.com 13939 -1/-1 (Not_available): (Not_available): FIPS already enabled

            11/11/14 13:40:58.372 INFO     rscd -  130.24.25.186 13939 99/99 (BLAdmins:Suryanarayana.Reddy): cp: cp -D //cgli207a.eu.unilever.com/ -frvpP //cgtsapp23788/E/RSCD/RSCD85-SP1-LIN64.sh /opt/bmc/RSCD85-SP1-LIN64.sh

            11/11/14 13:40:58.513 INFO1    rscd -  130.24.25.186 13939 99/99 (BLAdmins:Suryanarayana.Reddy): cp: > 01011 Copy file //cgtsapp23788/E/RSCD/RSCD85-SP1-LIN64.sh to //cgli207a.eu.unilever.com/opt/bmc/RSCD85-SP1-LIN64.sh

            11/11/14 13:40:58.779 INFO     rscd -  cgli207a.eu.unilever.com 13940 -1/-1 (Not_available): (Not_available): FIPS already enabled

            11/11/14 13:40:58.799 INFO     rscd -  130.24.25.186 13940 99/99 (BLAdmins:Suryanarayana.Reddy): cp: cp -D //cgli207a.eu.unilever.com/ -t //@/E/Program Files/BMC Software/BladeLogic/NSH/tmp/application_server/2f441557-4df9-4692-80b8-3941448fc871/job_40373.6_postcmd.bat /opt/bmc

            11/11/14 13:40:58.803 INFO1    rscd -  130.24.25.186 13940 99/99 (BLAdmins:Suryanarayana.Reddy): cp: > 01011 Copy file //@/E/Program Files/BMC Software/BladeLogic/NSH/tmp/application_server/2f441557-4df9-4692-80b8-3941448fc871/job_40373.6_postcmd.bat to //cgli207a.eu.unilever.com/opt/bmc/job_40373.6_postcmd.bat

            11/11/14 13:40:59.031 INFO     rscd -  cgli207a.eu.unilever.com 13941 -1/-1 (Not_available): (Not_available): FIPS already enabled

            11/11/14 13:40:59.053 INFO     rscd -  130.24.25.186 13941 99/99 (BLAdmins:Suryanarayana.Reddy): cp: cp -D //cgli207a.eu.unilever.com/ -t //@/E/Program Files/BMC Software/BladeLogic/NSH/tmp/application_server/2f441557-4df9-4692-80b8-3941448fc871/job_40373.6_postcmd.sh /opt/bmc

            11/11/14 13:40:59.061 INFO1    rscd -  130.24.25.186 13941 99/99 (BLAdmins:Suryanarayana.Reddy): cp: > 01011 Copy file //@/E/Program Files/BMC Software/BladeLogic/NSH/tmp/application_server/2f441557-4df9-4692-80b8-3941448fc871/job_40373.6_postcmd.sh to //cgli207a.eu.unilever.com/opt/bmc/job_40373.6_postcmd.sh

            11/11/14 13:40:59.305 INFO     rscd -  cgli207a.eu.unilever.com 13942 -1/-1 (Not_available): (Not_available): FIPS already enabled

            11/11/14 13:40:59.331 INFO     rscd -  130.24.25.186 13942 99/99 (BLAdmins:Suryanarayana.Reddy): chmod: chmod -D //cgli207a.eu.unilever.com/ +x /opt/bmc/job_40373.6_postcmd.bat

            11/11/14 13:40:59.532 INFO     rscd -  cgli207a.eu.unilever.com 13943 -1/-1 (Not_available): (Not_available): FIPS already enabled

            11/11/14 13:40:59.554 INFO     rscd -  130.24.25.186 13943 99/99 (BLAdmins:Suryanarayana.Reddy): chmod: chmod -D //cgli207a.eu.unilever.com/ +x /opt/bmc/job_40373.6_postcmd.sh

            11/11/14 13:40:59.802 INFO     rscd -  cgli207a.eu.unilever.com 13944 -1/-1 (Not_available): (Not_available): FIPS already enabled

            11/11/14 13:40:59.823 INFO     rscd -  130.24.25.186 13944 99/99 (BLAdmins:Suryanarayana.Reddy): uname: uname -D //cgli207a.eu.unilever.com/ -s

            11/11/14 13:41:00.048 INFO     rscd -  cgli207a.eu.unilever.com 13945 -1/-1 (Not_available): (Not_available): FIPS already enabled

            11/11/14 13:41:00.069 INFO     rscd -  130.24.25.186 13945 99/99 (BLAdmins:Suryanarayana.Reddy): nexec: nexec -D //cgli207a.eu.unilever.com/ -r -e /opt/bmc/job_40373.6_postcmd.sh

            11/11/14 13:41:00.074 INFO1    rscd -  130.24.25.186 13945 99/99 (BLAdmins:Suryanarayana.Reddy): nexec: > 01010 Execute remote command: /opt/bmc/job_40373.6_postcmd.sh

            11/11/14 13:41:00.284 INFO     rscd -  cgli207a.eu.unilever.com 13947 -1/-1 (Not_available): (Not_available): FIPS already enabled

            11/11/14 13:41:00.304 INFO     rscd -  130.24.25.186 13947 99/99 (BLAdmins:Suryanarayana.Reddy): rm: rm -D //cgli207a.eu.unilever.com/ -f /opt/bmc/job_40373.6_postcmd.bat

            11/11/14 13:41:00.502 INFO     rscd -  cgli207a.eu.unilever.com 13948 -1/-1 (Not_available): (Not_available): FIPS already enabled

            11/11/14 13:41:00.522 INFO     rscd -  130.24.25.186 13948 99/99 (BLAdmins:Suryanarayana.Reddy): rm: rm -D //cgli207a.eu.unilever.com/ -f /opt/bmc/job_40373.6_postcmd.sh

             

             

             

            Thanks,

            Surya

            • 3. Re: Agent Upgrade Linux File Deploy job failing
              Bill Robinson
              11/11/14 13:40:58.513 INFO1rscd -  130.24.25.186 13939 99/99 (BLAdmins:Suryanarayana.Reddy): cp: > 01011 Copy file //cgtsapp23788/E/RSCD/RSCD85-SP1-LIN64.sh to //cgli207a.eu.unilever.com/opt/bmc/RSCD85-SP1-LIN64.sh

               

               

              you are being mapped to uid 99 which is probably 'nobody' so check the users.local and users file to make sure your role:user are mapped correctly.