If alert log is deleted, how to restore it?
Hi,
I want to know if Alert log is deleted, how to restore it?
RMAN does not backup the alertlog, only an OS filesystem backup does this. In 11g and higher there are 2 versions of the alertlog, the well-known textfile and now additionally a file in xml format. IF only the text version is lost, command line utility adrci can still access the xml file:
http://docs.oracle.com/cd/E11882_01/server.112/e22490/adrci.htm#BGBBBBEA
Similar Messages
-
Safari was deleted, how to restore in lion?
Safari was deleted, how to restore in lion?
I have the same problem,
no way to reinstall Safari from Apple website (the version available is for Snow Leopard).
Any other idea except reinstall Lion ?
Many thanks -
Environment file deleted, how to restore it
hi,
an environment file was deleted from a PROD database ( PROD_vision10.env ) from ( PRODDB/9.2.0 ). how to restore the file, there is no backup copy.
pls, suggest at the earliest.
thanks,
charan.if you dont have backup of the files you cannot restort it what you can do is the following, you need to do some manule steps
-you need to get your control file from the database.
(you may not need it if its path was diffrent than the one deleted you need to check the path from your database so try to connect from you client and check)
-you need to get your pfile from your database
-then you have to install the engin of your 9i database,
-you also need to reconfiger your tnsnames.ora and listern.ora
one importent thing are you sure you didnot lose any of your datafile i mean you just lose the database home without any datafile
fadi -
My contect number is delete how to restore, my contect number is delete how to restore
How to restore my contect phone nombar pls give me sum advise
How to restore my contect phone nombar pls give me sum advise
-
Current archive log got deleted, how to recover using previous archive log?
Hi
My current log sequence #819 and it is got deleted and no choice to get it back and I have previous archived logs with sequences #814 to 818.
When I starting my database it is showing that use 'MUST USE RESETLOGS OR NORESETLOGS option for database open then I used the command
SQL> ALTER DATABASE OPEN RESETLOGS;
ALTER DATABASE OPEN RESETLOGS
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'E:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01.DBF'
SQL> alter database recover;
alter database recover
ERROR at line 1:
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SQL> alter database recover using backup controlfile;
alter database recover using backup controlfile
ERROR at line 1:
ORA-00279: change 8433746 generated at 01/15/2013 19:51:59 needed for thread 1
ORA-00289: suggestion :
E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2013_01_16\O1_MF_1_819_
%U_.ARC
ORA-00280: change 8433746 for thread 1 is in sequence #819
now I don't have the archive log with sequence 819, I have recover from 818. please tell me how to do it?You probably should post to the correct forum too: Recovery Manager (RMAN)
cheers -
Folders Deleted How to Restore?
I accidently deleted the iTunes folders like the one that would indicate the latest songs added etc.
How can I restore them please onto my iTunes and onto my ipod?Yes, I deleted a folder that came with the itune program.
It's the folder I really care about restoring.
c -
ITunes deleted how to restore apps and music from iTouch?
My hard disk had to be replaced so I lost all my files on my computer, including iTunes. If I try to synch my iPod I know it will delete everything off of it. Is there an easy way to restore the files into iTunes from my iTouch? I really need this.
Read my post here. https://discussions.apple.com/thread/3286150?tstart=0
Basic troubleshooting steps
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD + OCZ Vertex 3 SSD Boot HD
Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101 -
Database restore from backup--miss some transaction log backup files.How to restore?
One database with full recovery model
it runs full backup at 12:00 am on 1/1 one time.
Then transaction log backup every 3 hours. 3:00 am, 6:00am,9:00 am, 12:00 Pm, 3:00Pm,6:00PM,9:00pm,12am......
If we can't find 3:00 am, 6:00am, 9:00am transaction log backup files, could we still restore to 6:00am? We still have all transaction log backup files after 12:00Pm.
ThanksOne database with full recovery model
it runs full backup at 12:00 am on 1/1 one time.
Then transaction log backup every 3 hours. 3:00 am, 6:00am,9:00 am, 12:00 Pm, 3:00Pm,6:00PM,9:00pm,12am......
If we can't find 3:00 am, 6:00am, 9:00am transaction log backup files, could we still restore to 6:00am? We still have all transaction log backup files after 12:00Pm.
Thanks
NO..log files are incremental and connected.If any log file is missing you cannot restore to point which comes after backup which is lost or damaged.Like u miss 3 AM trn log backup now even if you have 6,9,12 AM trn log backups its of no use .
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
My daughters nano 6th gen is deleted how to restore
Everything is erased from the nano how can I restore everything back onto the nano.
Connect it to the computer and re-synchronise with iTunes.
-
All my application were deleted how i restore or restoe
How do you estore your applications or operating system
Well my cousin deleted all my files, I don't have Apps logo and when I try to rstore it said file has been deleted or not installed. Please helppppppppppp. I try where it stuck Applet launcher and I can't get rid of the screen is frozem
-
How to initiating entry in alert.log?
Hallo,
i want initiate an entry in the alert.log by myself.
how can i do that?
thanks in advancejust make a archive log switch or shut down startup or any parameter changes which will effect alert.log file and there are many more
-
Hi all
I have accidently deleted all log files and I don't have any backups
How can I restore and recover database?My first instinct is to agree with what other have posted ... you are toast.
But then I realized that you posted wholly insufficient information from which to actually respond. Missing are:
1. Database version
2. Stand-alone or RAC?
3. Is there a standby database associated with the system?
4. Is there any form of replication associated with the system?
5. ASM or File System
6. Operating system
7. What are you trying to recover ... be very specific
8. Why are you trying to recover it ... again be very specific and include the appropriate part of the alert log
9. How did the data that was in the database get there ... again be very specific
10. List everything you have done to the database in an attempt to address the issue up to this moment.
And please please please push yourself away from the keyboard until you get a response. There may be nothing you can do ... but you could quite possibly make things worse.
Note to SB and $phinx19 ... think about it ... this is a forum with people from many countries, many different levels of experience, and often words are used incorrectly. This may not be what we assumed it to be. I've seen people try to recover a database when all they did was delete rows from a table. Let's get all the facts before we start smearing butter on it. -
Job number from alert log file to information
Hello!
I have a question about job numbers in alert log file. Today one of our Oracle 10g R2 [10.2.0.4] RAC nodes crashed. After examining alert log file for one of the nodes I saw a lot of messages like:
Tue Jul 26 11:52:43 2011
Errors in file /u01/app/oracle/admin/zeme/bdump/zeme2_j002_28952.trc:
ORA-12012: error on auto execute of job *20627358*
ORA-12705: Cannot access NLS data files or invalid environment specified
Tue Jul 26 11:52:43 2011
Errors in file /u01/app/oracle/admin/zeme/bdump/zeme2_j001_11018.trc:
ORA-12012: error on auto execute of job *20627357*
ORA-12705: Cannot access NLS data files or invalid environment specified
Tue Jul 26 11:52:43 2011
Errors in file /u01/app/oracle/admin/zeme/bdump/zeme2_j000_9684.trc:
ORA-12012: error on auto execute of job *20627342*
ORA-12705: Cannot access NLS data files or invalid environment specified
After examining trc files I have found no further information about error except session ids.
My question is: how to find what job caused these messages to appear in alert log file.
How do I map number in alert log file to some "real" information (owner, statement executed, schedule)?
Marx.Sorry for the delay
Try this to find the job :
select job, what from dba_jobs ;
How do I find NLS_LANG version?SQL> show parameter NLS_LANG
Do you mean ALTER SESSION inside a job?I meant anywhere, but your question is better.
ORA-12705 - Common Reasons and How to Resolve Them [ID 158654.1]
If OS is Windows lookout for NLS_LANG=NA in the registry
Is it possible you are doing this somewhere ?
ALTER SESSION SET NLS_DATE_FORMAT = 'RRRR-MM-DD\"T\"HH24:MI:SS';NLS database settings are superseded by NLS instance settings
SELECT * from NLS_SESSION_PARAMETERS;
These are the settings used for the current SQL session.
NLS_LANG could be set in a profile for example.
NLS_LANG=_AMERICA.WE8ISO8859P1 ( correct )
NLS_LANG=AMERICA.WE8ISO8859P1 ( Incorrect )
you need to set the "_" as separator.
Windows
set NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
Unix
export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
mseberg
Edited by: mseberg on Jul 28, 2011 3:51 PM
Edited by: mseberg on Jul 29, 2011 4:05 AM -
Seeking comments about managing Oracle's Alert log
Good morning,
Alert logs can often be very useful.
I am forming the opinion that it would probably be a good idea to keep a backup of the alert logs for, maybe, a 3 to 6 months sliding window.
I would like to know the views of the forum members on the subject of alert log backups, including how long the backups (if any) are kept. Actual practice on the subject in production environments is greatly appreciated.
Thank you for taking the time to comment on the subject,
John.Hello Asif,
>
Yes , may be you need to open a SR in metalink and they may ask something old incident. For this reason you need to check the old alert log content. That's why I suggest to keep the alert log for production environment for 3/4 years.
>
I had not thought about someone asking for an incident that would be over a year old but, I can see that on occasion having the records might be useful.
>
Now a days storage are cheap so it's not that critical to store the alert log files.
>
I completely agree. I was more concerned about managing that many logs... on the other, they are just flat files, not that hard to manage.
Thank you,
John. -
Logical standby | archive log deleted | how to remove gap ???
hi gurus...
i have problem on logical standby
by mistake standby log coming to logical standby has been deleted , now how to fill up the gap ???
ON STANDBY
SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# APPLIED
228 674847 674872 YES
229 674872 674973 CURRENT
230 674973 674997 NO
231 674997 675023 NO
232 675023 675048 NO
233 675048 675109 NO
234 675109 675135 NO
235 675135 675160 NO
236 675160 675183 NO
237 675183 675208 NO
238 675208 675232 NO
239 675232 675257 NO
240 675257 675282 NO
241 675282 675382 NO
242 675382 675383 NO
243 675383 675650 NO
244 675650 675652 NO
245 675652 675670 NO
246 675670 675688 NO
247 675688 675791 NO
248 675791 678524 NO
archive log are shipping to standby location also and getting registered
ALERT LOG OF STANDBY
Fri May 7 12:25:36 2010
Primary database is in MAXIMUM PERFORMANCE mode
RFS[21]: Successfully opened standby log 5: '/u01/app/oracle/oradata/BEST/redo05.log'
Fri May 7 12:25:37 2010
RFS LogMiner: Registered logfile [u01/app/oracle/flash_recovery_area/BEST/archivelog/archBEST_248_1_715617824.dbf] to LogMiner session id [1]
but i dont have standby log after 229 sequence ...
ON PRIMARY
SYS@TEST AS SYSDBA> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /u01/app/oracle/flash_recovery_area/TEST/standlogOldest online log sequence 247
Next log sequence to archive 249
Current log sequence 249
what to do next to apply sequences and bring both in sync.
please help me ,,,,
Edited by: user12281508 on May 7, 2010 9:45 AMthanks for response.
no its pure logical standby
i have tried to ftp the archive logs of primary to standby and applied manually
SYS@BEST AS SYSDBA> alter database register logfile '/u01/app/oracle/flash_recovery_area/BEST/archivelog/archBEST_230_1_715617824.dbf';
alter database register logfile '/u01/app/oracle/flash_recovery_area/BEST/archivelog/archBEST_230_1_715617824.dbf'
ERROR at line 1:
ORA-01289: cannot add duplicate logfile
SYS@BEST AS SYSDBA> alter database register logfile '/u01/app/home/archTEST_230_1_715617824.dbf';
alter database register logfile '/u01/app/home/archTEST_230_1_715617824.dbf'
ERROR at line 1:
ORA-01289: cannot add duplicate logfile
any other way ????
Maybe you are looking for
-
Java applet loading for a long time.
If you go here (warning - long load to start with) - www.aclwebsite.co.uk I have placed a newsticker java applet there but when you first visit the site the browser freezes up for a while untill the applet loads. Any idea on whats causing this to loa
-
In Primavera P6 web access, the columns schedule % complete and performance % complete just display one decimal place, and I need 2 decimals places displayed, how can I change this?
-
Hi all We are loading using Port and we have some issues with data for a date field. What we would like to do is load all records that are correct and then reprocess only the records that have an invalid date later. e.g 5000 records with 25 records i
-
Anything similar to VS regions?
Is there anything in jdev similar to visual studio regions where you can collapse and expand code? It really helps keep code organized. Thanks
-
I have always used a screen capturing program named clipmate 7 and really enjoy using it. I think the program that came with my laptop named snipping tool is interferring with Clipmates ability to capture any screen shots. All of Clipmate 7's keyboar