15 Mayıs 2014 Perşembe

ORA-19706: invalid SCN






Problem:
-----------

select 1 from dual@NECODB;

ORA-19706: invalid SCN dblink

Solution:
-----------
alter system set "_external_scn_rejection_threshold_hours" = 24 scope=spfile;

Then restart the database.

11 Mayıs 2014 Pazar

ORA-01595: error freeing extent (3) of rollback segment



Problem:
------------

SMON: following errors trapped and ignored:
ORA-01595: error freeing extent (3) of rollback segment (198))
ORA-00607: Internal error occurred while making a change to a data block
ORA-00600: internal error code, arguments: [4194], [12], [2], [], [], [], [


Solution:
-----------
Adding more undo space should solve the problem.


Following link explain add undo tablespace:
-------------------------------------------

http://dbafix.blogspot.com.tr/2010/08/how-to-drop-and-recreate-undo.html

8 Mayıs 2014 Perşembe

ORA-21561: OID generation failed



Problem:
-----------

ORA-21561: OID generation failed


Solution:
-----------


Check that there is client machine fully qualified name and short name in the client machine hosts file. If these are missing you’ll get ORA-21561 errors when trying to connect server.

old           /etc/hosts   file
-------------------------
127.0.0.1            localhost.localdomain      localhost

new           /etc/hosts   file
-------------------------

127.0.0.1            localhost.localdomain      localhost
10.160.116.10   dbachannel.oracle.com     dbachannel-----this line added

sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory



Problem:
-----------


./sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory



Solution:
-----------


vi .bash_profile

export LD_LIBRARY_PATH=$ORACLE_HOME/lib

save and quit.

Then relogin

Problem will solve.

ORA-16179: incremental changes to "log_archive_dest_1" not allowed with SPFILE


Problem:
----------


ORA-16179: incremental changes to "log_archive_dest_1" not allowed with SPFILE

Solution:
--------


Your syntax is incorrect

Correct syntax is:


alter system set log_archive_dest_1='location=PATH' scope=SPFILE