/ as sysdba

Hi ,
I connected to a database using remote desktop, and when i tried to connect it using / as sysdba , it got connected , though it did not shut down when i gave shutdown immediate command.
It said : insufficient privileges.
But i am wondering , why am i missing the privilege when i am connecting as SYSDBA.
Is it because i am using a remote desktop.
thanks
KKuKreja

What is your os and oracle version?
If I understand correctly you are connecting to the server via remote desktop connection (so I assume your OS is windows) and when you try to connect with:
sqlplus / as sysdbayou get an error?
Please post the exact error and also search the alert log for any related errors and post it.
Please also try to do the following:
sqlplus -prelim / as sysdba
shutdown abort;
exit;
sqlplus / as sysdba
startup;
shutdown immediate;In windows you can stop the oracle database service to stop the database and in linux you can "kill -9 <pmon pid>" kill the pmon process id.
Regards.

Similar Messages

  • System and sysdba difference?

    Hello ;
    What is the difference between system and "as sysdba" difference?
    IS there anything beyond to be a superuser in ORacle world?
    I installed an Oracle and worked on it for a few days in order to set up a connection from sqlplus. Now I can connect to db by using sqlplus finally.
    When I attempt to connect is as "system@xe / as sysdba" , sqlplus screams that "ORA-01031: insufficient privileges" ... How can I get rid of that error message?

    948578 wrote:
    Guys;
    thanks for your link, advises and explanations but none of them is helping me understand...
    I am not trying to connect to the server from itself.
    I have a Oracle Express on Ubuntu (Servername: ubuntu11-3)
    I have a Oracle Ent on Windows (Servername: orc01.enderun.lan )
    ...and I have been trying to configure my linux client (my linux client hostname is "ubuntu12-1"). All my purpose is to connect ubuntu to my server(s) from my linux client as sysdba...
    ...ok I can understand Oracle has an emotional relation with "dba" group but the user (administrator) which is on my client ( ubuntu12-1) is a member of dba group of my client machine or not? How can Oracle server be aware of this???
    Well, I can create a dba group on linux server and/or an ORA_DBA group on Windows server but these groups are not being used by my client (ubuntu12-1) ...
    Could u please help me understand?So if all you want is to connect a client to a server, why you are asking the difference between Sysdba and System accounts? How does that helps in anyways in this task?
    The groups are relevant only for the server. They have got nothing to do with the client and neither Oracle's server system would bother that which user on your client is a part of which group. Now, coming back to your question, did you configure the TNS service from your client connecting to the server and also, did you install a client software on your Ubuntu machine?
    Aman....

  • System and sysdba accounts are locked

    Hi
    System and sysdba accounts are locked I cannot connect
    is there a solution for it??

    no one answered but I could solve it using the user sys.

  • Unable to log in with sysdba privileges

    Hi All,
    I am not able to connect with sysdba privileges through the sql*plus on the remote machine running on Windows. It gives me the following error :
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> conn sys@inftmark as sysdba
    Enter password: ******
    ERROR:
    ORA-01031: insufficient privileges
    Warning: You are no longer connected to ORACLE.
    SQL> while my initialization file has following entries:
    remote_os_authent = true
    remote_login_passwordfile = exclusiveMoreover, i am able to login with user "system" through sql*plus on windows.
    My OS : Solaris 64 bit (database running on Solaris machin)
    Database : 10.2.0.2
    Any idea, what's missing ?

    Yogesh,
    Did you try adding a new password file? In your pfile location, try this --
    1) Remove the existing password (orapw<SID>) file
    2) Generate a new password file - orapwd file=orapw<SID> password=<SYS_passwd>
    Try reconnecting thru the SQL*Plus client.
    - Ravi

  • Create a new user for oracle 10G ASM instance with sysdba system privilege

    Hi,
    In our Golden Gate Project, we require the SYS user credential to connect to the Oracle 10g  ASM instance to read the database transaction logs.But our client is not providing the SYS user credential to  connnect to ASM instance.
    I'm getting the error message "ORA-01109:  database not open",When I tried to create a new user using the  below the steps in oracle 10g ASM instance
    1. Login using "sqlplus / as sysdba"
    2. Create user <username> identified by <password>;
    But in oracle 11g ASM instance, I'm able to create new  user  by connecting the ASM instance with SYSASM role without issues.
    Is there is any workaround to create a new user with sysdba system privilege in oracle 10g ASM instance?.
    Thanks in advance .

    Hi,
    Recreate the password file for the ASM instance as follows:
    Unix:
    orapwd file=<ORACLE_HOME>/dbs/PWD<SID> password=<sys_password>
    Windows:
    orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password>
    Now sys password is reset, we are ready to use sys for ASM management. I decided to create another user ASMDBA as I tried above.
    SQL> create user ASMDBA identified by test01;
    User created.
    SQL> grant SYSASM, SYSOPER to ASMDBA;
    Grant succeeded.
    SQL> select * from v$pwfile_users;
    USERNAME SYSDBA SYSOPE SYSASM
    SYS TRUE TRUE TRUE
    ASMDBA FALSE TRUE TRUE
    Please see this link : http://orachat.com/how-to-change-asm-sys-password-creating-sysasm-user-11g/
    Thank you

  • Error while login as sysdba for creating a new db

    Hi DBAs,
    i need to create a new database base, so trying to login as sysdba after exporting <ORACLE_SID> and <ORACLE_HOME> and getting the following error, need your help urgently.
    SQL> conn / as sysdba
    exec(): 0509-036 Cannot load program oracleDBDOC because of the following errors:0509-150 Dependent module /data/oracle/product/10.2.0.3/lib/libjox10.a(shr.o) could not be loaded.
    0509-022 Cannot load module /data/oracle/product/10.2.0.3/lib/libjox10.a(shr.o)0509-026 System error: The file access permissions do not allow the specified action.
    Regards
    Asif

    I am not very sure about the error but it seems to some permission related error on oracle binaries. Can you check those permissions.
    Have you created pwd file for db ?
    Cheers

  • Steps to find the password for users as sysdba

    What are the steps to find the password for users in dba_users as sysdba?
    It is in encrypted form ? How can I view it ?
    Pls tell in steps ?

    I asked for sysdba
    When he can change password why can't he view ?Can you see the users password on a windows domain? No
    Can you see the users password on a Unix box? No
    Can you see the users password on a mail server? No
    Why would it be different in Oracle?
    Why is hacking coming here ?Because it's something against the way the software works.
    This can, and is, dangerous to let the administrator (Oracle, MsSQL, Win*, Unix,...) know the users password for so many reasons. For example:
    . Privacy
    . Etiquette
    . Password reuse (password reused for Bank account, etc)
    . [insert a whole bunch of other good reasons I'm not going to bother writing]
    And anyway it is useless!
    Yoann.

  • Set password when login as oracle from db server / as sysdba

    10.2.0.3.0
    Hi, we have a linux db server and oracle user (group dba and oinstall) can login / as sysdba without giving any passwords.
    i have created orapwd file and changed REMOTE_LOGIN_PASSWORDFILE=exclusive in init.ora file but still, if someone is in the dba group he can connect without providing a password.
    Can you please tell me how can i succeed for all OS users to be asked for password even if they belong to dba group?
    thank you

    The behavior you describe is normal and experted. By default members of the Oracle Home directory structure owner group can log on as sysdba and can avoid the need to use a valid password since sysdba users actually log in as user sys.
    If you do not want to allow this then you should have installed Oracle with a group other than DBA such as oinstall and then not assigned any OS users to this group.
    HTH -- Mark D Powell --

  • Import statement error as SYSDBA

    Hi,
    As I need to use Sys user as SYSDBA, the syntax through an error which given below.
    Kindly come up with Correct syntax to use SYS user as SYSDBA while import the dump.
    c:\>imp userid=sys/sys@orcl AS SYSDBA
    file=exp_db.dmp log=imp_sct.log fromuser=scott
    _dev touser=scott ignore=y
    LRM-00112: multiple values not allowed for parameter 'userid'
    IMP-00022: failed to process parameters, type 'IMP HELP=Y' for help
    IMP-00000: Import terminated unsuccessfully
    Kindly leave the import syntax by use SYS user as SYSDBA.
    Thanks in advance,
    Orahar.

    Orahar wrote:
    Hi,
    As I need to use Sys user as SYSDBA, the syntax through an error which given below.
    Kindly come up with Correct syntax to use SYS user as SYSDBA while import the dump.
    c:\>imp userid=sys/sys@orcl AS SYSDBA
    file=exp_db.dmp log=imp_sct.log fromuser=scott
    _dev touser=scott ignore=y
    LRM-00112: multiple values not allowed for parameter 'userid'
    IMP-00022: failed to process parameters, type 'IMP HELP=Y' for help
    IMP-00000: Import terminated unsuccessfully
    Kindly leave the import syntax by use SYS user as SYSDBA.
    Thanks in advance,
    Orahar.From the Oracle 10g Database Utilities manual, chapter 19, covering original import and export:
    Invoking Export and Import As SYSDBA
    SYSDBA is used internally and has specialized functions; its behavior is not the same as for generalized users. Therefore, you should not typically need to invoke Export or Import as SYSDBA, except in the following situations:
    At the request of Oracle technical support
    When importing a transportable tablespace set

  • Need my user account to have sysdba rights. Can't get it to work.

    Hi All,
    I have installed sql developer and i don't know how to change my user account to have system rights. when i try to login as sysdba i keep getting errors. I have tried a tutorial, the one were you're suppose to create an hr account but I can't even create that either, i keep getting the same error.
    I have un-installed sql developer twice and each time when I'm re-installing the software i never get the question to create a password for sys or sysdba, it seems that the old dll or ini file are still in the system. So, i just have access as default user and I might have missed the migration part when i first installed this thing. Any ideas? Do I need to download the enterprice manager in order to fix this (that will do it right?), or?? I have no clue at this point. Also, I was thinking that i should be able to change my user account manually somewhere in the orapassw doc. Is that an option? As you can tell im lost and i have a job deadline in the next couple of days, so please if anyone could take a look at my problem wood be wonderful and much appreciated.
    Thx

    SYSDBA should never be used for anything other than backups and patching.
    Which of these two activities do you think appropriate for a user account?
    My answer is the same as Sybrand's. What you are asking is totally inappropriate.
    Far better to tell us specifically which actions you wish to perform and we will
    help you with the specific permissions you require.

  • Start dbconsole failure and incapacity to log on as sysdba

    Hi everyone
    I have successfully installed the oracle software. But I am not able to start dbconsole. After successfully defining oraclesid, dbconsole could not still be started and the following error message is displayed: A service specific error occured
    The second problem I am having is connecting as SYSDBA. I am not sure if I was supposed to do smtgh while installing the software(and creating the dtbse). But I am able to connect to the database as SYSTEM. I though I would have the same privileges as SYSDBA but apparently no. I have tried to start up the database after loging on as system. But it failed.
    Could you please let me know how I could start dbconsole and log on as Sysdba.
    Tx

    Hi user;
    I have successfully installed the oracle software. But I am not able to start dbconsole. After successfully defining oraclesid, dbconsole could not still be started and the following error message is displayed: A service specific error occuredGood to hear you done successfully installed the oracle software, please tell me:
    1. What is your db version
    2. What is your Oracle version
    3. you mean wiht "dbconsole" is EM console?
    4. What is compliate error, how you have this error (type command please and post all error) by the way check log file
    >
    The second problem I am having is connecting as SYSDBA. I am not sure if I was supposed to do smtgh while installing the software(and creating the dtbse). But I am able to connect to the database as SYSTEM. I though I would have the same privileges as SYSDBA but apparently no. I have tried to start up the database after loging on as system. But it failed.1. How you try to connect as sysdba? Type your comment
    Regard
    Helios

  • Problem with sysdba need help

    I faced a difficult problem with sysdba. The thing is, I don't have a user name " 1/2@3 ". But the moment I connected as 1/2@3 as sysdba, then it connected automatically and to utter surprise I could drop a user.
    If it is so, then how the database will remain secure.
    Definitely there is a solution and I need it urgently.

    Hi
    c:\> sqlplus "/ as sysdba"
    After logging into SQL, check the username using:
    SQL> Show user
    If the above command returns "sys", change the password of the user "sys" using:
    SQL> Alter user sys identified by "yourpassword";
    Thank You

  • Problem in jdbc connecting as sysdba

    Dear ORACians,
    i am using database 8.1.5 and jdbc 8.1.5 and jdk 1.5.
    my problem: i want to connect to the database as sysdba through jdbc.
    oracle is telling that to connect to the db as sysdba we have to use properties file. i did the same. It is connecting to the db as normal mode not as sysdba mode why???
    Actual code is:
    Properties conProp = new Properties();
              conProp.put("user", tf[2].getText());
              conProp.put("password", String.valueOf(cpwd.getPassword()));
              conProp.put("internal_logon", "SYSDBA");
    try{
                   DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                   String conUrl ="jdbc:oracle:thin:@"+tf[0].getText()+":"+tf[1].getText()+":"+tf[3].getText();
                   conn=DriverManager.getConnection(conUrl,conProp);
                   stat=conn.createStatement();
                   JOptionPane.showMessageDialog(f,"Connection Estblished...");
                   jdcn.dispose();
              }catch(Exception w){
                   JOptionPane.showMessageDialog(f,String.valueOf(w));
    i hope ORACians will guide me to develop my apps in proper direction.
    urs
    selvan

    Thanks for ur reply but when i add "as sydba" with password property it gives error:
    Properties conProp = new Properties();
    conProp.put("user", tf[2].getText());
    conProp.put("password", String.valueOf(cpwd.getPassword())+"AS SYSDBA");
    the error is :
    java.sql.SQLException: ORA-01017 invalid username/password; logon denied
    selvan

  • Unable to grant sysdba to user

    Hi,
    On my PC i am using Redhat 5. when I grant sysdba privilege to user hr it gives an error.
    SQL> grant sysdba to hr;
    grant sysdba to hr
    ERROR at line 1:
    ORA-01994: GRANT failed: password file missing or disabled
    I check the password file is in place in the folder HOME/dbs. what can be the problem.
    Plz help
    Thanx

    It works for me.
    bcm@bcm-laptop:~$ sqlplus
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Nov 1 10:39:30 2010
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter user-name: / as sysdba
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> grant sysdba to hr;
    Grant succeeded.Either you are mistaken or Oracle is.
    Either you have an error of omission or error of commission, but without knowing what you have & what you do, no advice is possible.
    Is COPY & PASTE broken for you?
    Post results of
    SELECT * from v$version;

  • Could not login as sysdba after changing oracle sid

    I am using Oracle 10g on Windows. I am getting errors while performing cloning of database from cold backup ( just for leaning purpose).
    The problem is that when i set the ORACLE_SID=ORCL, then i can get login as sysdba but when i change the ORACLE_SID=clone, i get following error:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Also, I have created the password file using the following command:
    orapwd file=D:\ORACLE\product\10.2.0\db_1\database\PWDclone.ora password=xxxx

    Moazzam wrote:
    I am using Oracle 10g on Windows. I am getting errors while performing cloning of database from cold backup ( just for leaning purpose).
    The problem is that when i set the ORACLE_SID=ORCL, then i can get login as sysdba but when i change the ORACLE_SID=clone, i get following error:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Also, I have created the password file using the following command:
    orapwd file=D:\ORACLE\product\10.2.0\db_1\database\PWDclone.ora password=xxxxtry this,
    oradim -new -sid clone -intpwd oracle
    and login

  • Cannot sqlplus sys as sysdba from remote server :ORA-12154

    Hi,
    I am trying to connect from linux VM app server to the database as sys as sysdba but it returns TNS error. I verified that listener is up, the REMOTE_LOGIN_PASSWORDFILE is exclusive and there is password file.
    [ORACLE@SERVER admin]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 12 21:45:08 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    ==============================================
    It works when I give the DB name
    [ORACLE@SERVER admin]$ sqlplus sys@ODB2 as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 12 21:49:50 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    ==================================================
    Could anyone please help me with the issue ?
    Edited by: Cherrish on Apr 12, 2013 10:53 PM

    Cherrish wrote:
    Hi,
    I am trying to connect from linux VM app server to the database as sys as sysdba but it returns TNS error. I verified that listener is up, the REMOTE_LOGIN_PASSWORDFILE is exclusive and there is password file.
    [ORACLE@SERVER admin]$ sqlplus sys as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 12 21:45:08 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specifiedRealize that sqlplus line above shows no @TNS_ALIAS so no SQL*Net should be used to connect.
    please type EXACTLY (line for line) as shown below
    env | sort
    sqlplus
    / as sysdba
    COPY the results from above then PASTE all back here

Maybe you are looking for