ORA-01031: insufficient privileges (Oracle 8.1.7.0)

Hi,
We are in the process of creating the test database (8.1.7.0) server on the new server machine having WINDOWS OS.
I have installed oracle software and created the default database along with setup and thus created the TEST database.
Listner is also working and also got connected to database server by login using "SYS@TEST as SYSDBA" user
But now, when i try to shutdown / startup the database it show the following error :
ORA-01031: insufficient privileges
Though i have logged in as sysdba, it is not allowing to do so.
Also checked the ROLES and PRIVILEGES for SYS and SYSTEM users.
Both users are having all the default roles and privileges that have been given automatically during database creation.
where is mistake done ???
With Regards

Hi,
please check:
SQLNET.AUTHENTICATION_SERVICES= (NTS)
# 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)
sqlnet.expire_time=2

Similar Messages

  • Ora-01031 insufficient privileges oracle

    Hi to all,
    I have installed oracle 10g and created new database. When i try to create the simple view its showing the following error.
    ora-01031 insufficient privileges oracle
    Note: if i have logged thru admin user, i could able to create the view (system & manager). Though i have provide the grant permission i could not able to create the view, its asking for priviledges.
    say create or replace view view_name as select * from employees;
    Error: ora-01031 insufficient privileges oracle
    Thanks in advance

    Hi,
    You need the CREATE VIEW system privilege in order to create a view. This is in addition to SELECT privileges on the tables granted directly to you (not to some role you have).

  • Oracle does not start automatically ORA-01031: insufficient privileges

    Hi,
    OS WS2008R2.
    ORACLE 11gR2.
    Oracle Instance does not start with oracle services but if i stop and restart the services it comes up clean.
    Moreover if i change service ownership to Domain\Administrator it again works well.
    Checked registery and all ok. No error in alert.log. Only clue found in Oradim.log.
    ORADIM.LOG....
    C:\Oracle\Ora11g\bin\oradim.exe -startup -sid ptdb -usrpwd * -log oradim.log -nocheck 0
    Thu Nov 15 15:16:15 2012
    ORA-01031: insufficient privileges
    Please help
    Thanks

    1- startup type- Auto
    2- Group to user- ORA_DBA
    3 - you can check log on tab in the service properties and set the username and password who responsible about this services
    As i already stated 3 works. but i want it to work under Local System and not under any user.
    Thanks

  • Not able to Start the oracle db error "ORA-01031: insufficient privileges"

    Hi experts,
    I have oracle 11g setup on so solaris. i changed the db_cache_size
    & processes values and stopped the DB services after that i am not able to start the oracle DB. Listener is running.
    when i start the db server its giving the below error(startup.log)
    ./dbstart: Starting up database "orcl"
    Mon Sep 27 04:31:08 MDT 2010
    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Sep 27 04:31:08 2010
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    SQL> ERROR:
    ORA-01031: insufficient privileges
    SQL> ORA-01031: insufficient privileges
    SQL>
    ./dbstart: Database instance "orcl" warm started.
    Please help me to ressolve this issue.
    Thanks
    Krishna

    yes, password file is there in /etc/passwd
    here are the contents:
    root:x:0:0:Super-User:/:/sbin/sh
    lroot:x:0:0:Super-User:/:/sbin/sh
    daemon:x:1:1::/:
    bin:x:2:2::/usr/bin:/bin/false
    sys:x:3:3::/:
    adm:x:4:4:Admin:/var/adm:/bin/false
    lp:x:71:8:Line Printer Admin:/usr/spool/lp:/bin/false
    uucp:x:5:5:uucp Admin:/usr/lib/uucp:/bin/false
    nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
    listen:x:37:4:Network Admin:/usr/net/nls:/bin/false
    nobody:x:60001:60001:Nobody:/:/bin/false
    noaccess:x:60002:60002:No Access User:/:/bin/false
    nobody4:x:65534:65534:SunOS 4.x Nobody:/:/bin/false
    itunix:x:50000:14:IT Unix Account:/export/home/itunix:/bin/csh
    hharika:x:765:38:Harpal Harika:/export/home/hharika:/bin/csh
    prsingh:x:795:38:Pradeep Singh:/export/home/prsingh:/bin/csh
    mmir:x:1229:21:Mir Monis Ali:/export/home/mmir:/bin/csh
    bogunnai:x:1207:21:Bose Ogunnaike:/export/home/bogunnai:/bin/ksh
    mpokala:x:2117:21:Mahesh Pokala:/export/home/mpokala:/bin/ksh
    apopov:x:2385:38:Anton Popov:/export/home/apopov:/bin/csh
    kkeith:x:2629:227:Kevin Keith:/home/kkeith:/usr/bin/ksh
    sshd:x:22:22:SSH Privsep:/var/empty:/bin/false
    patrol:x:2784:10:Patrol User:/opt/bmc:/usr/bin/ksh
    smmsp:x:25:25:Sendmail Submission user:/none:/bin/false
    ldap:x:50001:1002::/export/home/ldap:/bin/sh
    perfuser:x:884:268::/export/home/perfuser:/bin/csh
    webservd:x:80:80::/home/webservd:/bin/pfsh
    oracle:x:156:40:Oracle Software Owner:/export/home/oracle:/bin/bash
    perfuser_idc:x:64383:1::/home/perfuser_idc:/bin/sh
    idc_perf:x:64384:292::/home/idc_perf:/bin/sh

  • ORA-01031: insufficient privileges in oracle 10.2 in windows 2008r2

    Dear All,
    We have install SAP ecc6 EHP4 on oracle 10.2.0.5 on windows 2008R2
    whenever we schedule any activity in db13 we are getting below error .
    =================================
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000059, user ID PARESH)
    Execute logical command BRBACKUP On host IRDAECCDEV
    Parameters:-u / -jid FLL__20110922104226 -c force -t online -m full -p initieq_online.sap
    BR0051I BRBACKUP 7.20 (3)
    BR0055I Start of database backup: begvgwgh.fnf 2011-09-22 10.42.27
    BR0484I BRBACKUP log file: K:\oracle\IEQ\sapbackup\begvgwgh.fnf
    BR0280I BRBACKUP time stamp: 2011-09-22 10.42.28
    BR0301E SQL error -1031 at location BrInitOraCreate-2, SQL statement:
    'CONNECT / AT PROF_CONN IN SYSOPER MODE'
    ORA-01031: insufficient privileges
    BR0303E Determination of Oracle version failed
    =================================
    As per sap note 400421 i have carry out all the check and all are perfect.
    Also i have check below notes and every thing are fine
    Note 834917 - Oracle Database 10g: New database role SAPCONN
    Note 1028220 - ORA-01031: Insufficient privileges despite SAPCONN role
    Note 700548 - FAQ: Oracle authorizations
    Also i have check the note which suggest to run the sapdba_role.sql script
    But still i am getting the same error.
    Also SAPSID services is running with user id sapserviceSID and i change it to SIDadm but no lock.
    Request you please help me in this regard.
    Sincerely
    Paresh

    As expected
    This is really a very small problem but very weird we suffered so many times. May be we should confirm the authorizations for SAPServiceSID and sidadm users on that windows host, sometimes we miss this part in Windows to check.
    Kernel folders should be proper accessible by both of the users. Also, please keep SAP instance service via SAPServiceSID itself.
    Just to reconfirm - you restarted SAP and restarted SAP/Oracle services as well, right ?
    Thanks

  • ORA-01031: insufficient privileges getting After upg. oracle from 8i to 9i

    Hi,
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    C:\Documents and Settings\s47adm>sqlplus "/as sysdba"
    SQL*Plus: Release 9.2.0.7.0 - Production on Thu Apr 9 19:20:10 2009
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: system
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Enter user-name:
    *The above happened after successfully upgraded oracle from 8i to 9i.  After upgrade assistant successfully completed then its giving above error. Please help ASAP.

    Rohit,
    Thanks for your reply.
    Its solved.....I just changed NTS in place of NONE in the below line of sqlnet.ora file.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    With Regards,
    Krishna.

  • ORA-01031: insufficient privileges in Oracle 7.3.4.1

    Hi
    I am trying to grant select privilege on a table to public so that all users can access to that table. But I am geeting ORA-01031. I am connect to Internal user in Oracle 7.3.4.1
    GRANT SELECT ON apps.sytem_d_global TO PUBLIC;
    ORA-01031: insufficient privileges
    Regards
    Yashwant

    The answer of Ed Stevens is correct.
    Internal won't work, or you need to use a workaround.
    Note: this is NOT a bug, it is BY DESIGN.
    This feature has been implemented in 9iR2.
    Sybrand Bakker
    Senior Oracle DBA

  • Ora-01031 insufficient privileges in oracle

    Hi All,
    I have a case where in i have upgraded my oracle 10.2.0.2 to 10.2.0.4 in solaris env.
    After upgrade i am able to start and use the system but when i schedule a job in DB13 for ex update statis. it is giving an error
    ora-01031 insufficient privileges in oracle.
    Please let me know how to go about it, as i am doing an EHP4 upgrade on same system.
    Thanks & Regards,
    Balaji.S

    Balaji,
    Check SAP Note 1028220 - ORA-01031: Insufficient privileges despite SAPCONN role
    SAP note 134592 sapdba_role.sql
    Also see below threads. It may help you.
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    Brconnect  Error
    Thanks,
    Sushil

  • ORA-01031: insufficient privileges despite oracle belonging to DBA group

    DB Version : 10.2.0.4.0
    OS Version : Solaris 5.10
    Os user oracle already belongs to DBA group.
    $ id -a
    uid=1001(oracle) gid=1100(oinstall) groups=1100(oinstall),1800(dba)But, i get the following error
    $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Nov 29 14:33:59 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: ^C
    $
    $
    $ sqlplus sys/password as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Nov 29 09:34:13 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, Data Mining and Real Application Testing options
    SQL>Value of remote_login_passwordfile parameter
    SQL> show parameter password
    NAME                                 TYPE        VALUE
    remote_login_passwordfile            string      EXCLUSIVEWhat could possibly be the reason?

    Hi,
    Have you create the orapw file in the $ORACLE_HOME/dbs with orapwd ?
    example :
    orapwd file=${ORACLE_HOME}/dbs/orapw${ORACLE_SID} password=change_on_install entries=40
    Then the unix user oracle will be create in the orapw${ORACLE_SID} file
    after if you want to create another user :
    grant sysdba to TOTO; the unix user TOTO could do : connect / as sysdba
    Regards,
    Mario Alcaide
    http://marioalcaide.wordpress.com

  • Oracle Database 10g Express Edition (ORA-01031: insufficient privileges)

    Hello,
    I am new to 10g Express. I am working on Windows XP and I have Oracle App Server and JDev install on my box. I just installed 10g Express. When I try to connect to the database but I get the following error msg:
    SQL> connect sys/admin as sysdba;
    ERROR: ORA-01031: insufficient privileges
    I am also not able to see the homepage either.
    Can some please help.
    Thanks
    etnot

    Are you saying you can only have one instance of an
    Oracle Database install if you are going to use
    Oracle XE?Yes.
    Oracle Database XE is free for usage with the following limitations:
    • Supports up to 4GB of user data (in addition to Oracle system data)
    • Single instance only of Oracle Database XE on any server
    • May be installed on a multiple CPU server, but only executes on one processor in any server
    • May be installed on a server with any amount of memory, but will only use up to 1GB RAM of available memory

  • ORA-01031: insufficient privileges in PL/SQL but not in SQL

    I have problem with following situation.
    I switched current schema to another one "ban", and selected 4 rows from "ed"
    alter session set current_schema=ban;
    SELECT * FROM ed.PS WHERE ROWNUM < 5;
    the output is OK, and I get 4 rows like
    ID_S ID_Z
    1000152 1
    1000153 1
    1000154 1
    1000155 1
    but following procedure is compiled with warning
    create or replace
    procedure proc1
    as
    rowcnt int;
    begin
    select count(*) into rowcnt from ed.PS where rownum < 5;
    end;
    "Create procedure, executed in 0.031 sec."
    5,29,PL/SQL: ORA-01031: insufficient privileges
    5,2,PL/SQL: SQL Statement ignored
    ,,Total execution time 0.047 sec.
    Could you help me why SELECT does work in SQL but not in PL/SQL procedure?
    Thanks.
    Message was edited by:
    MattSk

    Privs granted via a role are only valid from SQL - and not from/within stored PL/SQL code.
    Quoting Tom's (from http://asktom.oracle.com) response to this:I did address this role thing in my book Expert one on one Oracle:
    <quote>
    What happens when we compile a Definer rights procedure
    When we compile the procedure into the database, a couple of things happen with regards to
    privileges.  We will list them here briefly and then go into more detail:
    q    All of the objects the procedure statically accesses (anything not accessed via dynamic SQL)
    are verified for existence. Names are resolved via the standard scoping rules as they apply to the
    definer of the procedure.
    q    All of the objects it accesses are verified to ensure that the required access mode will be
    available. That is, if an attempt to UPDATE T is made - Oracle will verify the definer or PUBLIC
    has the ability to UPDATE T without use of any ROLES.
    q    A dependency between this procedure and the referenced objects is setup and maintained. If
    this procedure SELECTS FROM T, then a dependency between T and this procedure is recorded
    If, for example, I have a procedure P that attempted to 'SELECT * FROM T', the compiler will first
    resolve T into a fully qualified referenced.  T is an ambiguous name in the database - there may be
    many T's to choose from. Oracle will follow its scoping rules to figure out what T really is, any
    synonyms will be resolved to their base objects and the schema name will be associated with the
    object as well. It does this name resolution using the rules for the currently logged in user (the
    definer). That is, it will look for an object owned by this user called T and use that first (this
    includes private synonyms), then it will look at public synonyms and try to find T and so on.
    Once it determines exactly what T refers to - Oracle will determine if the mode in which we are
    attempting to access T is permitted.   In this case, if we as the definer of the procedure either
    owns the object T or has been granted SELECT on T directly or PUBLIC was granted SELECT, the
    procedure will compile.  If we do not have access to an object called T by a direct grant - the
    procedure P will fail compilation.  So, when the object (the stored procedure that references T) is
    compiled into the database, Oracle will do these checks - and if they "pass", Oracle will compile
    the procedure, store the binary code for the procedure and set up a dependency between this
    procedure and this object T.  This dependency is used to invalidate the procedure later - in the
    event something happens to T that necessitates the stored procedures recompilation.  For example,
    if at a later date - we REVOKE SELECT ON T from the owner of this stored procedure - Oracle will
    mark all stored procedures this user has that are dependent on T, that refer to T, as INVALID. If
    we ALTER T ADD  some column, Oracle can invalidate all of the dependent procedures. This will cause
    them to be recompiled automatically upon their next execution.
    What is interesting to note is not only what is stored but what is not stored when we compile the
    object. Oracle does not store the exact privilege that was used to get access to T. We only know
    that procedure P is dependent on T. We do not know if the reason we were allowed to see T was due
    to:
    q    A grant given to the definer of the procedure (grant select on T to user)
    q    A grant to public on T (grant select on T to public)
    q    The user having the SELECT ANY TABLE privilege
    The reason it is interesting to note what is not stored is that a REVOKE of any of the above will
    cause the procedure P to become invalid. If all three privileges were in place when the procedure
    was compiled, a revoke of ANY of them will invalidate the procedure - forcing it to be recompiled
    before it is executed again. Since all three privileges were in place when we created the procedure
    - it will compile successfully (until we revoke all three that is). This recompilation will happen
    automatically the next time that the procedure is executed.
    Now that the procedure is compiled into the database and the dependencies are all setup, we can
    execute the procedure and be assured that it knows what T is and that T is accessible. If something
    happens to either the table T or to the set of base privileges available to the definer of this
    procedure that might affect our ability to access T -- our procedure will become invalid and will
    need to be recompiled.
    This leads into why ROLES are not enabled during the compilation and execution of a stored
    procedure in Definer rights mode. Oracle is not storing exactly WHY you are allowed to access T -
    only that you are. Any change to your privileges that might cause access to T to go away will cause
    the procedure to become invalid and necessitate its recompilation. Without roles - that means only
    'REVOKE SELECT ANY TABLE' or 'REVOKE SELECT ON T' from the Definer account or from PUBLIC. With
    roles - it greatly expands the number of times we would invalidate this procedure. If some role
    that was granted to some role that was granted to this user was modified, this procedure might go
    invalid, even if we did not rely on that privilege from that role. ROLES are designed to be very
    fluid when compared to GRANTS given to users as far as privilege sets go. For a minute, let's say
    that roles did give us privileges in stored objects. Now, most any time anything was revoked from
    ANY ROLE we had, or any role any role we have has (and so on -- roles can and are granted to roles)
    -- many of our objects would become invalid. Think about that, REVOKE some privilege from a ROLE
    and suddenly your entire database must be recompiled! Consider the impact of revoking some system
    privilege from a ROLE, it would be like doing that to PUBLIC is now, don't do it, just think about
    it (if you do revoke some powerful system privilege from PUBLIC, do it on a test database). If
    PUBLIC had been granted SELECT ANY TABLE, revoking that privilege would cause virtually every
    procedure in the database to go invalid. If procedures relied on roles, virtually every procedure
    in the database would constantly become invalid due to small changes in permissions. Since one of
    the major benefits of procedures is the 'compile once, run many' model - this would be disastrous
    for performance.
    Also consider that roles may be
    q    Non-default: If I have a non-default role and I enable it and I compile a procedure that
    relies on those privileges, when I log out I no longer have that role -- should my procedure become
    invalid -- why? Why not? I could easily argue both sides.
    q    Password Protected: if someone changes the password on a ROLE, should everything that might
    need that role be recompiled?  I might be granted that role but not knowing the new password - I
    can no longer enable it. Should the privileges still be available?  Why or Why not?  Again, arguing
    either side of this is easy. There are cases for and against each.
    The bottom line with respect to roles in procedures with Definer rights are:
    q    You have thousands or tens of thousands of end users. They don't create stored objects (they
    should not). We need roles to manage these people. Roles are designed for these people (end users).
    q    You have far fewer application schema's (things that hold stored objects). For these we want
    to be explicit as to exactly what privileges we need and why. In security terms this is called the
    concept of 'least privileges', you want to specifically say what privilege you need and why you
    need it. If you inherit lots of privileges from roles you cannot do that effectively. We can manage
    to be explicit since the number of development schemas is SMALL (but the number of end users is
    large)...
    q    Having the direct relationship between the definer and the procedure makes for a much more
    efficient database. We recompile objects only when we need to, not when we might need to. It is a
    large efficiency enhancement.
    </quote>

  • ORA-01031: insufficient privileges and shared memory realm does not exist

    Hi all,
    I came to a dead end to start oracle 10.2 database. I have searched on google and this forum, none of these solutions work for me. PS, I have installed 11g on my machine too.
    I have set up ORACLE_SID,ORACLE_HOME to 10.2 database based on the tnsnames.ora.
    follow is error message:
    sqlplus sys as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 3 02:09:54 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-01031: insufficient privileges
    sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Apr 3 02:10:55 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn / as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    SQL> conn scott/tiger
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    First I thought the instance has been start yet, but since I can't login with sysdba. I don't know what other options.
    For 10.2, the tnsnames.ora
    ORA102 =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST =XXX)(PORT = 1523))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = ora102)+
    +)+
    +)+
    LISTENER_ORA102 =
    +(ADDRESS = (PROTOCOL = TCP)(HOST =XXX)(PORT = 1523))+
    EXTPROC_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))+
    +)+
    +(CONNECT_DATA =+
    +(SID = PLSExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /data/oracle/ora102)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    (ADDRESS = (PROTOCOL = TCP)(HOST =XXXXX)(PORT = 1523))
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )

    try do this steps on server side:
    1) sqlplus sys as sysdba
    2) select open_mode from v$database;
    show result 2 step

  • Error while Creating Master Repository: ORA-01031: insufficient Privileges

    Hi,
    I'm trying to install ODI into my VM.
    I have done the installation and while creating Master Repository, I'm getting following error:
    ORA-01031: insufficient Privileges
    I'm using Oracle & have created user as ODI_MASTER with Admin Privileges.
    I'll be using it to load metadata onto planning (Version 11.1.2)
    Is there anything that I'm missing out on.
    Jitendra.

    Seems missing grants on the user you are using to create Master Repository.
    you are using Oracle .. grant connect, resource to <your_user>. These two rolesa have sufficient access to db to create the master repository.
    execuute the sql from sys user
    Regards,
    Amit
    Edited by: amitgupta1202 on 20 Aug, 2009 10:42 PM

  • ORA-01031: insufficient privileges

    Hi Everyone,
    I am facing a weird scenario. In this I am creating a test user and after creating and granting the required privilieges I am executing a procedure in this user.
    The steps are as follows:
    SQL> REM ***
    SQL> connect sys/**** as sysdba
    Connected.
    SQL> REM ****
    SQL> REM grant privileges to the test user
    SQL> grant connect, resource, create table, create view, alter session,
    2 create sequence, create session, create procedure to tester ;
    Grant succeeded.
    SQL> grant unlimited tablespace to tester ;
    Grant succeeded.
    SQL> grant execute on dbms_lock to tester ;
    Grant succeeded.
    SQL> grant create any procedure to tester ;
    Grant succeeded.
    SQL>
    SQL> connect tester/tester
    ERROR:
    ORA-01031: insufficient privileges
    Warning: You are no longer connected to ORACLE.
    SQL> set serveroutput on
    SQL> REM ******
    SQL> declare
    <block of code>
    SP2-0640: Not connected
    SQL> SQL>
    I am executing this process in loop for about 4 times and each time the test user is connected successfully in 1st and 4th run while in 2nd and 3rd run it throws privileges error? Any idea why this error is ocurring?

    SQL> create user test identified by test ;
    User created.
    SQL> grant connect, resource, create table, create view, alter session,create sequence, create session, create procedure to test;
    Grant succeeded.
    SQL> conn test/test ;
    Connected.
    SQL>

  • Ora-01031: Insufficient Privileges error during 10g install on Suse 9.1

    I have tried installing Oracle 10g on Suse 9.1 Professional several times. Although I have tried to carefully follow the instructions in the installation guide, I get the following error.
    When the Database Configuration Assistant start during the initial installation, I receive the error -> Ora-01031: Insufficient Privileges.
    I created the oinstall and dba group according to the installation guide and made oracle a member with oinstall being the primary group. I also ran -> chown -R oracle:oinstall -> on the Oracle_Base folder to which I want to install the software and oradata files. Similarly, I ran -> chmod -R 775 -> on that folder. During the install I ran the script -> oracle_base/oraInventory/orainstRoot.sh -> during the installation when prompted.
    I would really appreciate any help that any of you could provide. Thank you so much in advance.
    -Daniel

    I'm logged in as oracle when I perform the installation but as soon as the database configuration assistant tries to create the database I get this error. I had made oracle a member of oinstall and dba just as it was desribed in the instructions. (At one point I even tried giving oracle root, which didn't seem to work either. I have since reinstalled the OS.)
    Thank you for helping me with this!

Maybe you are looking for

  • Raising error message in a programme

    Dear All, I need to know a way in order to raise an error message in programme i.e when there is an error in the programme and if I run this program it should raise an error message. With Regards, Madhu.S.N

  • Once and for all: What's the best way of recording vocals...

    hiya there, i'm listening to some of my own recordings and it keeps annoying me that i just can't get the vocals to be powerful.... And it's not my singing voice! I've put vocals by other professional singers over my instrumental tracks and it all so

  • I want to make my G4-450 Dual faster..  what can i do???

    G4 DP Firewire 768mb ram right now 30G internal HD 70G Lacie external Running current Tiger i use it for web, design and audio production.. running all the current apps like Photoshop, illustrator, flash, dreamweaver, reason, reycle, deck & peak.. th

  • Yahoo pop server rejecting password on mac pro

    after setting up Mail on my IPAD, the Mail on my Mac Pro is rejected.  I get a pop up asking for my password over and over. 

  • Portable Home Directories try to access network while outside WAN

    Hi, We are a large school district, ready to deploy Macbooks to about 600 staff members who will have phd's. There is one "kink" that we can't figure out on our test machines. While outside of the district, the machine's are trying to access the netw