Links
Home
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
Connect error and database links

Connect error and database links

2004-07-22       - By Hemant K Chitale



Check to see if you have any system triggers [eg a LOGON or LOGOFF trigger].
However, 4092 is an obvious "cannot COMMIT or ROLLBACK in a trigger "


At 08:24 PM Thursday, you wrote:
People -

I have a puzzling situation here, and would be grateful for any
input.

We have two instances, geographically remote, both v8.1.7, and both
connected using Net8.

Database links are created differently on both instances - as thus:

On instance DB2:

create database link Ora1 connect to FRED
identified by xxxxxxx using 'DB1.WORLD ';

and on instance DB1:

create database link Ora2 connect to FRED
identified by xxxxxxxx using 'DB2 ';

DBlink 'Ora1 ' cannot be created using the form applied to the
creation of DBlink 'Ora2 '. The names are changed to protect the
innocent, and no, we are NOT using DB2... :-)

These links work, data can be queried, tables described etc.

However, if while connected to instance DB2, and one then retrieves
data from DB1 using the link, and then attempts to connect to DB1 as
thus: SQL >connect fred@(protected) - the following error appears:

Enter password: ******
ERROR:
ORA-00604 (See ORA-00604.ora-code.com): error occurred at recursive SQL level 1
ORA-04092 (See ORA-04092.ora-code.com): cannot COMMIT in a trigger
ORA-06512 (See ORA-06512.ora-code.com): at line 16

ERROR:
ORA-24315 (See ORA-24315.ora-code.com): illegal attribute type

This error ONLY occurs on DB2.

If no use of the database link had been made during that session, a
connection to DB1 would have been entirely successful. Further, it
is not as though cause can be traced to a trigger on the remote
table being queried, as the error appears even after querying a
table with no triggers on it.

Can anyone advise on what we have overlooked here? I must admit
that I have not spent much time in the TNS area, so could have
overlooked something obvious. The text for the first error
message (0604) ends with the ominous 'contact customer support ' -
is it time to do this?

thanks,

peter
edinburgh
--
mailto:pgro@(protected)



Hemant K Chitale
Oracle 9i Database Administrator Certified Professional
http://web.singnet.com.sg/~hkchital
"A man 's reputation is what other people think of him; his character is
what he really is. "
-- Miner, Jack

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe ' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --