.ora-code.com

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
Dbstart problem

Dbstart problem

2006-05-04       - By Bennett Leve
Reply:     1     2     3     4     5  

Jafar,

TWO_TASK is used to set an alias for clients.  This should not be set if
you are making local connections to a database.  Also setting it to NULL
is not correct and may lead to problems with some clients.  To unset it do:

 $ unset TWO_TASK

Or just comment it out.  If you do require to set it, you would set it
to the value after "@" symbol for connections such as:

 $ sqlplus scott@(protected)

Doing this would do the same thing:

 $ export TWO_TASK=my_alias
 $ sqlplus scott

The variable to change the default location of TNS files such as
tnsnames.ora would be "TNS_ADMIN" and you set this to the non standard
directory where your tnsnames.ora and/or your listener.ora reside.  In
your example, it appears you are pulling the tnsnames.ora from the
default location so there is no need to set this.

Hope this helps.

-Bennett

Hosseinzadeh, Jafar wrote:
> Hi all,
>  
> Thank you for those of you who sent me suggestions.  The problem is
> corrected.
> Thank you Tom C for asking about my TWO_TASK var setup. That was the
> problem.
>  
> Non working setup:
> export
> TWO_TASK="/mnt/u1/apps/oracle/product/10.1.0/db_1/network/admin/tnsnames
> .ora"
>  
> working setup:
> export TWO_TASK=
>  
> or if I comment out the whole thing.
>  
> Regards,  
> --jh
>  
>
>  


--
To unsubscribe, email: suse-oracle-unsubscribe@(protected)
For additional commands, email: suse-oracle-help@(protected)
Please see http://www.suse.com/oracle/ before posting