Connecting as sysdba in OEM

I can connect as sysdba fine through sqlplus.
I can not connect as sysdba using OEM, the famous
'ORA-01031 - insufficient privileges' appears.
What has to be setup to allow 'system' to sign on
to a database using OEM? (Oracle 8.1.6)
Thanks.

Jerry,
If your administrators will be using the OEM console, they do not need to be defined in the database password file. You can get them sysdba prvileges in a database known by OEM by having them access it as a already defined sysdba user.
1. In the OEM console, there is an option called "Manage Administrators" under the "System" menu at the top of the console window. I don't have my server up, but I think I have this right.
2. Define your user as administrator here.
3. When they attempt to access a database from the console, they will be asked how they wish to connect.
4. Have them enter the username/password of a user already defined in that database with sysdba prvileges.
5. Have them select "sysdba" in the "connect as" box.
6. Have them check the save as prefered profile or something like that. ** This one is optional. **
7. Finish connecting to the database.
This way, they don't have to be defined in each database password file and are all managed from the OEM console.
HTH
Al

Similar Messages

  • Error connecting as sysdba

    hi all,
    i m using oracle 11g ie 11.1.0.6.0... my OS version is solaris10. The OS got corrupted and was again re-installed...Oracle was installed in different mount point,so there was no problem from oracle side as creating the oracle user and the relevent groups were done.
    But when connecting as sysdba ie
    sqlplus "/as sysdba" gives
    ERROR:
    ORA-01031: insufficient privileges
    but is able to connect as
    sqlplus /nolog
    SQL>conn sys/****** as sysdba
    connected
    this problem is occuring after OS-re-installation

    Hi,
    Please check if OSDBA operating system group was assigned to O/S user.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/dba006.htm#sthref89

  • Connecting as SYSDBA from Remote Machine

    Hello,
    I've installed Oracle8.6.1 on Linux6.2,& i've installed DBA studio on one my windows'NT machine.
    When i want to connect as SYSDBA from DBA Studio & Username/Password as system/manager it says --
    ORA-01031 Insufficient Privileges
    but i'can connect as SYSOPER & Normal.
    Do anyone know how to solve this problem???
    null

    1. use orapwd command-line utility to create a new password file.
    2. set remote_login_passwordfile = exclusive in initxxx.ora file.
    3. restart instance.
    4. use sql*plus or svrmgrl to grant sysdba right to the schemas you want to be able to logon with sysdba rights.

  • Connecting as sysdba returns ORA-01017: invalid username/password

    SQL Developer on my Win7 x64 Enterprise machine with Oracle 11gR2 Express was working fine until I tried to install the ODAC connectors so I could use Oracle as a data source for C# and VB in Visual Studio 2010.
    The connection properties are:
    Connection name "/ as sysdba"
    Role "default"
    Connection Type "basic"
    OS Authentication checked
    Hostname "localhost"
    Port 1521
    SID "orcl"
    These are the same as when SQL Developer was working.
    If I try to log on to SQL*Plus at the user-name prompt with "/ as sysdba", I get "insufficient privileges".
    Where and what do I check to fix this?
    Thanks.

    >
    Where would I check for DOMAIN/USER entries?
    select username, authentication_type from dba_users;With the prefix, there should be a database user e.g. "OPS$MYDOM\MYUSER" with external identification.
    But with Connection type Basic, I assume you would not be able to connect anyway.
    Try type TNS to see if that works or changes anything. (That is, if corresponding db user exists for OS authentication.)
    Do you have a requirement to use OS authentication? Could you instead use a database user with a password, i.e. uncheck OS Authentication in SQL Developer?
    The connections in SQL Developer are the Auto-Generated Local Connections:
    / as sysdbaI've found a few quirks in SQL Developer 3.0.04 with the auto-generated connection named "/ as sysdba". But right now I don't see that its relevant to this case.
    Just create your own connection instead. If you need sysdba administrative connection, change Role in connection properties.
    >
    By the way, the password for SYSMAN will expire in 5 days. How do I update the password?You should separate questions in separate threads and related forums, but lookup the ALTER USER command in the SQL Reference book.
    Edited by: orafad on Dec 4, 2011 11:47 PM
    Edit:
    parenthesis about os auth part
    Edited by: orafad on Dec 6, 2011 1:29 AM

  • Connecting as sysdba different client versions

    Hi !!
    I've installed client software ver. 8.0 (Designer 6i), Oracle 8.1.7. Client and Oracle Client 9i, over Win2k Prof. There is a script for run an installation process, whose try to execute "connect system@instance as sysdba". In this moment instance could be DBOra81 (RDBMS Oracle 8.1.7.) or DBOra90 (RDBMS Oracle 9.0.1.1.1). Testing the installation script, I found it doesn't work changing the Primary Oracle Home in all cases:
    * Oracle Primary Home DEFAULT_HOME
    SqlPlus 8.0 can't connect any instance. I get ORA-01031: insufficient privileges
    SqlPlus 8.1 connect successfully in both DBOra81 and DBOra90.
    SqlPlus 9.0 can't connect any instance. ORA-01031: insufficient privileges again.
    * Oracle Primary Home Ora81: The same cases
    * Oracle Primary Home Ora90: The Same Cases.
    Why I can't connect as sysdba with Oracle 9i client software ?
    Thank's in advise !!

    issue
    SQL> select * from v$pwfile_users;
    USERNAME SYSDB SYSOP
    SYS TRUE TRUE
    it means sys is connected with sysdba
    and check in spfile
    remote_login_passwordfile=exclusive
    kuljeet pal singh

  • Problem connecting as sysdba ....

    Hi,
    I'm going to manually create manually a database on Windows 2005 server. I have already installed successfully the DB software.
    Having set the ORACLE_HOME , ORACLE_SID and created the oradim i 'm trying to connect as sysdba...but the error ORA-01031 is appeared....
    SQL> conn /as sysdba
    I defined the Administrator user to the ORA_DBA group and tried the above but the same problem insists.....
    What may be the reason ...??? Do i have to restart the server after setting the Administrator user to the ORA_DBA group....???
    Note: I use Ora Db10g. v.2
    Thanks a lot
    Sim

    Hi,
    this line already exists in the file sqlnet.ora... Anyway , i noticed that when i issue the command:
    c:>oradim -new -sid orcl -startmode auto -pfile d:\.......\.....initorcl.ora
    Instance created.
    DIM-00019: create service error.
    O/S - Error: (OS 1376) the specified local group does not exit
    In fact , the service is created in manual mode. When i press the button start ,in the services window, this service is started .. without any error message.
    But when i try SQL>conn /as sysdba ... the error insists (ORA-01031).
    Note: I ' m connected as Administrator. I have assigned the Administrator to the ORA_DBA group . I have not restart the system after the assign...
    Thanks,
    Sim

  • Connect /as sysdba fails

    Hi,
    I have two servers with Oracle 10.2.0.4 running (RHEL 5). In one server I am able to connect using "Connect /as sysdba", in another I am unable to do so. It gives
    ORA-01031: insufficient privileges error
    Both server has osuser name as oracledb and belongs to DBA group. The parameter file has remote_login_password_file=exclusive in both the servers. Can you please help me where I am going wrong?
    -Neel

    Hi;
    ORA-01031: insufficient This issue mention here many times. Please use search mechanism.
    Also see:
    ORA-01031 as sysdba
    ORA-01031 Error When starting Database
    Troubleshooting ORA-1031 Insufficient Privilege [ID 730067.1]
    Regard
    Helios

  • Login as sysdba in OEM

    When i login using scott as sysdba i am able create users and do all the administrative work.Is it a bug or is there any way to prevent it?

    hi,
    Every user can connect as sysdba.if sqlnet.authentication.services=NTS.
    C:\>type d:\oracle\product\10.1.0\db_2\network\admin\sqlnet.ora
    # sqlnet.ora Network Configuration File: D:\oracle\product\10.1.0\Db_2\network\a
    dmin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    SQL> create user  taj identified by taj default tablespace users quota 10m on us
    ers;
    User created.
    SQL> grant create session to taj;
    Grant succeeded.
    SQL> conn taj as sysdba
    Enter password:
    Connected.
    SQL> select count(*) from session_privs;
      COUNT(*)
           173
    SQL> conn taj/taj
    Connected.
    SQL> select count(*) from session_privs;
      COUNT(*)
             1
    SQL>May be sqlnet.ora files is one of reason to connect scott user as sysdba.
    regards
    Taj

  • How connect as SYSDBA after installation

    Hello,
    i have oracle 10g, windows xp both fresh installation.
    After i installed oracle i want use the iSQL*Plus DBA url and Enterprise Manager Database Control URL to connect as SYSDBA, my instllation was basic= i set pass for all sys user. Sysem user works fine but sysdba doesnt work: Your username and/or password are invalid.
    I am member of ora_dba group. If it is not possible connect as sysdba using iSQL*Plus DBA what is the best way connect as sysdba?
    Thnx.
    Message was edited by:
    user503518

    To set up iSQLPlus for SYSDBA capability, you want to read Chapter 2 & 3 of the SQLPlus Reference manual. It provides step by step instructions. http://www.oracle.com/pls/db102/portal.portal_db?selected=3
    Note - the SQLPlus manual, not the SQL manual

  • Want to connect as sysdba in sql*plus

    Hi everybody,
    Greetings...
    I want to connect as sysdba in sql*plus, because i'm trying to install oracle Apex in my system.
    Could you please anybody.

    sqlplus sys/password as sysdbaor
    sqlplus / as sysdbawith OS authentication enabled

  • How can I find exact username if I connected with sysdba privilege?

    I granted sysdba privilge to a database user. I can connect that user as sysdba. From that users session, 'show user' command showing "SYS" and also username from v$session is also showing "SYS". How can I find actual username used for connecting the database as sysdba?
    Steve Abraham

    user10247588 wrote:
    Thanks for the replay..
    But my requirement is that in our production system auditors want to give separate username for each administrators (they are not recommending sys and system).
    Normal dba privilege is not a problem. But for sysdba privilege every users are showing the user "SYS". How we can I identify which user is login to the database for a particular work if they connected as sysdba. How can I find which user did that (not just want the username "SYS", because all the administrators are identified by sys if they are connected as sysdba). If auditing is enabled how can I find the exact username. Because we are planning to give sysdba privilege to some of the administrators.
    Also, is there any option to find the username, if one user is initiate shutdown of the database?First Please close the thread and keep questioning in only one thread.
    then do not connect as sysdba

  • New member of ora_dba group on server can not connect as sysdba.

    We have added a new dba to our staff and have made him a member of the local group Ora_dba on the server (9i windows). He can not connect as sysdba but a long-time dba can.
    SQL> connect / @s1 as sysdba
    ORA-01031: insufficient privileges
    I know this is a very old Oracle challenge so I am sure someone can give us some guidance!
    Thanks

    1) Examine the contents of the file located at:
    $ORACLE_HOME/rdbms/lib/config.c
    This file lists the operating-system groups that have administrative access, notably the one listed in the line containing "SS_DBA_GROUP". Is t
    he UNIX account you are using to connect / as sysdba a member of this OS group?
    2) Examine the contents of the file located at:
    $ORACLE_HOME/network/admin/sqlnet.ora
    Within this file, the line containing the string "SQLNET.AUTHENTICATION_SERVICES" should either be commented out, or be set to SQLNET.AUTHENTICATION_SERVICES = (BEQ,NONE)
    3) Check the value of $ORACLE_SID for the UNIX account(s) connecting / as sysdba to ensure it is correct.

  • SQL connect /as sysdba;  ERROR: ORA-01031: insufficient privileges

    wondering what could be the case, OS Solaris10
    SQL*Plus: Release 10.2.0.3.0 - Production on Thu Sep 11 13:36:17 2008
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    SQL> connect /as sysdba;
    ERROR:
    ORA-01031: insufficient privileges
    i have orapwd also setup &
    SQL> connect sys/******** as sysdba;
    Connected.
    SQL> show parameter remote
    NAME TYPE VALUE
    remote_archive_enable string true
    remote_dependencies_mode string TIMESTAMP
    remote_listener string
    remote_login_passwordfile string EXCLUSIVE
    remote_os_authent boolean FALSE
    remote_os_roles boolean FALSE
    Oracle 10.2.0.3: id -a oracle
    uid=101(oracle) gid=101(dba) groups=101(dba)

    Hi DBA2008,
    Please refer to this Metalink Notes:
    - Troubleshooting ORA-1031 Insufficient Privilege While Authentication Note [730067.1|https://metalink.oracle.com/metalink/plsql/f?p=130:14:3634364694467571378::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,730067.1,1,1,1,helvetica]
    - UNIX: Checklist for Resolving Connect AS SYSDBA Issues Note [69642.1|https://metalink.oracle.com/metalink/plsql/f?p=130:14:3634364694467571378::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,730067.1,1,1,1,helvetica]
    - UNIX:Connect Internal asks for password when TWO_TASK is set Note [1066589.6|https://metalink.oracle.com/metalink/plsql/f?p=130:14:3634364694467571378::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,1066589.6,1,0,1,helvetica]
    Regards,
    Francisco Munoz Alvarez
    www.oraclenz.com

  • Connect as SYSDBA or SYSOPER

    Does anyone have a sample on how to connect as either SYSDBA or SYSOPER through 0040?
    Thank you in advance,
    Ben

    Hi,
    First, from the 8.1.7 CD, install the 8i Management Server components option. This will install the management server componenents on your disk.
    Then from the Enterprise Manager menu, run the configuration assistant, which will create the Management server service for you (NT) and create a repository.
    The connect from the Enterprise Manager Console and connect using SYSMAN and password oem_temp. From the Menu, select discoverer/refresh node. Then you have to add the database to the node (it will be detected automatically from server running the Management server or the Intelligence Agent. )
    Then you can connect to the database using sys/<password> and choose SYSDBA role !
    Hope this helps
    Deepak
    i could only connect as NORMAL. i don't have a management server.
    or do i have to log as administrator in order to connect as SYSDBA or SYSOPER?

  • Connecting as sysdba / sysoper

    Hi Guys, If I do this
    connect / as sysdba
    connect / as sysoper
    I am connected but how do I ensure that it prompts me for a sysdba / sysoper password before it connects me.
    Thank you.

    and the exact to connect would be
    $sqlplus "/ as sysdba"
    or
    $sqlplus
    username:/ as sysdba
    password:yourwish/nopassword/anything
    or
    $sqlplus /nolog
    sql> conn / as sysdba
    But for all these things you need to set up ORACLE_SID,ORACLE_HOME,PATH varibales
    but dont use OS authentication

Maybe you are looking for

  • Free Goods and Excise

    Hi Friends, I have a scenario as My client gives some free goods as free items in order. But these free items are excisable....so how do configure this scenario. Where for customer it is free goods, but for company point of view, company has to pay t

  • Problem to assign values to the methods of @PrePersist  and @PreUpdate !

    Good afternoon staff. First I want to make clear that I do not speak English, so forgive some errors in writing. I have a class that has some attributes that are not displayed on the screen and are populated only when the persist or merge, using it t

  • Office 365 Outlook Alert Box Notification when an email arrive

    Hi,  I use office 365 Professional and i search if i can have a notification like a window to alert me because an email is coming in Outlook 365. I searched if a plugin for Chrome, Mozilla or Explorer exist to do that but i found nothing to help me.

  • Value Mapping and graphical mapping

    Hi all I am learning value mapping and all function used in graphical mapping .. can anybody send me inforamtion regarding tht. Any link  appericiated.

  • How import xhtml and css in Indesign?

    I have 100 pages XHTML document and related css. how we import the files in Indesign? Is it Indesign server help us? How? Thanks in advance Sankar Venkat