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: Urgent help: strange DB_LINK problem...

DENNIS WILLIAMS

2004-07-30

Replies:
Jose
 Working with GLOBAL_NAMES=TRUE can be tricky until you fully understand
everything. Maybe even after that. I haven't used them long enough to tell.
One thing I notice from the information you have provided, it appears that
the GLOBAL_NAME of one of your databases is "fnd_remote". It does not appear
that there is a domain appended to the GLOBAL_NAME. If this is true, that
might be the root of your problems. How are you setting the GLOBAL_NAME of
your databases? Are you using ALTER DATABASE? That will automatically append
the domain. If you just do an update to GLOBAL_NAME, then the domain will
not be appended, but that is not correct and might cause problems with your
links.
 If you don't have a strong reason for understanding GLOBAL_NAMES, Igor's
solution has some merit.

Dennis Williams
DBA
Lifetouch, Inc.

"We all want progress, but if you're on the wrong road, progress means
doing an about-turn and walking back to the right road; in that case,
the man who turns back soonest is the most progressive."
-- C.S. Lewis


-----Original Message-----
From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)
Sent: Friday, July 30, 2004 1:35 PM
To: oracle-l@(protected)
Subject: Urgent help: strange DB_LINK problem...


List...

Please, help me to solve this thread, I've been trying
for a whole day and cannot find the problem...
also, I've been searching at Metalink with no luck.

this is the scenario:

1.- Local BD: Oracle 8.1.7, SID = fnd on Solaris 5.8
1.1 TNSNAMES.ORA has a FND_REMOTE alias for Remote BD

2.- Remote BD: Oracle 8.1.7, SID = fnd on Solaris 5.8

Note that both are the same SID, DB and OS version.
They are at distinct locations.

On local BD, tnsnames.ora is configured correctly,
I've checked in this way:

1.- $ tnsping fnd_remote
Attempting to contact
(ADDRESS=(PROTOCOL=TCP)(Host=xx.xx.xx.xx)(PORT=1522))
OK (10 msec)

2.-
SQL>
connect sys/my_incredible_secret_password@(protected)
Connected.

The problem starts when I create a PUBLIC db_link.

SQL> create public database link fnd_remote
2 using 'fnd_remote';

Database link created.

I'm configuring Symmetric Replication, so, I need a
PUBLIC database link like above.

And, now... and type:

SQL> select * from global_name@(protected);
select * from global_name@(protected)
                *
ERROR at line 1:
ORA-12154: TNS:could not resolve service name

Facts:
global_names = true on both databases
Connectivity is OK in both ways.

Any ideas?
Thanks in advance!

JL




   
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
----------------------------------------------------------------
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
-----------------------------------------------------------------
----------------------------------------------------------------
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
-----------------------------------------------------------------