- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ora-01157
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 02:03 AM
тАО12-08-2003 02:03 AM
Re: ora-01157
As Graham wrote in the files reply, you basically have some files missing.
Judging by the error message :"cannot identify data file 1 - file not found"
you are missing at least the first file.
This is probably the system tablespace so Oracle lost its mind!
It woudl not surpricse me if it can not find any file, and just reports this.
You have not given any indication whether
the files are there.
Do you know where (which mountpoint) the database file are supposed to be?
Can you 'see' them with unix (ls -l !)?
Do you know the exact name of all your DB files? You probably should. My favourite way
to gether those is: ALTER DATABASE BACKUP CONTROLFILE TO ...
This allows me to readily re-create control files if I ever have to. But I'm afraid you can not do that now.
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:
DGL840LG
GL840LG
GL840LG
GL840LG
/dev/vg_gl/rpssys01
/dev/vg_gl/rpsrbs01
/dev/vg_gl/rpslog01
:
Perhaps your ALERT file will give clear hints where the files are supposed to be?
Or your backup scripts/logs ?!
Good luck finding and restoreing those database files!
Regards,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 02:50 AM
тАО12-08-2003 02:50 AM
Re: ora-01157
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 03:02 AM
тАО12-08-2003 03:02 AM
Re: ora-01157
1) Take a backup of current situation
2) clone the database :
cf this link
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=227394
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 03:07 AM
тАО12-08-2003 03:07 AM
Re: ora-01157
It's all documented in the SQL Reference Manual.
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.
However... this is not trivial! And you need that list of file names.... and the file themselfes
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.
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 03:14 AM
тАО12-08-2003 03:14 AM
Re: ora-01157
1. DO THE BACKUP OF THE DATABASE first (every file) - before you start any processes on this db.
2. Shutdown the database.
3. Remove the controlfiles (remember about BACKUP before!!!!!!)
4. Recreate it with:
STARTUP NOMOUNT;
CREATE CONTROLFILE SET DATABASE "{database name}" RESETLOGS {ARCHIVELOG}
MAXLOGFILES xxx
MAXLOGMEMBERS xxx
MAXDATAFILES xxx
MAXINSTANCES xxx
MAXLOGHISTORY xxx
LOGFILE
GROUP 1 (
'path to log1...',
'path to mirror 1...'
) SIZE xxxM
DATAFILE
'path to file1.dbf',
'path to file2.dbf' etc etc...
CHARACTER SET xxx;
then
alter database open resetlogs;
Be a really careful doing it...
I am not completly sure that the controlfiles are the problem
-Tomek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 03:19 AM
тАО12-08-2003 03:19 AM
Re: ora-01157
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "DTWPRD" NORESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 2
MAXDATAFILES 100
MAXINSTANCES 1
MAXLOGHISTORY 100
LOGFILE
GROUP 1 '' SIZE 1M,
GROUP 2 '' SIZE 1M,
GROUP 3 '' SIZE 1M
DATAFILE
'',
'',
'',
'',
'',
''
;
# Recovery is required if any of the datafiles are restored backups,
# or if the last shutdown was not normal or immediate.
RECOVER DATABASE
# Database can now be opened normally.
ALTER DATABASE OPEN;
I do not know more what it is necessary to make?.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 03:22 AM
тАО12-08-2003 03:22 AM
Re: ora-01157
That's why you have this result now.
You have to find the info elsewhere and rebuild the script from this info.
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 03:42 AM
тАО12-08-2003 03:42 AM
Re: ora-01157
- « Previous
-
- 1
- 2
- Next »