Tuesday, 4 June 2013

Oracle Audit Vault Database Firewall 12.1 run-level hot key

During Oracle Audit Vault Database Firewall 12.1 install you can change from the default interface to view the console (and any error messages) by using a hot-key and another key to get the interface back. From the console you can quit the running service to get to the management interface.
This helps a lot to debug Oracle AVDF install problems or errors.


To change from the interface to the console hit alt+F9
To revert hit alt+F1.
To skip over services that are hung hit ctrl+c from the console.

Once the management interface is up you can drop to a login using ctrl+alt+f2.
Login is root or support. Make sure you've set root and support passwords from the management interface first

Wednesday, 29 May 2013

Automatic Start and Stop of Oracle on LINUX

Here's a script to do automatic start and stop of an Oracle instance running on Linux. Note the change of startup and shutdown for 11gR2. I'm sticking with the dbstart and dbshut method until its removed

http://www.oracle-base.com/articles/linux/automating-database-startup-and-shutdown-on-linux.php

Guest Additions on Oracle VirtualBox

To get guest additions working in VirtualBox hosting Oracle Linux 5 update 8 its necessary to download the kernel-uek-devel and dependent packages. Make sure yum is installed and the repository is downloaded then run yum install kernel-uek-devel.

Kernel Panic - Fatal Exception

After installing Oracle Linux 5 Update 8 in VirtualBox everything worked fine until updating packages. After updating packages and rebooting I got the error message below. To fix the problem I had to change a setting in VirtualBox.

The Error:
Kernel Panic - Fatal Exception

The Fix:
In VirtualBox go to Machine -> Settings -> System.
Then Change chipset to ICH9 and check Enable IO APIC checkbox.

Simple HTTP server in Python

To start a very simple HTTP server on a LINUX machine use Python. Change to the directory that contains files to be served then run the command below. Change the port number as required.

python -m SimpleHTTPServer 8080