Register schema: insufficient privileges to use enablehierarchy

Hello,
In Oracle11g release 2 I'm trying to register a schema. It works, as long as I set enablehierarchy to ENABLE_HIERARCHY_NONE.
For all other values of this parameter, I get this error message:
ORA-31061: XDB error: DBMS_XDBZ.ENABLE_HIERARCHY
ORA-06512: at "XDB.DBMS_XDBZ0", line 131
ORA-06512: at "XDB.DBMS_XDBZ0", line 586
ORA-01031: insufficient privileges
ORA-06512: at "XDB.DBMS_XDBZ", line 37
ORA-06512: at line 1
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 55
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 159
ORA-06512: at line 4
for instance, this works:
declare doc xmltype;
begin
select dbms_xmlschema.generateschema(user,'VORM') into doc from dual;
dbms_xmlschema.registerschema('http://www.5hart.com/schema/vormen.xsd', doc,
gentypes => false,
enablehierarchy=>dbms_xmlschema.*ENABLE_HIERARCHY_NONE*);
end;
but this doesn't:
declare doc xmltype;
begin
select dbms_xmlschema.generateschema(user,'VORM') into doc from dual;
dbms_xmlschema.registerschema('http://www.5hart.com/schema/vormen.xsd', doc,
gentypes => false,
enablehierarchy=>dbms_xmlschema.*ENABLE_HIERARCHY_CONTENTS*);
end;
Could someone tell me what privileges I'm missing? I have the role XDBADMIN, I've tried "grant execute on DBMS_XDBZ, but nothing works.
Help would be appreciated.
Thanx,
Marko
Edited by: user11998055 on 10-dec-2009 2:09
Edited by: user11998055 on 10-dec-2009 2:55

Nowadays I can explain why this works - I think.
Locally registered xml schemas are protected by ACL's (more or less) and is accessable ONLY by the user that created it (besides SYS). DBA,XDBADMIN, system accounts etc are just not good enough.
The direct granted "alter session" prevents having to use the full syntax of OWNER.OBJECT_NAME.COLUMN_NAME@DBLINK etc, etc... and thus refering to objects can be reduced to OBJECT_NAME instead of OWNER.OBJECTNAME and makes it possible for the package to do its XDBZ thingy.
;-)

