How to resize the Oracle database alert.log for RSA Identity Governance & Lifecycle
Originally Published: 2018-09-12
Last Modified: 2022-06-20
Article Number
Applies To
RSA Product/Service Type: Appliance
Issue
Tasks
Resolution
You can do this associated with an Oracle restart, or while the database is running.
- In either case, rename the file:
mv /u01/app/oracle/diag/rdbms/avdb/AVDB/trace/alert_AVDB.log /u01/app/oracle/diag/rdbms/avdb/AVDB/trace/alert_AVDB_<date>.log
- Upon Oracle startup, a new file named alert_AVDB.log will be created in the same location.
- If you rename the file while the database is running, and do not want to wait until the database writes to it to ensure everything is ok, you can issue the following command which forces a write to the alert log and will recreate the file at this time:
sqlplus / as sysdba SQL> alter system switch logfile SQL> exit
All operations described here require access to the Linux oracle account.
- After running the alter command you will have these files:
oracle@acm-702:/u01/app/oracle/diag/rdbms/avdb/AVDB/trace> ls -ltr *.log -rw-r----- 1 oracle oinstall 1737472 Sep 10 20:39 alert_AVDB_9-10-2018.log -rw-r----- 1 oracle oinstall 3090 Sep 10 20:41 alert_AVDB.log
- If you used the switch logfile method on the running database, your new alert log will show this entry:
oracle@acm-702:/u01/app/oracle/diag/rdbms/avdb/AVDB/trace> cat alert_AVDB.log Mon Sep 10 20:41:31 2018 Thread 1 advanced to log sequence 559 (LGWR switch) Current log# 1 seq# 559 mem# 0: /u01/app/oracle/oradata/AVDB/redo01.log
- From this point the database will write to the new alert log.
Notes
Related Articles
Connecting to database gives error: "sslv3 alert handshake failure" 96Number of Views SSL write error error:14095412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate 81Number of Views Database ID Mismatch being reported in the alert log for RSA Identity Governance & Lifecycle 42Number of Views Unrecognized characters in syslog payload not allowing alerts to be processed in RSA Security Operations Management 48Number of Views Creating an alert view 5Number of Views
Trending Articles
Artifacts to gather in RSA Identity Governance & Lifecycle How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device How to Update the Root (Server) and Client Certificates in RSA Identity Governance & Lifecycle Troubleshooting AFX Connector issues in RSA Identity Governance & Lifecycle How to Download and Reinstall the AFX Server Archive in RSA Governance & Lifecycle
Don't see what you're looking for?