<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: DB jobs getting failed after system refresh in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/db-jobs-getting-failed-after-system-refresh/qaa-p/5450761#M2031804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from dba_temp_files; . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are getting the same eror, seems the temp file is corrupted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply drop the temp tablespace, create  a new one &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE TEMPORARY TABLESPACE temp &lt;/P&gt;&lt;P&gt;      TEMPFILE '/oradata/mytemp_01.tmp' SIZE &amp;lt;&amp;gt; M&lt;/P&gt;&lt;P&gt;      EXTENT MANAGEMENT LOCAL UNIFORM SIZE 16M;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then make it a database default &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alter 'database default temporary tablespace PSAPTEMP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then again check select * from dba_temp_files. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let us know the results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Apr 2009 04:46:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-12T04:46:16Z</dc:date>
    <item>
      <title>DB jobs getting failed after system refresh</title>
      <link>https://community.sap.com/t5/technology-q-a/db-jobs-getting-failed-after-system-refresh/qaq-p/5450758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear DBA Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have did the system refresh from PRD to QAS. Everything is going smooth. SAP also get started. After that I found that DB jobs are getting failed. For that I have run the below commands from OS level. The problem was with temp data file. So I have run the below commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our OS is AIX and DB is oracle 10g and ERP is ECC6.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the commands I have run&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ora&amp;lt;sid&amp;gt;&lt;/P&gt;&lt;P&gt;cd /oracle/SID/sapdata2/temp_1&lt;/P&gt;&lt;P&gt;orasid &amp;gt; touch temp.data1&lt;/P&gt;&lt;P&gt;orasid &amp;gt; dd if=/dev/zero of=temp.data1 bs=8k count=262144&lt;/P&gt;&lt;P&gt;262144+0 records in.&lt;/P&gt;&lt;P&gt;262144+0 records out.&lt;/P&gt;&lt;P&gt;orasid &amp;gt; sqlplus "/as sysdba"&lt;/P&gt;&lt;P&gt;SQL &amp;gt; ALTER TABLESPACE PSAPTEMP ADD TEMPFILE '/oracle/SID/sapdata2/temp_1/temp.data1' SIZE 2048M REUSE AUTOEXTEND OFF;&lt;/P&gt;&lt;P&gt;tablespace altered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above command, I have run. After that I am unable to run any of the DB jobs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below error is coming.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;BR0301E SQL error -1187 at location stats_tab_collect-20, SQL statement:                                                                      &lt;/P&gt;&lt;P&gt;'BEGIN DBMS_STATS.GATHER_TABLE_STATS (OWNNAME =&amp;gt; '"SAPSR3"', TABNAME =&amp;gt; '"TBTCS"', ESTIMATE_PERCENT =&amp;gt; NULL, METHOD_OPT =&amp;gt; 'FOR ALL COLUMNS SIZE 1', DEGREE =&amp;gt; NULL, CASCADE =&amp;gt; TRUE, NO_INVALIDATE =&amp;gt; FALSE); END;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORA-01187: cannot read from file 255 because it failed verification tests                                                                     &lt;/P&gt;&lt;P&gt;ORA-01110: data file 255: '/oracle/BQS/sapdata2/temp_1/temp.data1'                                                                            &lt;/P&gt;&lt;P&gt;ORA-06512: at "SYS.DBMS_STATS", line 13159                                                                                &lt;/P&gt;&lt;P&gt;ORA-06512: at "SYS.DBMS_STATS", line 13179                                                                                &lt;/P&gt;&lt;P&gt;ORA-06512: at line 1                                                                                &lt;/P&gt;&lt;P&gt;BR0886E Checking/collecting statistics failed for table SAPSR3.TBTCS                                                                          &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I run check &amp;amp; verification the Job from BRTools&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I am getting same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR0801I BRCONNECT 7.00 (24)&lt;/P&gt;&lt;P&gt;BR0477I Oracle pfile /oracle/BQS/102_64/dbs/initBQS.ora created from spfile /ora&lt;/P&gt;&lt;P&gt;cle/BQS/102_64/dbs/spfileBQS.ora&lt;/P&gt;&lt;P&gt;BR0805I Start of BRCONNECT processing: ceahrwzo.chk 2009-04-08 13.07.44&lt;/P&gt;&lt;P&gt;BR0484I BRCONNECT log file: /oracle/BQS/sapcheck/ceahrwzo.chk&lt;/P&gt;&lt;P&gt;BR0280I BRCONNECT time stamp: 2009-04-08 13.07.44&lt;/P&gt;&lt;P&gt;BR0301E SQL error -1187 at location BrTspListGet-15, SQL statement:&lt;/P&gt;&lt;P&gt;'OPEN curs_36 CURSOR FOR'&lt;/P&gt;&lt;P&gt;'SELECT TABLESPACE_NAME, BYTES, 0 FROM DBA_FREE_SPACE UNION ALL SELECT TABLESPAC&lt;/P&gt;&lt;P&gt;E_NAME, BYTES_FREE + BYTES_USED, 0 FROM V$TEMP_SPACE_HEADER UNION ALL SELECT TAB&lt;/P&gt;&lt;P&gt;LESPACE_NAME, NVL(BYTES_USED, 0) * -1, 0 FROM GV$TEMP_EXTENT_POOL UNION AL SELEC&lt;/P&gt;&lt;P&gt;T TABLESPACE_NAME, BYTES, 1 FROM DBA_UNDO_EXTENTS WHERE STATUS IN ('EXPIRED', 'U&lt;/P&gt;&lt;P&gt;NEXPIRED') ORDER BY 1'&lt;/P&gt;&lt;P&gt;ORA-01187: cannot read from file 255 because it failed verification tests&lt;/P&gt;&lt;P&gt;ORA-01110: data file 255: '/oracle/BQS/sapdata2/temp_1/temp.data1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR0806I End of BRCONNECT processing: ceahrwzo.chk 2009-04-08 13.07.44&lt;/P&gt;&lt;P&gt;BR0280I BRCONNECT time stamp: 2009-04-08 13.07.44&lt;/P&gt;&lt;P&gt;BR0804I BRCONNECT terminated with errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;###############################################################################&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR0292I Execution of BRCONNECT finished with return code 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone, please suggest how to overcome this issue ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Haseem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2009 08:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/db-jobs-getting-failed-after-system-refresh/qaq-p/5450758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-08T08:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: DB jobs getting failed after system refresh</title>
      <link>https://community.sap.com/t5/technology-q-a/db-jobs-getting-failed-after-system-refresh/qaa-p/5450759#M2031802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Haseem,&lt;/P&gt;&lt;P&gt;&amp;gt; ORA-01187: cannot read from file 255 because it failed verification tests&lt;/P&gt;&lt;P&gt;&amp;gt; ORA-01110: data file 255: '/oracle/BQS/sapdata2/temp_1/temp.data1'&lt;/P&gt;&lt;P&gt;I think the temporary file does not exist correctly on OS level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please delete all temporary files in your database and add one the "normal" way (without dd). I know that you are doing this, because of the sparse files.. but just to verify.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please post the alert.log?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2009 08:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/db-jobs-getting-failed-after-system-refresh/qaa-p/5450759#M2031802</guid>
      <dc:creator>stefan_koehler</dc:creator>
      <dc:date>2009-04-08T08:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: DB jobs getting failed after system refresh</title>
      <link>https://community.sap.com/t5/technology-q-a/db-jobs-getting-failed-after-system-refresh/qaa-p/5450760#M2031803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems temp datafiles are not available for the DB. Please check below links it may helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.dba-oracle.com/t_ora_01187_cannot_read_from_file_failed_verification_tests.htm" target="test_blank"&gt;http://www.dba-oracle.com/t_ora_01187_cannot_read_from_file_failed_verification_tests.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.dbasupport.com/forums/archive/index.php/t-18195.html" target="test_blank"&gt;http://www.dbasupport.com/forums/archive/index.php/t-18195.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2009 08:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/db-jobs-getting-failed-after-system-refresh/qaa-p/5450760#M2031803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-08T08:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: DB jobs getting failed after system refresh</title>
      <link>https://community.sap.com/t5/technology-q-a/db-jobs-getting-failed-after-system-refresh/qaa-p/5450761#M2031804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do a &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from dba_temp_files; . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are getting the same eror, seems the temp file is corrupted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply drop the temp tablespace, create  a new one &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE TEMPORARY TABLESPACE temp &lt;/P&gt;&lt;P&gt;      TEMPFILE '/oradata/mytemp_01.tmp' SIZE &amp;lt;&amp;gt; M&lt;/P&gt;&lt;P&gt;      EXTENT MANAGEMENT LOCAL UNIFORM SIZE 16M;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then make it a database default &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alter 'database default temporary tablespace PSAPTEMP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then again check select * from dba_temp_files. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let us know the results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2009 04:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/db-jobs-getting-failed-after-system-refresh/qaa-p/5450761#M2031804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-12T04:46:16Z</dc:date>
    </item>
  </channel>
</rss>

