<?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>topic Re: ora-01157 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138496#M800271</link>
    <description>Well,&lt;BR /&gt;&lt;BR /&gt;try your controlfiles :&lt;BR /&gt;select * from v$controlfile;&lt;BR /&gt;&lt;BR /&gt;This should return the control files and status.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
    <pubDate>Mon, 08 Dec 2003 08:55:59 GMT</pubDate>
    <dc:creator>Jean-Luc Oudart</dc:creator>
    <dc:date>2003-12-08T08:55:59Z</dc:date>
    <item>
      <title>ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138489#M800264</link>
      <description>hello, &lt;BR /&gt;I have a base of data 7.3.4 installed on HP 10, when I have to stop the database and by wanting the restart, I receive the error message according to:&lt;BR /&gt;&lt;BR /&gt;01157, 00000, "cannot identify data file %s - file not found"&lt;BR /&gt;// *Cause:  The background process was not able to find one of the data files.&lt;BR /&gt;//         The database will prohibit access to this file but other files will&lt;BR /&gt;//         be unaffected. However the first instance to open the database will&lt;BR /&gt;//         need to access all online data files. Accompanying error from the&lt;BR /&gt;//         operating system describes why file was not found.&lt;BR /&gt;// *Action: Have operating system make file available to database. Then either&lt;BR /&gt;//         open the database or do ALTER SYSTEM CHECK DATAFILES.&lt;BR /&gt;&lt;BR /&gt; how to make for to resolve it?. &lt;BR /&gt;thank you for your assistance.  &lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2003 07:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138489#M800264</guid>
      <dc:creator>dngaya</dc:creator>
      <dc:date>2003-12-08T07:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138490#M800265</link>
      <description>The answer is in the error message. One of the data files is missing, or the permissions don't allow oracle to read/write it.&lt;BR /&gt;&lt;BR /&gt;You need to restore the missing data file from backup. If you don't have a backup you are in trouble, this is a very old version of Oracle and you won't get very good support.&lt;BR /&gt;&lt;BR /&gt;I think you can see the data files by running the following query from svrmgrl (connect internal)&lt;BR /&gt;&lt;BR /&gt;SELECT FILE_NAME, STATUS&lt;BR /&gt;FROM DBA_DATA_FILES ;&lt;BR /&gt;&lt;BR /&gt;Check each one is there and with correct permissions.&lt;BR /&gt;&lt;BR /&gt;-- Graham</description>
      <pubDate>Mon, 08 Dec 2003 07:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138490#M800265</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-12-08T07:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138491#M800266</link>
      <description>hello,&lt;BR /&gt;i cannot to restart my database and i cannot to do this command:&lt;BR /&gt;SELECT FILE_NAME, STATUS&lt;BR /&gt;FROM DBA_DATA_FILES ;&lt;BR /&gt;but i can to start the database until the mount step and when i do the command alter database oppen; i receive the oracle error follow:&lt;BR /&gt;&lt;BR /&gt;ORA-01157: cannot identify data file 1 - file not found&lt;BR /&gt;ORA-01110: data file 1: ''&lt;BR /&gt;thank for your assistance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2003 08:26:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138491#M800266</guid>
      <dc:creator>dngaya</dc:creator>
      <dc:date>2003-12-08T08:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138492#M800267</link>
      <description>If you can startup mount the database,&lt;BR /&gt;&lt;BR /&gt;list yuor datafiles with :&lt;BR /&gt;&lt;BR /&gt;select * from v$datafile;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Mon, 08 Dec 2003 08:38:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138492#M800267</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-12-08T08:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138493#M800268</link>
      <description>Have you possibly got a filesystem that has been unmounted or failed to mount?&lt;BR /&gt;&lt;BR /&gt;If you can't start the database, you can extract filenames from one of the Oracle controlfiles. Try the following:-&lt;BR /&gt;&lt;BR /&gt;First find the name of a controlfile...&lt;BR /&gt;cd $ORACLE_HOME/dbs&lt;BR /&gt;more init&lt;SID&gt;.ora&lt;BR /&gt;&lt;BR /&gt;Look for a line like&lt;BR /&gt;control_files = (/xxx/yyy/zzzz...&lt;BR /&gt;&lt;BR /&gt;Pick one of the controlfiles and do:&lt;BR /&gt;&lt;BR /&gt;strings &lt;CONTROLFILE&gt; | more&lt;BR /&gt;&lt;BR /&gt;You should be able to identify the names of your datafiles.&lt;BR /&gt;&lt;BR /&gt;You then need to find out why they aren't available and either make them so or recover from a backup.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;/CONTROLFILE&gt;&lt;/SID&gt;</description>
      <pubDate>Mon, 08 Dec 2003 08:40:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138493#M800268</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2003-12-08T08:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138494#M800269</link>
      <description>hello,&lt;BR /&gt;when i do the command select * from v$datafile in mount step, i receive o rows.</description>
      <pubDate>Mon, 08 Dec 2003 08:44:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138494#M800269</guid>
      <dc:creator>dngaya</dc:creator>
      <dc:date>2003-12-08T08:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138495#M800270</link>
      <description>hello john palmer,&lt;BR /&gt;when i try to do your command follow:&lt;BR /&gt;strings '/data/ora_bd.DTWPRD/CTL/dtw_ctl_001.dbf'|more&lt;BR /&gt;i receive the result follow:&lt;BR /&gt;DTWPRD:/home/dbaora/app/oracle/product/7.3.4&lt;BR /&gt;cDTWPRD&lt;BR /&gt;cDTWPRD&lt;BR /&gt;DTWPRD&lt;BR /&gt;DTWPRD&lt;BR /&gt; what is mean?.</description>
      <pubDate>Mon, 08 Dec 2003 08:55:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138495#M800270</guid>
      <dc:creator>dngaya</dc:creator>
      <dc:date>2003-12-08T08:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138496#M800271</link>
      <description>Well,&lt;BR /&gt;&lt;BR /&gt;try your controlfiles :&lt;BR /&gt;select * from v$controlfile;&lt;BR /&gt;&lt;BR /&gt;This should return the control files and status.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Mon, 08 Dec 2003 08:55:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138496#M800271</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-12-08T08:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138497#M800272</link>
      <description>hello, &lt;BR /&gt;when i do the command line follow:&lt;BR /&gt;select * from v$controlfile;&lt;BR /&gt;i received the result abov:&lt;BR /&gt;STATUS  NAME                                                                            &lt;BR /&gt;------- --------------------------------------------------------------------------------&lt;BR /&gt;        /data/ora_bd.DTWPRD/CTL/dtw_ctl_001.dbf                                         &lt;BR /&gt;        /data/ora_bd.DTWPRD/CTL/dtw_ctl_002.dbf                                         &lt;BR /&gt;2 rows selected.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2003 09:00:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138497#M800272</guid>
      <dc:creator>dngaya</dc:creator>
      <dc:date>2003-12-08T09:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138498#M800273</link>
      <description>I am afraid something is wrong with you control files: you can try to recreate it, but you have to know the location of every single datafile in the database.&lt;BR /&gt;&lt;BR /&gt;-Tomek</description>
      <pubDate>Mon, 08 Dec 2003 09:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138498#M800273</guid>
      <dc:creator>Tomek Gryszkiewicz</dc:creator>
      <dc:date>2003-12-08T09:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138499#M800274</link>
      <description>dngaya,&lt;BR /&gt;&lt;BR /&gt;As Graham wrote in the files reply, you basically have some files missing. &lt;BR /&gt;&lt;BR /&gt;Judging by the error message :"cannot identify data file 1 - file not found"&lt;BR /&gt;you are missing at least the first file. &lt;BR /&gt;This is probably the system tablespace so Oracle lost its mind!&lt;BR /&gt;It woudl not surpricse me if it can not find any file, and just reports this.&lt;BR /&gt;&lt;BR /&gt;You have not given any indication whether &lt;BR /&gt;the files are there.&lt;BR /&gt;&lt;BR /&gt;Do you know where (which mountpoint) the database file are supposed to be?&lt;BR /&gt;Can you 'see' them with unix (ls -l   !)?&lt;BR /&gt;&lt;BR /&gt;Do you know the exact name of all your DB files? You probably should. My favourite way&lt;BR /&gt;to gether those is: ALTER DATABASE BACKUP CONTROLFILE TO ...&lt;BR /&gt;This allows me to readily re-create control files if I ever have to. But I'm afraid you can not do that now.&lt;BR /&gt;&lt;BR /&gt;The other reply asking for string on the control file was there as is is supposed to show a list of files. For example on a box here I get:&lt;BR /&gt;DGL840LG&lt;BR /&gt;GL840LG&lt;BR /&gt;GL840LG&lt;BR /&gt;GL840LG&lt;BR /&gt;/dev/vg_gl/rpssys01&lt;BR /&gt;/dev/vg_gl/rpsrbs01&lt;BR /&gt;/dev/vg_gl/rpslog01&lt;BR /&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Perhaps your  ALERT file will give clear hints where the files are supposed to be?&lt;BR /&gt;Or your backup scripts/logs ?!&lt;BR /&gt;&lt;BR /&gt;Good luck finding and restoreing those database files!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2003 10:03:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138499#M800274</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2003-12-08T10:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138500#M800275</link>
      <description>how can i create a controlfile file ?.</description>
      <pubDate>Mon, 08 Dec 2003 10:50:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138500#M800275</guid>
      <dc:creator>dngaya</dc:creator>
      <dc:date>2003-12-08T10:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138501#M800276</link>
      <description>You need to clone the database on itself :&lt;BR /&gt;1) Take a backup of current situation&lt;BR /&gt;2) clone the database :&lt;BR /&gt;cf this link&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=227394" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=227394&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Mon, 08 Dec 2003 11:02:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138501#M800276</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-12-08T11:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138502#M800277</link>
      <description>Well, you 'simply' tell Oracle "CREATE CONTROLFILE..."&lt;BR /&gt;&lt;BR /&gt;It's all documented in the SQL Reference Manual.&lt;BR /&gt;&lt;BR /&gt;But the more important documentation is in the "User-Managed Backup and Recovery Guide" or whatever that book was called for the 7.3 release. &lt;BR /&gt;&lt;BR /&gt;However... this is not trivial! And you need that list of file names.... and the file themselfes&lt;BR /&gt;&lt;BR /&gt;Please explain to us (and yourself) what you have done sofar to understand what files are involved, where the are, what happended to them adn so on. Just a control file will not help if you don't have the DB files and unless I have mis-read none of your rpelies suggest you have useable  datafiles from either the live systems or from a backup.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2003 11:07:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138502#M800277</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2003-12-08T11:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138503#M800278</link>
      <description>If you lost your control files, you can restore it:&lt;BR /&gt;1. DO THE BACKUP OF THE DATABASE first (every file) - before you start any processes on this db.&lt;BR /&gt;2. Shutdown the database.&lt;BR /&gt;3. Remove the controlfiles (remember about BACKUP before!!!!!!)&lt;BR /&gt;4. Recreate it with:&lt;BR /&gt;STARTUP NOMOUNT;&lt;BR /&gt;&lt;BR /&gt;CREATE CONTROLFILE SET DATABASE "{database name}" RESETLOGS {ARCHIVELOG}&lt;BR /&gt;MAXLOGFILES xxx&lt;BR /&gt;MAXLOGMEMBERS xxx&lt;BR /&gt;MAXDATAFILES xxx&lt;BR /&gt;MAXINSTANCES xxx&lt;BR /&gt;MAXLOGHISTORY xxx&lt;BR /&gt;LOGFILE&lt;BR /&gt;  GROUP 1 (&lt;BR /&gt;    'path to log1...',&lt;BR /&gt;    'path to mirror 1...'&lt;BR /&gt;  ) SIZE xxxM&lt;BR /&gt;DATAFILE&lt;BR /&gt; 'path to file1.dbf',&lt;BR /&gt; 'path to file2.dbf' etc etc...&lt;BR /&gt;CHARACTER SET xxx;&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;alter database open resetlogs;&lt;BR /&gt;&lt;BR /&gt;Be a really careful doing it... &lt;BR /&gt;I am not completly sure that the controlfiles are the problem&lt;BR /&gt;&lt;BR /&gt;-Tomek&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2003 11:14:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138503#M800278</guid>
      <dc:creator>Tomek Gryszkiewicz</dc:creator>
      <dc:date>2003-12-08T11:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138504#M800279</link>
      <description>when I launch the order alter database backup controlfile to trace, I receive the following result where there is  nothing in the files log and the data files not  yet, physically the files exists :&lt;BR /&gt;STARTUP NOMOUNT&lt;BR /&gt;CREATE CONTROLFILE REUSE DATABASE "DTWPRD" NORESETLOGS NOARCHIVELOG&lt;BR /&gt;    MAXLOGFILES 16&lt;BR /&gt;    MAXLOGMEMBERS 2&lt;BR /&gt;    MAXDATAFILES 100&lt;BR /&gt;    MAXINSTANCES 1&lt;BR /&gt;    MAXLOGHISTORY 100&lt;BR /&gt;LOGFILE&lt;BR /&gt;  GROUP 1 ''  SIZE 1M,&lt;BR /&gt;  GROUP 2 ''  SIZE 1M,&lt;BR /&gt;  GROUP 3 ''  SIZE 1M&lt;BR /&gt;DATAFILE&lt;BR /&gt;  '',&lt;BR /&gt;  '',&lt;BR /&gt;  '',&lt;BR /&gt;  '',&lt;BR /&gt;  '',&lt;BR /&gt;  ''&lt;BR /&gt;;&lt;BR /&gt;# Recovery is required if any of the datafiles are restored backups,&lt;BR /&gt;# or if the last shutdown was not normal or immediate.&lt;BR /&gt;RECOVER DATABASE&lt;BR /&gt;# Database can now be opened normally.&lt;BR /&gt;ALTER DATABASE OPEN;&lt;BR /&gt;&lt;BR /&gt;I do not know more what it is necessary to make?.  &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2003 11:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138504#M800279</guid>
      <dc:creator>dngaya</dc:creator>
      <dc:date>2003-12-08T11:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138505#M800280</link>
      <description>When you ran select * from v$datafile you did not get any row back.&lt;BR /&gt;That's why you have this result now.&lt;BR /&gt;&lt;BR /&gt;You have to find the info elsewhere and rebuild the script from this info.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Mon, 08 Dec 2003 11:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138505#M800280</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-12-08T11:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: ora-01157</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138506#M800281</link>
      <description>the results above show well that there are no files of log and no data file appears. indeed, I launched the order alter database at the mount step.</description>
      <pubDate>Mon, 08 Dec 2003 11:42:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ora-01157/m-p/3138506#M800281</guid>
      <dc:creator>dngaya</dc:creator>
      <dc:date>2003-12-08T11:42:23Z</dc:date>
    </item>
  </channel>
</rss>

