4 Replies Latest reply on Aug 3, 2017 6:59 AM by #MVivek

    Data Collection Scripts Error

    #MVivek

      Following all the process and steps according to the reference document given below. But encountered issues as follows -

       

      bash-3.2$

      bash-3.2$ ./DataCollect12_2_Apps.sh

      ./DataCollect12_2_Apps.sh: syntax error at line 24: `DATE=$' unexpected

      bash-3.2$

      bash-3.2$

       

      ---------------------------------------------------------------------------------------------------------------------------

       

      bash-3.2$

      bash-3.2$ ./DataCollect12_2_DB.sh

      ./DataCollect12_2_DB.sh: syntax error at line 25: `TE=$' unexpected

      bash-3.2$

      bash-3.2$

       

      Reference:

      Note SRDC - EBS 12.2 Install or Upgrade Data Collection ( Doc ID 2062531.1 )

        • 1. Re: Data Collection Scripts Error
          mdtaylor

          Hi Vivek,

           

          Are you running this as applmgr in the 12.2 run environment?  It prompted me for apps username and apps password, then started collecting data.

           

          Regards,

          Michael

          1 person found this helpful
          • 2. Re: Data Collection Scripts Error
            #MVivek

            Hi Michael,

             

            Yes, I am running as applmgr in the 12.2.3 run environment.

            and as a database user for DB.sh but there also facing issue.

             

            Thanks

            Vivek

            • 3. Re: Data Collection Scripts Error
              mdtaylor

              On Solaris, try sh script_names.sh.

              • 4. Re: Data Collection Scripts Error
                #MVivek

                Tried. but same error encountered.

                 

                FYI..

                 

                bash-3.2$ id

                uid=1004(oraprod2) gid=100(dba)

                bash-3.2$

                bash-3.2$ cd /export/home/oraprod2/ETCC/DataCollect

                bash-3.2$

                bash-3.2$ pwd

                /export/home/oraprod2/ETCC/DataCollect

                bash-3.2$

                bash-3.2$ ls -ltr

                total 16

                -rw-r--r--   1 oraprod2 dba          583 Nov  5  2015 collect.sql

                -rwxr-xr-x   1 oraprod2 dba         1848 Nov  5  2015 DataCollect12_2_DB.sh

                -rw-r-----   1 oraprod2 dba         1512 Aug  2 19:16 DataCollect12_2_Apps.zip

                -rw-r-----   1 oraprod2 dba         1502 Aug  2 19:16 DataCollect12_2_DB.zip

                bash-3.2$

                bash-3.2$

                bash-3.2$ sh DataCollect12_2_DB.sh

                DataCollect12_2_DB.sh: syntax error at line 25: `TE=$' unexpected

                bash-3.2$

                bash-3.2$

                bash-3.2$

                 

                Thanks

                Vivek