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: connect / as sysdba on 9i

Kirtikumar Deshpande

2004-02-06

Replies:
Thanks, Jacques.
I stand corrected.

We leave O7_DICTIONARY_ACCESSIBILITY to FALSE in all 9i databases, and I did not test the
connectivity with it set to TRUE prior to my post.
Now, I will remember that !!



Cheers!

- Kirti

--- Jacques Kilchoer <Jacques.Kilchoer@(protected):
> The O7_DICTIONARY_ACCESSIBILITY parameter DOES affect database =
> connectivity.
> If O7_DICTIONARY_ACCESSIBILITY =3D TRUE,
> then I can say
> connect sys/password without the "as sysdba"
> If O7_DICTIONARY_ACCESSIBILITY =3D FALSE, then I CANNOT
> connect sys/password without the "as sysdba"
>
> See example on SunOS 9.2
>
> SQL> connect system
> Enter password:=20
> Connected.
> SQL> select a.instance_name, b.name as database_name
>  2 from v$instance a, v$database b ;
> INSTANCE_NAME   DATABASE_
> ---------------- ---------
> sdu2920a      SDU2920A
> SQL> show parameter O7_DICTIONARY_ACCESSIBILITY
> NAME                      TYPE     VALUE
> ------------------------------------ ----------- =
> ------------------------------
> O7_DICTIONARY_ACCESSIBILITY       boolean   FALSE
> SQL> connect sys
> Enter password:=20
> ERROR:
> ORA-28009: connection to sys should be as sysdba or sysoper
> Warning: You are no longer connected to ORACLE.
> SQL> exit
>
> irvspcu01 # export ORACLE_SID=3Dsdu2920b
> irvspcu01 # sqlplus /nolog
> SQL*Plus: Release 9.2.0.4.0 - Production on Thu Feb 5 10:40:13 2004
> Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
> SQL> connect system
> Enter password:=20
> Connected.
> SQL> select a.instance_name, b.name as database_name
>  2 from v$instance a, v$database b ;
> INSTANCE_NAME   DATABASE_
> ---------------- ---------
> sdu2920b      SDU2920B
> SQL> show parameter O7_DICTIONARY_ACCESSIBILITY
> NAME                      TYPE     VALUE
> ------------------------------------ ----------- =
> ------------------------------
> O7_DICTIONARY_ACCESSIBILITY       boolean   TRUE
> SQL> connect sys
> Enter password:=20
> Connected.
> SQL>=20
>
> > -----Original Message-----
> > Kirtikumar Deshpande
> >=20
> > Sorry, I could not follow what's said here, but it is FALSE !! ;) =20
> >=20
> > That parameter only affects 'select any table' system=20
> > privilege, which, btw, defaults to FALSE in=20
> > to prevent users with 'select any table' from accessing SYS=20
> > owned tables. Setting it to TRUE is
> > required if such access is to be allowed.=20
> >=20
> > It does not affect database connectivity. =20
> >=20
> >=20


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.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
-----------------------------------------------------------------