Home
All Oracle Error Codes
Oracle DBA Forum

Frequent Oracle Errors

TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated

RE: rac & client connection

Eric Gross

2007-02-20

Replies:

That is one of the messages you can get when you need to re-execute a command because the information is not available on the instance you are now accessing after a TAF event.  Check out Which are the Oracle Errors (TAF Events) to be Handled for RAC Failover - 337178.1.

 

Eric Gross

Mr. Database

GridApp Systems

Ph: 646-452-4050

egross@gridapp.com


From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of Ujang Jaenudin
Sent: Monday, February 19, 2007 11:30 PM
To: Hemant K Chitale
Cc: oracle-l@freelists.org
Subject: Re: rac & client connection

 

ok hemant, thanks. i got the solution.

but when trying TAF, still got problem.

SQL> SELECT instance_name, host_name,
  2  NULL AS failover_type,
  3  NULL AS failover_method,
  4  NULL AS failed_over
  5  FROM v$instance
  6  UNION
  7  SELECT NULL, NULL, failover_type, failover_method, failed_over
  8  FROM v$session
  9  WHERE username = 'SYSTEM';

INSTANCE_NAME    HOST_NAME         FAILOVER_TYPE FAILOVER_M FAI
---------------- ------------------------------------------- ------------- ---------- ---
racdb3           rac3pub
                                                                NONE          NONE       NO
                                                              SELECT        BASIC      YES


got error when execute this on node3 and later I shutdown abort the racdb3 instance.
select * from sh.sales;

ERROR:
ORA-25401: can not continue fetches
5085 rows selected


#tnsnames entry:

RACDB =
  (DESCRIPTION=
    (ADDRESS_LIST=
      (LOAD_BALANCE=ON)
      (FAILOVER=ON)
      (ADDRESS=(PROTOCOL=TCP)(HOST=10.1.3.71)(PORT=1521))
      (ADDRESS=(PROTOCOL=TCP)(HOST= 10.1.3.81)(PORT=1521))
      (ADDRESS=(PROTOCOL=TCP)(HOST=10.1.3.91)(PORT=1521))
    )
    (CONNECT_DATA=
      (SERVICE_NAME=racdb)
      (FAILOVER_MODE=
        (TYPE=SELECT)
        (METHOD=BASIC)
        (RETRIES=500)
        (DELAY=5)
      )
    )
  )

#as remote listener on all nodes , here i put TAF & load balance entries too
LISTENERS_RACDB =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (LOAD_BALANCE=ON)
      (FAILOVER=ON)
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.3.71)(PORT = 1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.3.81)(PORT = 1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.3.91)(PORT = 1521))
      (LOAD_BALANCE = yes)
    )
    (CONNECT_DATA =
      (SERVICE_NAME = racdb)
      (FAILOVER_MODE=
        (TYPE=SELECT)
        (METHOD=BASIC)
        (RETRIES=500)
        (DELAY=5)
      )
    )
  )

#as local listener on node1 and the rest node is similar...except ip address and name
LISTENER_RACDB1 =
  (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.3.71)(PORT = 1521))

regards
ujang

On 2/20/07, Hemant K Chitale <hkchital@singnet.com.sg> wrote:


ORA-12545 would mean that DNS lookups for rac1pub/rac2pub/rac3pub are failing.
Do a command-line  "PING" to see if the Windows client can see those hostnames.
Check if they are in the DNS server.
If you errors are "random" it could just mean that the Windows client
isn't finding
the hostname it is attempting.  You have configured LOAD_BALANCE so the client
would not always atttempt the same name "rac1pub" -- at times it would attempt
"rac2pub" or "rac3pub" -- and one of them is missing from DNS lookups.

If you don't use a DNS server, you'd have to hardcode those entries
in WINNT\SYSTEM32\DRIVERS\ETC\HOSTS

Hemant
At 10:21 AM Tuesday, Ujang Jaenudin wrote:
>ERROR:
>ORA-12545: Connect failed because target host or object does not exist
>
>and this only happen on windows client, while in linux client it
>doesn't happen.
>
>regards
>ujang
>
>


Hemant K Chitale
http://web.singnet.com.sg/~hkchital
and
http://hemantoracledba.blogspot.com




--
regards
ujang