Similar Messages

  • ERROR: insufficient privileges while using EXPLAIN PLAN command

    Hi,
    I have a table named TEST and i ran following command on this table.
    SQL> EXPLAIN PLAN FOR
    2 SELECT NAME FROM TEST;
    SELECT NAME FROM TEST
    ERROR at line 2:
    ORA-01031: insufficient privileges
    So which privilege do i need to give for using EXPLAIN PLAN command.
    Thank.

    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14211/ex_plan.htm#i19260
    SQL> @C:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\utlxplan.sql
    Table created.
    SQL> select table_name from user_tables where table_name='PLAN_TABLE';
    TABLE_NAME
    PLAN_TABLE
    You might consider checking dba_tables to check the owner in your case and may be you don't privilege on that table.

  • ORA-01031: insufficient privileges when using RESOLVECONFLICT

    Hello,
    I use RESOLVECONFLICT component for a new filter.
    I have an insufficient privileges error :
    2015-03-18 11:26:49  WARNING OGG-01919  Oracle GoldenGate Delivery for Oracle, pivot01.prm:  Missing RESOLVECONFLICT for SQL error 1.
    2015-03-18 11:26:49  WARNING OGG-00869  Oracle GoldenGate Delivery for Oracle, pivot01.prm:  OCI Error ORA-01031: insufficient privileges (status = 1031), SQL <SELECT ROWNUM FROM "OGG_STGPIV"."PSTREENODE"  WHERE "SETID" = :b0 AND "SETCNTRLVALUE" = :b1 AND "TREE_NAME" = :b2 AND "EFFDT" = :b3 AND "TREE_NODE_NUM" = :b4 AND "TREE_NODE" = :b5 AND "TREE_BRANCH" = :b6 FOR UPDATE >.
    2015-03-18 11:26:49  WARNING OGG-01004  Oracle GoldenGate Delivery for Oracle, pivot01.prm:  Aborted grouped transaction on 'OGG_STGPIV.PSTREENODE', Database error 1 (OCI Error ORA-00001: unique constraint (OGG_STGPIV.PSTREENODE_INDX01) violated (status = 1), SQL <INSERT INTO "OGG_STGPIV"."PSTREENODE" ("SETID","SETCNTRLVALUE","TREE_NAME","EFFDT","TREE_NODE_NUM","TREE_NODE","TREE_BRANCH","TREE_NODE_NUM_END","TREE_LEVEL_NUM","TREE_NODE_TYPE","PARENT_NODE_NUM","PARENT_NODE_NAME","OLD_TREE_NODE_NUM","NODECOL_IMAGE","NODEEXP_IMAGE","DML_TYPE","DML_DATE","DML_SCN") VALUES (:a0,:a1,:a2,:a3,:a4,:a5,:a6,:a7,:a8,:a9,:a10,:a11,:a12,:a13,:a14,:a15,:a16,:a17)>).
    2015-03-18 11:26:49  WARNING OGG-01003  Oracle GoldenGate Delivery for Oracle, pivot01.prm:  Repositioning to rba 4862 in seqno 19.
    2015-03-18 11:26:49  WARNING OGG-01154  Oracle GoldenGate Delivery for Oracle, pivot01.prm:  SQL error 1 mapping PIVOTMAT2.PSTREENODE to OGG_STGPIV.PSTREENODE OCI Error ORA-00001: unique constraint (OGG_STGPIV.PSTREENODE_INDX01) violated (status = 1), SQL <INSERT INTO "OGG_STGPIV"."PSTREENODE" ("SETID","SETCNTRLVALUE","TREE_NAME","EFFDT","TREE_NODE_NUM","TREE_NODE","TREE_BRANCH","TREE_NODE_NUM_END","TREE_LEVEL_NUM","TREE_NODE_TYPE","PARENT_NODE_NUM","PARENT_NODE_NAME","OLD_TREE_NODE_NUM","NODECOL_IMAGE","NODEEXP_IMAGE","DML_TYPE","DML_DATE","DML_SCN") VALUES (:a0,:a1,:a2,:a3,:a4,:a5,:a6,:a7,:a8,:a9,:a10,:a11,:a12,:a13,:a14,:a15,:a16,:a17)>.
    privilege granted to my user :
    grant EXECUTE ANY RULE SET to "GGADM" WITH ADMIN OPTION;
    grant SELECT ANY DICTIONARY to "GGADM" ;
    grant UPDATE ANY TABLE to "GGADM" ;
    grant INSERT ANY TABLE to "GGADM" ;
    grant LOCK ANY TABLE to "GGADM" ;
    grant CREATE TABLE to "GGADM" ;
    grant CREATE RULE to "GGADM" WITH ADMIN OPTION;
    grant CREATE RULE SET to "GGADM" WITH ADMIN OPTION;
    grant DELETE ANY TABLE to "GGADM" ;
    grant UNLIMITED TABLESPACE to "GGADM" ;
    grant ALTER SESSION to "GGADM" ;
    grant CREATE EVALUATION CONTEXT to "GGADM" WITH ADMIN OPTION;
    grant DEQUEUE ANY QUEUE to "GGADM" WITH ADMIN OPTION;
    grant CREATE JOB to "GGADM" ;
    grant SELECT ANY TRANSACTION to "GGADM" ;
    grant CREATE SESSION to "GGADM" ;
    Any idea?

    Hello,
    Try to grant  SELECT ANY TABLE  to GGADM;
    Regards
    Arturo

  • Insufficient privilege while using dynamic sql in procedure

    Hi,
    I am using following script on oracle 10g. and getting unsufficient privs error. please advice.
    SQL> show user
    User is "GRSADM"
    SQL> create or replace procedure grsadm.test_proc as
    a varchar2(2000);
    begin
    a:='CREATE OR REPLACE VIEW
    test_view
    AS SELECT
    ''sadf'' a
    FROM dual';
    execute immediate a;
    end;
    Procedure created.
    SQL> begin
    grsadm.test_proc;
    end;
    begin
    grsadm.test_proc;
    end;
    Error at line 16
    ORA-01031: insufficient privileges
    ORA-06512: at "GRSADM.TEST_PROC", line 9
    ORA-06512: at line 2
    SQL> select * from session_privs
    where privilege like '%VIEW%'
    PRIVILEGE
    CREATE ANY VIEW
    DROP ANY VIEW
    CREATE ANY MATERIALIZED VIEW
    ALTER ANY MATERIALIZED VIEW
    DROP ANY MATERIALIZED VIEW
    5 rows selected.
    Edited by: Ratnesh Sharma on Nov 24, 2011 12:00 PM

    yes it has EXECUTE ANY PROCEDURE priv.
    Following is the list of all the priv this user has.
    PRIVILEGE
    CREATE ANY SQL PROFILE
    DROP ANY SQL PROFILE
    GRANT ANY OBJECT PRIVILEGE
    DEBUG CONNECT SESSION
    RESUMABLE
    ADMINISTER DATABASE TRIGGER
    ADMINISTER RESOURCE MANAGER
    DROP ANY OUTLINE
    DROP ANY CONTEXT
    CREATE ANY CONTEXT
    MANAGE ANY QUEUE
    DROP ANY DIMENSION
    CREATE ANY DIMENSION
    GLOBAL QUERY REWRITE
    DROP ANY INDEXTYPE
    CREATE ANY INDEXTYPE
    DROP ANY OPERATOR
    CREATE ANY OPERATOR
    DROP ANY LIBRARY
    CREATE ANY LIBRARY
    EXECUTE ANY TYPE
    DROP ANY TYPE
    ALTER ANY TYPE
    CREATE ANY TYPE
    DROP ANY DIRECTORY
    CREATE ANY DIRECTORY
    DROP ANY MATERIALIZED VIEW
    ALTER ANY MATERIALIZED VIEW
    CREATE ANY MATERIALIZED VIEW
    ANALYZE ANY
    DROP PROFILE
    CREATE PROFILE
    DROP ANY TRIGGER
    ALTER ANY TRIGGER
    CREATE ANY TRIGGER
    EXECUTE ANY PROCEDURE
    DROP ANY PROCEDURE
    ALTER ANY PROCEDURE
    CREATE ANY PROCEDURE
    CREATE PROCEDURE
    AUDIT ANY
    DROP ANY ROLE
    CREATE ROLE
    DROP PUBLIC DATABASE LINK
    CREATE PUBLIC DATABASE LINK
    CREATE DATABASE LINK
    DROP ANY SEQUENCE
    CREATE ANY SEQUENCE
    DROP ANY VIEW
    CREATE ANY VIEW
    DROP PUBLIC SYNONYM
    CREATE PUBLIC SYNONYM
    DROP ANY SYNONYM
    CREATE ANY SYNONYM
    DROP ANY INDEX
    ALTER ANY INDEX
    CREATE ANY INDEX
    DROP ANY CLUSTER
    CREATE ANY CLUSTER
    DELETE ANY TABLE
    UPDATE ANY TABLE
    INSERT ANY TABLE
    SELECT ANY TABLE
    COMMENT ANY TABLE
    DROP ANY TABLE
    ALTER ANY TABLE
    CREATE ANY TABLE
    DROP ROLLBACK SEGMENT
    CREATE ROLLBACK SEGMENT
    DROP USER
    BECOME USER
    CREATE USER
    UNLIMITED TABLESPACE
    DROP TABLESPACE
    ALTER TABLESPACE
    CREATE TABLESPACE
    CREATE SESSION
    ALTER SYSTEM

  • Apple loops say that i have insufficient privileges when using them in logi

    i know that there is probably a post already, but plz help if you can. i did search a little, but did not find what i was looking for.
    when i drag out of loop browser onto the arrange i get error message from logic about the (topic subject).

    i know that there is probably a post already, but plz
    help if you can. i did search a little, but did not
    find what i was looking for.
    when i drag out of loop browser onto the arrange i
    get error message from logic about the (topic
    subject).
    Restart your computer, login to your admin account, open up disk utility (it's inside machd/applications/utilities) and repair permissions. Restart and you should be fine. If that doesn't work, do a command-i on the apple loops folder and set the permissions for the folder to allow you and others to read and write.
    HL

  • Error: 01031-INSUFFICIENT PRIVILEGES

    Hello,
    am facing a problem with my database.
    Whenever am trying to login with sysdba have got an error of *"01031-INSUFFICIENT PRIVILEGES"*.
    am using "/ as sysdba" command in oracle 10g database.
    Kindly help me.
    Thanks & Regards,
    Neha Gupta

    Below attached is the contents of 'SQLNET.ORA'
    # sqlnet.ora Network Configuration File: E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Regards,
    Neha

  • Register Schema / privilege

    Hi,
    I have read through the topic on registerschema but I'm still having a pb.
    I have a stored procedure which register a schema but if I'm not logged as sys/***@sid as sysdba when I exec the proc, I get an error insufficient privilege.
    The test user I use has all priviliges/roles : XDBAdmin, DBA, connect, resource, ...
    This user can create, delete anything in the repository without any pb, the only thing refused is register schema.
    Any clue?
    Vlad

    Here is one example of schema :
    <?xml version = '1.0'?>
    <xsd:schema xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
    <xsd:element name="ROWSET" xdb:defaultTable="XML_GENERATED_CONGE" xdb:global="false">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ROW" minOccurs="0" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ID_CONGE" type="xsd:long" minOccurs="0"/>
    <xsd:element name="ID_CHEMINOT" type="xsd:long" minOccurs="0"/>
    <xsd:element name="DATE_DEBUT" type="xsd:string" minOccurs="0"/>
    <xsd:element name="DATE_FIN" type="xsd:string" minOccurs="0"/>
    <xsd:element name="ACCORD" type="xsd:string" minOccurs="0"/>
    </xsd:sequence>
    <xsd:attribute name="num" type="xsd:integer"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I hava added xdb:global="false" but it does not change the error:ORA-01031: insufficient privileges

  • Create materialized view throws insufficient privileges in single schema

    I'm trying to create a complex materialized view in my own schema, using only tables from my own schema:
    CREATE MATERIALIZED VIEW MYSCHEMA.MYMVIEW AS
        SELECT
            A.ONE_THING,
            B.ANOTHER_THING,
            C.A_THIRD_THING
        FROM MYSCHEMA.TABLEA A
        JOIN MYSCHEMA.TABLEB B
            ON A.COL1 = B.COL1
        JOIN MYSCHEMA.TABLEC C
            ON A.COL2 = C.COL2The line JOIN MYSCHEMA.TABLEB B throws an ORA-01031: insufficient privileges error, highlighting TABLEB.
    I understand that grants need to be explicit on tables when creating objects across schemas, but this code is operating within my own schema only; i created and own all the tables in this schema.
    What's going on?
    Thanks!

    Perhaps it is the tool that i am using that highlights the wrong item, because as it turns out, i don't have the CREATE MATERIALIZED VIEW permission after all (the permission was mistakenly granted to a different user instead of to me).
    SELECT * FROM SESSION_PRIVS;returns CREATE VIEW, but does not return CREATE MATERIALIZED VIEW.
    Sorry to have wasted your time.

  • SQL Developer - Schema - Application Express - insufficient privileges

    Hello there,
    we use a couple of apex applications on different workspaces here and every workspace has a same named schema.
    Every schema has a schema user (named like the schema) and we usually work with the sql developer.
    Everything works there but when i try to access the apex application over "Application Express" -> "Application name" i see the main properties of the application but when i try to call the tab "Pages" or "Processes" i get an ORA1031 (insufficient privileges).
    On another 10g / Linux / Apex Server it works like a charm.
    What shall i configure to make it work? GRANT SELECT ANY TABLE works but i don't want to grant this to the schema user.
    Regards
    Daniel
    (Oracle 11g / Windows / Apex 4.1)

    Hi,
    thanks for your answer.
    Yes, the applications use "their" schema as parsing schema (Applicationdefinition -> Parsing-Schema).
    Is that what you asked for?
    Thanks
    Daniel

  • Insufficient privilege: Can't export objects in schema..user has no privilege on the underlying objects

    I'm using SYSTEM user but
    HDBSTUDIO continues on triggering this error when I try to export the catalog:
    SAP DBTech JDBC: [258]: insufficient privilege: Can't export objects in schema DARTEL_TRANSPORTES. Can't export procedure DARTEL_TRANSPORTES.PAL_TRIPLE_SMOOTH_WRAPPER. user has no privilege on the underlying objects
    When trying to grant the SYSTEM user to that particular object  I get a new error : Could not modify user 'SYSTEM'. Several issues occurred
    Have anyone have struggled with this error before, any help will be highly appreciated
    Kind Regards

    rev 69 too
    tomorrow I will have the webex and let you know
    Something happenned after my customer change the suse's server IP, I had to perform a re-installation of SAP Business One only
    We were supposed to install using the hostname but no one of the installers let me use the hostname
    so it Kind of forced me to use the IP.
    After asking Support about that one of the specialists told me that he prefers to use IP instead of the hostname. So I used IP.
    Maybe this changed something I cannot detect yet. but tomorrow we'll see.
    KR

  • Insufficient privileges using execute immediate in after logon trigger

    I have an after logon trigger that executes a package/procedure in the schema it was created in.
    One of the procedures runs the following:
    EXECUTE IMMEDIATE 'AUDIT INSERT TABLE, UPDATE TABLE, DELETE TABLE, EXECUTE PROCEDURE BY ' || USER;
    The procedure is throwing an insufficient privileges error when executing this.
    However - the schema owner has audit any and audit system privileges and - the statement works fine independently.
    When I login as another user this issue arises. The package/procedure are created with definers rights... So - i'm not sure why this is happenening.
    Any help is appreciated.

    privileges acquired via ROLE do NOT apply within named PL/SQL procedures.
    SQL> SET ROLE NONE
    SQL> --issue AUDIT again now                                                                                                                                                                                                                                                               

  • ORA-01031: insufficient privileges when creating a table in other schema

    Dear all,
    I appreciate your help please in this issue :
    when i try to issue the below statement to create a table in an another schema than the user i am connected in
    CREATE TABLE SCHEMA_NAME_B.HST_ARCH nologging AS
    SELECT *
    FROM HST
    WHERE 1 = 0;
    I always get ORA-01031: insufficient privileges error, even if i have granted the create table privilege to the user i am connected in.
    What other privileges should i grant also,
    Please if you have any idea.

    user562674 wrote:
    Dear all,
    I appreciate your help please in this issue :
    when i try to issue the below statement to create a table in an another schema than the user i am connected in
    CREATE TABLE SCHEMA_NAME_B.HST_ARCH nologging AS
    SELECT *
    FROM HST
    WHERE 1 = 0;
    I always get ORA-01031: insufficient privileges error, even if i have granted the create table privilege to the user i am connected in.
    What other privileges should i grant also,
    Can you show us a cut/paste from the sql*plus of session of yours which should show that you have given the privilege directly to this user and after that the command fails?
    Aman....

  • ORA-01031:Insufficient Privileges error when I am trying to use ALERT_QUE

    Hi,
    I am working on SYS.ALERT.QUE for getting system alerts. I am using ODP in C# for connecting to Oracle database with username = SYSTEM, but when I am trying to enque or deque any message from SYS.ALERT.QUE, its gives an error ORA-01031:Insufficient Privileges. I am not able to understand how to assign SYSDBA privileges to SYSTEM and access ALERT_QUE for getting system alerts. I am posting my code below, plz have a look and let me know whats wrong with the code. I am able to connect to databse using SYSTEM, do I need to use username = SYS for accesing ALERT_QUE of database? Plz let me know whats the solution.
    OracleConnection con = new OracleConnection(constr);
    // Create queue
    OracleAQQueue queue = new OracleAQQueue("sys.alert_que", con);
    // Open connection
    con.Open();
    // Begin txn for enqueue
    OracleTransaction txn = con.BeginTransaction();
    // Set message type for the queue
    queue.MessageType = OracleAQMessageType.Raw;
    // Prepare message and RAW payload
    OracleAQMessage enqMsg = new OracleAQMessage();
    byte[] bytePayload = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
    enqMsg.Payload = bytePayload;
    OracleAQAgent[] agent = new OracleAQAgent[1];
    agent[0] = new OracleAQAgent("SUBSCRIBER1");
    enqMsg.Recipients = agent;
    enqMsg.SenderId = new OracleAQAgent("SENDER1");
    // Prepare to Enqueue
    queue.EnqueueOptions.Visibility = OracleAQVisibilityMode.OnCommit;
    // Enqueue message
    queue.Enqueue(enqMsg);
    The code throws exception at line "queue.Enqueue(enqMsg);" saying ORA-01031:Insufficient Privileges
    Edited by: 916462 on Feb 27, 2012 3:31 AM

    Hi Sudheendra,
    Thanks a lot, that worked. Now I am facing one more new issue, when I am trying to deque message from ALERT_QUE which is oracle maintained queue for alerts, I am getting an error "ORA-25215:User data type and queue type do not match". Is there something wrong with my code like Message type, payload and all. I am very new to Oracle database so I don't have idea about this details. Can u plz help me in solving this.
    OracleTransaction txn = con.BeginTransaction();
    // Set message type for the queue
    queue.MessageType = OracleAQMessageType.Raw;
    // Prepare message and RAW payload
    OracleAQMessage enqMsg = new OracleAQMessage();
    byte[] bytePayload = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
    enqMsg.Payload = bytePayload;
    OracleAQAgent[] agent = new OracleAQAgent[1];
    agent[0] = new OracleAQAgent("SUBSCRIBER1");
    enqMsg.Recipients = agent;
    enqMsg.SenderId = new OracleAQAgent("SENDER1");
    // Begin txn for Dequeue
    txn = con.BeginTransaction();
    // Prepare to Dequeue
    queue.DequeueOptions.Visibility = OracleAQVisibilityMode.OnCommit;
    queue.DequeueOptions.Wait = 10;
    queue.DequeueOptions.ConsumerName = "SUBSCRIBER1";
    // Dequeue message
    OracleAQMessage deqMsg = queue.Dequeue();
    txn.Commit();
    Edited by: 916462 on Feb 28, 2012 9:55 PM

  • Get ORA-01031: insufficient privileges error, but only when using dbstart.

    I am getting ORA-01031: insufficient privileges error, but only when using dbstart. the listener starts but not the database. How come I can start it from SQL prompt but not from dbstart scripts as the oracle user?
    [oracle@mallard bin]$ ./dbstart
    Processing Database instance "gf44": log file /prod/oracle/10/startup.log
    [oracle@mallard bin]$
    Log file:
    Wed Aug 20 10:15:02 CDT 2008
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug 20 10:15:02 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> ERROR:
    ORA-01031: insufficient privileges
    SQL> ORA-01031: insufficient privileges
    SQL>
    /prod/oracle/10/bin/dbstart: Database instance "gf44" warm started.
    >
    oratab file:
    gf44:/prod/oracle/10:Y
    dbstart file section:
    # See if it is a V6 or V7 database
    VERSION=undef
    if [ -f $ORACLE_HOME/bin/sqldba ] ; then
    SQLDBA=svrmgrl
    VERSION=`$ORACLE_HOME/bin/sqldba command=exit | awk '
    /SQL\*DBA: (Release|Version)/ {split($3, V, ".") ;
          print V[1]}'`
    case $VERSION in
    "6") ;;
    *) VERSION="internal" ;;
    esac
    else
    if [ -f $ORACLE_HOME/bin/svrmgrl ] ; then
    SQLDBA=svrmgrl
    VERSION="internal"
    else
    SQLDBA="sqlplus /nolog"
    fi
    fi
    Permissions of file:
    [oracle@mallard bin]$ ls -la dbstart
    -rwxrwxr-x 1 oracle oinstall 10407 Aug 19 12:27 dbstart
    [oracle@mallard bin]$
    User permissions:
    [root@mallard 10]# id oracle
    uid=503(oracle) gid=503(oinstall) groups=503(oinstall),504(dba)
    [root@mallard 10]#
    I can start the listener manually using "./lsnrctl start" and start the database manually from sql prompt using "SQL>startup" (as sysdba) with no problems. this only happens when using dbstart file. I am logged in as oracle user and all environment variables are set
    Thank you for any help you could provide.

    I have the same problem, but i don't want insert this string
    Connect sys/{password} as sysdbaI have deployed an Oracle 10g with os SunOS
    $ uname -a
    SunOS DB02 5.10 Generic_141444-09 sun4v sparc SUNW,Sun-Blade-T6320
    I can connect with sys/password, but I can't login with
    $ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jan 7 15:19:50 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL> connect / as sysdba
    ERROR:
    ORA-01031: insufficient privilegesthe the startup and dbshut don't work.
    Someone maybe help me?
    Thanks,
    Regards.
    Lain

  • "ORA-20171 WM error: Insufficient privileges" using mergeTable

    Hi,
    I deleted 1 row on a table in a workspace and committed. Now when I do mergeTable for that row I get the following error:
    ORA-20171 WM error: Insufficient privileges
    ORA-06512 at “WMSYS.LT”, line 7203
    ORA-06512 as line 7
    DBMS_WM.mergetable(WORKSPACE => ‘xxxx’,TABLE_ID =>’yyyy’,WHERE_CLAUSE => 'PK_COLUMN = id',REMOVE_DATA => FALSE,AUTO_COMMIT => FALSE);
    The user that i'm using to log in the db has all the available privilieges for all workspaces: XXX_ANY_WORKSPACE; and he is the owner of the refered table.
    Can you help me?
    Thanks in advance.
    Best regards,
    Pedro Lourenço

    Hi,
    We are using version 10.2.0.4.3 of OWM.
    The call stack you asked for:
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x1c37310b8 342 package body WMSYS.WM_ERROR
    0x1c37310b8 359 package body WMSYS.WM_ERROR
    0x1c37787d8 8643 package body WMSYS.LTUTIL
    0x1c36e6ef8 17 package body WMSYS.OWM_ASSERT_PKG
    0x1c450d8c8 5057 package body WMSYS.LTADM
    0x1c450d8c8 6999 package body WMSYS.LTADM
    0x1c450d8c8 7158 package body WMSYS.LTADM
    0x1c450d8c8 9094 package body WMSYS.LTADM
    0x1c48f5910 2743 package body WMSYS.LT
    0x1c48f5910 2467 package body WMSYS.LT
    0x1c48f5910 2409 package body WMSYS.LT
    0x1c48f5910 7191 package body WMSYS.LT
    0x1a9d70c70 7 anonymous block
    ----- Call Stack Trace -----
    Any idea? Thanks.
    Regards,
    Pedro Lourenço

Maybe you are looking for

  • 401 - unauthorized error while connecting to web service -Sharepoint 2010

    hi, i am calling webservice which is installed in sharepoint from custom pages. my server is not load balanced but i got error like 401 unauthourized. I set dword value to 1 for loopback issue still i got the same error i also used default credential

  • Driver software for vista having problems

    something is wrong with the driver software on my computer im trying to use my new ipod nano 5th generation on my computer that uses windows vista everytime i plug it in though it says that my computer doesnt have the proper driver software to work p

  • IPod shuffle does not charge

    My iPod shuffle, one year old, does no longer charge. Neither when connected to the computer nor directly at the socket. It is also no longer recognised in iTunes.

  • Client/Server network traffic.

    I don't know if here is the right forum to ask it, but let's go on. Nowadays we a system on Forms 4.5/windows/Oracle 8.0 We have some clients machines linked to the server by a Frame-Relay link and we use Windows 2000 Terminal Server to reduce the ne

  • SSL termination problem

    Hi all, I configured an ACE for SSL termination and it works fine if I open the url from a PC in my LAN. If I access the url from the internet (ADSL) it however doesn't work. I captured the traffic and see that when I come from the internet the ACE s