Monday, April 22, 2013

srvctl remove commands


SRVCTL REMOVE DATABASE - Removes a database configuration

Syntax and Options

SRVCTL REMOVE INSTANCE - Removes a database instance configuration

Syntax and Options

SRVCTL REMOVE NODEAPPS - Removes the node application configuration from the specified node. You must have
full administrative privileges to run this command. On Linux and UNIX systems, you must be logged in as root
and on Windows systems, you must be logged in as a user with Administrator privileges.

Syntax and Options

srvctl remove nodeapps -n node_name_list [-f]

srvctl remove listener - Removes the listener from the specified node.

Syntax and Options
You will see something like below from $GRID_HOME/bin/crsstat output

Examples
The following command removes the listener LISTENER_MYRAC1D1 from the myrac1d1 node:

Monday, April 8, 2013

ORA-12012: error on auto execute of job : ORA-01878: specified field not found in datetime or interval


You may see the below errors in your alert log file after the daylight time changes if the job happens to run around
the time when the daylight time changes, which is 2 AM.

ORA-12012: error on auto execute of job 219820676
ORA-01878: specified field not found in datetime or interval

You can run the below queries to find out when the job was scheduled to run and who owns the job

Connect to the database with the priv_user from the above query for that particular job and change the next_date manually by running the following

NOTE: If possible move the time of the job to away from 2 AM time, that is when the time change happens twice every year. I did moved the job to 04:00 AM so you are good for the future as well.