Tuesday, February 22, 2011

Manage Oracle 11gR2 ASM and RDBMS audit logs on Linux.

If you don't change anything after a new 11gR2 ASM and RDBMS installation, your system's local file systems will slowly fill up with several thousands of audit log files. To fix this problem, you can either:

  1. Modify the system's crontab to clean the audit logs directory periodically
  2. Configure both the ASM and the RDBMS audit parameters to use syslog.
The crontab solution is easy, but I prefer the syslog solution because:

Tuesday, December 14, 2010

Oracle 11gR2 RAC - howto fix the "ORACLE_BASE not set in environment" error.

One of our Oracle 11gR2 RAC instances running version 11.2.0.2 was reporting the following error in it's alert log:

« ORACLE_BASE not set in environment. It is recommended that ORACLE_BASE be set in the environment »

To fix the problem, one simply has to issue a simple command.