For some reason(??) my alert log is not being created today. That problems brings me to a question: what controls creation and updates of the alert log?
I do see an entry in my initsid.ora with a correct path for alert log destination. It is the same as yesterday. The difference is yesterday I had alert log today I don't.
Your help is appreciated.
03-21-2001, 12:37 PM
as u know if the location in the init.ora is not specified then oracle will still write to a default location and also if an alert.log exists then oracle will be appending new entries into the same log unless u have a mechanism which moves out alert.logs of each day to another place then oracle will have to create a new alert.log in the same place
03-21-2001, 12:53 PM
But my problem has not been solved yet. I am still figuring out how it is possible that alert log is not being created.
Does anyone know what interval of time Oracle appends new information to alert log?
03-21-2001, 02:06 PM
ORACLE will write to alert log whenever there is a startup, shutdown, log switch or when there are errors. Some statements which affect ORACLE dictionary are also record in alert log.
03-21-2001, 03:02 PM
Did you try shut it down and restart the DB? That might help!
03-21-2001, 04:20 PM
Probably there are no errors or switch logs to be written to alert log file. Did you check you archive log directory. Try switching the online logs and check the alert log. Then let us know if still the alert log file is not updated.
03-21-2001, 10:34 PM
How do you switch logs, is it 'alter database switch logfile;'?
03-22-2001, 01:24 AM
you can manually force a log file switch by this script