Friday, September 7, 2018

PRKO-3141 : Database could not be removed because it was running


If we use “srvctl” command to remove a database from CRS (in case of RAC) or Oracle Restart (in case of single server GI installation), we might face this error if database is currently  running. To successfully remove a database from CRS using srvctl, either shutdown the database (all instances), or alternatively you can use “–f” (for versions bellow 12c) or “-force” (for 12 and above) option.

[oracle@salman11 ~]$ srvctl remove database -d salman12
PRKO-3141 : Database salman12 could not be removed because it was running

-- using “-f” option
[oracle@salman11 ~]$ srvctl remove database -d salman12 -f
[oracle@salman11 ~]$ srvctl status database -d salman12
PRCD-1120 : The resource for database salman12 could not be found.
PRCR-1001 : Resource ora.salman12.db does not exist


No comments:

Post a Comment

Popular Posts - All Times