Not able to connect to Oracle Instance : ORA-12514 [message #638207] |
Sat, 06 June 2015 02:53 |
|
sachinj
Messages: 13 Registered: February 2012 Location: India
|
Junior Member |
|
|
I had changed my shared pool size from 608M to 1G using the below command.
alter system set shared_pool_size=1G scope=spfile;
After restarting the oracle service, I am not able to connect to oracle instance. I am getting below error :
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Can someone please suggest how do I now rollback the shared pool size changes,as oracle instance could not be connected.
Thanks,
Sachin
[Updated on: Sat, 06 June 2015 03:02] Report message to a moderator
|
|
|
|
|
|
|
Re: Not able to connect to Oracle Instance : ORA-12514 [message #638217 is a reply to message #638211] |
Sat, 06 June 2015 07:58 |
|
EdStevens
Messages: 1376 Registered: September 2013
|
Senior Member |
|
|
sachinj wrote on Sat, 06 June 2015 05:57
I have been able to resolve the issue by increasing the memory_target as recommended in below link :
http://dbatricksworld.com/ora-00838-specified-value-of-memory_target-is-too-small-needs-to-be-at-least-3072m-oracle-12c/
Thanks
I am disturbed by the fact that the guy that wrote that article thought you needed to actually start the database from the pfile before you could create an spfile from it, thus necessitating yet another restart of the instance. It is not.
SQL> create pfile from spfile;
File created.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> create spfile from pfile;
File created.
SQL> startup
ORACLE instance started.
Total System Global Area 839282688 bytes
Fixed Size 2217992 bytes
Variable Size 549455864 bytes
Database Buffers 285212672 bytes
Redo Buffers 2396160 bytes
Database mounted.
Database opened.
SQL> show parameter spfile
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /u01/app/oracle/product/11.2.0
/db_1/dbs/spfileoklacity.ora
|
|
|