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

Privileges on directory object are failing

Aragon, Gabriel (GE Commercial Finance)

2005-07-14

Hi list, oracle 9.2.0.6.0, SunOS 5.8 sun4u sparc SUNW,Sun-Fire
 
this is making me crazy,  I have 2 directories created:
 
CREATE OR REPLACE DIRECTORY "DIR_NB" AS
'-------------------NB';
 
CREATE OR REPLACE DIRECTORY "DIR_ND" AS
'-------------------ND';
 
I have 2 users:
 
CREATE USER "AC"  PROFILE "DEFAULT"
    IDENTIFIED BY "AC" DEFAULT TABLESPACE "---"
    TEMPORARY TABLESPACE "TEMP"
    ACCOUNT UNLOCK;

GRANT CREATE ANY TABLE TO "AC";
GRANT CREATE SNAPSHOT TO "AC";
GRANT UNLIMITED TABLESPACE TO "AC";
GRANT EXECUTE ON  "SYS"."DBMS_SYSTEM" TO "AC";
GRANT "CONNECT" TO "AC";
GRANT "RESOURCE" TO "AC";
-------------------------------------------------------------------------------------------------
CREATE USER "NV"  PROFILE "DEFAULT"
    IDENTIFIED BY "NV" DEFAULT TABLESPACE "---"
    TEMPORARY TABLESPACE "TEMP"
    ACCOUNT UNLOCK;

GRANT CREATE ANY TABLE TO "NV";
GRANT UNLIMITED TABLESPACE TO "NV";
GRANT EXECUTE ON  "SYS"."DBMS_SYSTEM" TO "NV";
GRANT "CONNECT" TO "NV";
GRANT "RESOURCE" TO "NV";
and privs for dirs are:
 
drwxrwxrwx   96 Jul 14 15:24 ND
drwxrwxrwx   96 Jun 23 13:49 NB
 
but when I try to assing privs:
 

SQL> GRANT READ ON DIRECTORY "SYS"."DIR_NB" TO "AC";

Grant succeeded.

SQL> GRANT READ ON DIRECTORY "SYS"."DIR_ND" TO "AC";

Grant succeeded.

SQL> GRANT WRITE ON "SYS"."DIR_NB" TO "AC";

GRANT WRITE ON "SYS"."DIR_NB" TO "AC"

*

ERROR at line 1:

ORA-00942: table or view does not exist

 

SQL> GRANT WRITE ON "SYS"."DIR_ND" TO "AC";

GRANT WRITE ON "SYS"."DIR_ND" TO "AC"

*

ERROR at line 1:

ORA-00942: table or view does not exist

 

SQL> GRANT WRITE ON DIRECTORY "DIR_NB" TO "NV";

Grant succeeded.

SQL> GRANT READ ON DIRECTORY "DIR_NB" TO "NV" ;

Grant succeeded.

 

SQL> GRANT WRITE ON DIRECTORY "DIR_ND" TO "NV";

Grant succeeded.

SQL> GRANT READ ON DIRECTORY "DIR_ND" TO "NV" ;

Grant succeeded.

Write privilege on directories works for user NV but fails for user AC, what am I missing here???? No luck on metalink or google.
 
TIA
Gabriel