Connect to oracle sys user

Hi folks
when i try to connect to oracle sys user from the unixbox its opening an idle instance .
[u01/appl/ora817]$ set ORACLE_SID=fclaie1
[u01/appl/ora817]$ sqlplus
SQL*Plus: Release 8.1.7.0.0 - Production on Thu Feb 28 09:37:55 2008
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Enter user-name: / as sysdba
Connected to an idle instance.
SQL>
can someone suggest me why an idle instance is starting rather then the normal instance .
Your expert suggestion is highly appriciated
Thanks

Connected to an idle instance.Idle Instance means the instance has not started.
You can issue
c) Copyright 2000 Oracle Corporation. All rights reserved.
Enter user-name: / as sysdba
Connected to an idle instance.
SQL> startup <-- (Here)
After which your instance will be started. By the way what you mean by normal instance?
Adith

Similar Messages

  • Kerberos auth in Oracle, sys user and dba group

    Hello.
    I've set up kerbros auth in test oracle 10g r2 database on 64-bit linux according to Oracle® Database Advanced Security Administrator's Guide. I have the following issue: kerberos user can login to the test server (from this server) and normal database user can login to database server from other hosts. However, oracle system user, members of dba group and normal users can't longer login to this server from it. So, when oracle system user runs sqlplus "/as sysdba" , he gets ORA-12638: Credential retrieval failed.
    sqlnet.ora looks the following way:
    SQLNET.KERBEROS5_CC_NAME = /tmp/krb5cc
    SQLNET.KERBEROS5_CONF_MIT=TRUE
    SQLNET.AUTHENTICATION_SERVICES= (KERBEROS5)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    SQLNET.KERBEROS5_CONF = /etc/krb5.conf
    SQLNET.KERBEROS5_REALMS = /etc/krb5.realms
    SQLNET.AUTHENTICATION_KERBEROS5_SERVICE = oracle
    What should I do to enable login to this server for members of dba group and normal users from the database server?

    I've tried to set SQLNET.AUTHENTICATION_SERVICES to (BEQ,KERBEROS5), it works almost as expected, but I have strange effect: my os user is not in dba group, but can connect "/as sysdba"...
    $ id -nG
    domusers oinstall
    $ sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 3 13:20:55 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL>

  • Connect DB - SYS user with wrong password

    Hi All,
    A strange thing I have noticed with SYS user since Oracle 9i(never worked on earlier versions) is that I can connect to the SYS user as SYSDBA with wrong password as well! Please guide how to prevent this...
    (I have searched for a solution online but was unable to find any :( )
    SQL> CONN SYS/AAA@TEST AS SYSDBA
    Connected.
    SQL> DISC
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> CONN SYS/BBB@TEST AS SYSDBA
    Connected.
    SQL>
    SQL> DISC
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production*009*

    There is nothing wrong and nothing should be, IMO, prevented.
    When you log in to the server as an user in the dba group (Unix) or the ora_dba group (Windows), you are a power user and O/S authentication applies to you, and you don't need a password.
    Logging in as owner of the software (oracle) all the time, what many DBAs do, is a bad idea anyway, as you can remove anyufile on O/S level.
    Strategies to prevent this:
    - make sure your account isn't in the groups I mentioned
    or
    - disable O/S authentication by editiing sqlnet.ora
    Both procedures are documented.
    Finally please note anyone who has root access can get around this easily.
    Sybrand Bakker
    Senior Oracle DBA

  • Sql developer 1.2.1  failed sys user login

    Setting up a connection with the sys user in sql developer connections return invalid username/pw.
    I have the role set to sysdba.
    I can connect as non sys users with sql developer.
    I can connect via sqlplus with the sys user and pw.
    What would cause me not to be able to connect with the sys user with sql developer?
    Thanks

    This is the Oracle Designer forum. Not the SQL Developer forum.
    Please repost in the proper forum.

  • Problem with connect to oracle by jdbc

    hi,
    First time i try to connect to the oracle db 10.2.0* EE in java and its problem. I use eclipse 3.4, jre1.5.0_17, driver ojdbc14.jar (dedicated to this oracle ver and jre).
    package connect;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class JDBC_Conn {
            void polaczenie_z_baza() throws SQLException {
                try {
                    Class.forName("oracle.jdbc.driver.OracleDriver");  
                    System.out.println("connected");      
                } catch (Exception e) {
                    System.out.println("not connected");
                Connection polaczenie=DriverManager.getConnection("jdbc:oracle:thin:@3.123.123.321:1521:RI3","user","pass");
    public static void main(String[] args){
         JDBC_Conn b = new JDBC_Conn();
            try {
                    b.polaczenie_z_baza();
            } catch (SQLException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
    }and after run in console i see: "connected" but after 2 seconds i see error:
    java.sql.SQLException: Wyj&#261;tek we-wy: The Network Adapter could not establish the connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:439)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at connect.JDBC_Conn.polaczenie_z_baza(JDBC_Conn.java:18)
         at connect.JDBC_Conn.main(JDBC_Conn.java:24)This is important that i can login to the database by pl/sql developer using tnsnames.ora like this:
    CIF2 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 3.123.123.321)(PORT = 1521))
        (CONNECT_DATA =
          (SID = RI3)
      )but when im logging by plsql developer i need to enter the name of database "DWH" too, another i cant login. The same when i log by sql plus, i need to enter the: user@DWH.
    So please tell me could i add to this string:
    "jdbc:oracle:thin:@3.123.123.321:1521:RI3","user","pass"
    the DWH database? where i should to put it?
    i try a lot of cases and cant login
    thanks for help

    i put:
    String url = "jdbc:oracle:thin:"+user+"/"+pass+"@blahblahblah:blah:blah";
                    System.out.println( url );
                    Connection con = DriverManager.getConnection( url );and i have:
    not connected
    jdbc:oracle:thin:user/password@blahblahblah:blah:blah
    java.sql.SQLException: Wyj&#261;tek we-wy: Invalid number format for port number
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:439)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at connect.JDBC_Conn.polaczenie_z_baza(JDBC_Conn.java:27)
         at connect.JDBC_Conn.main(JDBC_Conn.java:37)the pass and user name i put corectly..
    is it possible that DBA did some restrict to access DB?
    Edited by: pawelwtorek on 2009-03-19 16:59

  • SYS user connects at database level, is it correct?

    My senior colleague has given me following information about the sys user. I want to know, is it correct?
    Since SYS user connects at the database level, therefore, on killing the active session of the SYS user,only the current statement is cancelled. The database session does not disconnect. Instead it continues to run the remaining statements in the script file in case we are running a script file containing a lot of SQL statements.
    Moazzam

    Moazzam wrote:
    My senior colleague has given me following information about the sys user. I want to know, is it correct?
    Since SYS user connects at the database level, therefore, on killing the active session of the SYS user,only the current statement is cancelled. The database session does not disconnect. Instead it continues to run the remaining statements in the script file in case we are running a script file containing a lot of SQL statements.Running a SQL script very likely means SQL*Plus is used. One of two types of Oracle sessions will be created via sqlplus. A dedicated session. Or a shared server session.
    A dedicated session can also be local (sqlplus connects "directly" to the dedicated server process), or remote (sqlplus connects via tcp/ip to the dedicated server process).
    A server session is usually "killed" using the alter system kill session command. Despite the differences between shared and dedicated server connections, the end result is the same. The session terminates abnormally (session UGA will be released, session will be cleaned up, rolled back, etc) - and the session ceases to exist.
    So irrespective of how that sqlplus session runs that script - the session, when killed, will cause a sqlplus failure. And no subsequent script commands would be executed by that Oracle session.
    What can happen is that sqlplus continues running, continues reading the script, and continues submitting commands to be executed. However, with the server session killed, there is no server process to service the commands submitted by the sqlplus client. In this case, sqlplus will throw the error "+SP2-0640: Not connected+" after each of the commands it tries to execute after the server session was killed.
    The only time when sqlplus will be able to continue is when the session is not killed, but interrupted. The Oracle Call Interface (OCI) supports a OCIBreak() call - allowing the client to interrupt-and-abort the request that its server session is currently executing.
    For example, sqlplus sends a OCIBreak() while it waits for a server response (e.g. waiting for the answer to a SQL select query), when the user presses Ctrl-Break to abort that request.
    In this case, the session still exists - and the client can issue a new request that the session will service. But an OCIBreak() cannot be triggered (to my knowledge) externally from another Oracle session. You need to send the client process a "break request" (like a Ctrl-Break keystroke) in order to trigger that client process to make an OCIBreak() call to Oracle and interrupt its server process.

  • Reg: Error while connecting to a remote database as SYS user.

    Hello all,
    When i try to connect to a database as SYS user i'm getting the error as
    ora-01017 invalid username/password logon denied
    But it is logging from the local system where the oracle is installed.
    I created the password file and checked the contents in v$pwfile_users.
    The result is " no rows selected".
    so when i try to grant sysdba to sys user
    grant sysdba to sys;
    i'm getting error as,
    ORA-01994: GRANT failed: password file missing or disabled
    Please help me in resolving this.
    Regards,
    Konda

    I created the passwordfile using the command below,
    orapwd.exe file=E:\app\Administrator\product\11.2.0\dbhome_1\database\PWDfile.ora force=y entries=30 password=<sys_password>
    is this okay...??

  • Access of oracle database through sys user

    Hi All,
    Can any one suggest me what are the possibility to access database through SYS user...I install oracle database 10.2.0.4 on Win-2003 SE.
    Now I want to make restrict that no one can be able to logged in database as a sys user so I do one thing that in sqlnet.ora file at server side make none in sql authentication line. What are the other possible way that user can access through sys user?
    Please suggest me...
    Thanks...

    user505 wrote:
    Hi All,
    Can any one suggest me what are the possibility to access database through SYS user...I install oracle database 10.2.0.4 on Win-2003 SE.
    Now I want to make restrict that no one can be able to logged in database as a sys user so I do one thing that in sqlnet.ora file at server side make none in sql authentication line. What are the other possible way that user can access through sys user?One other possibility can be to come from the remote system as the Sys user. So you can set remote_loginpasswordfile to shared. This will ensure that without knowing the password, person won't be able to connect.
    That said, there is no stopping for the person who would be knowing the credentials of your o/s or sys user.
    HTH
    Aman....

  • Svrmgrl connect internal fails after changing oracle os user passwd on 8.06

    Hello,
    I've this problem.
    I've installed oracle rdbms 8.0.6 on HP-UX 10.20.
    I've choosen o.s. authentication system with password file.
    In the password file I set the password of the os user oracle which owns installation.
    In first time svrmgrl connect internal looks good.
    But when I've changed oracle os user password, and i retry to do connect internal
    I receive the following message:
    SVRMGR> connect internal;
    Password:
    Password:
    ORA-01031: insufficient privileges
    I've tried to reset the password to the old one, but it's unuseful
    Could someone help me?

    In the password file I set the password of the os
    user oracle which owns installation.The Password for the password file is supposed to be the SYS password and not OS User oracle which owns installation.
    I do not think the Oracle OS user password change is the problem. When you alter SYS password using the alter user command, it should change the password file automatically.
    Try
    SVRMGR> connect sys/sys_password as see whether it works. If it does not, then check other issues.

  • Connect as sys user as sysdba using vbscript

    Hi I have to connect to the oracle database using sys user as sysdba using a vbscript.
    I have the following part in the script:
    Const TARGET_CONN = "DRIVER={Microsoft ODBC for Oracle};SERVER=XYZ;UID=sys;PWD=abc;"
    Set conn = CreateObject("ADODB.Connection")
    conn.Open TARGET_CONN
    When i run the script i get the error: connection as SYS should be as SYSDBA or SYSOPER
    Does anybody know how to do resolve this?
    Thanks in advance.

    Hi,
    If you were using Oracle's ODBC driver, you'd add "as sysdba" as part of the password, ie:
    "DRIVER={oracle in oradb11g_home1};dbq=XYZ;UID=sys;PWD=abc as sysdba;"
    However, you're using Microsoft's driver and I wouldnt be surprised if Microsoft's driver doesnt support it. If it does though, I'm not sure what you need to do.
    Greg

  • How to change password of sys user connected as sysdba?

    How to change password of sys user connected as sysdba?
    I have connected with user name sys as sysdba in oracle 9i with password oracle.
    I want to change the password . I typed password and pressed entered. It asks me to type old password, then new password and retype the new password. When I press enter it gives error message "ERROR:
    ORA-28008: invalid old password"
    Password unchanged.
    does anyone know about this...? how to change the password..?

    You may be using operating system authentication to log in as sys with sysdba privileges.
    By using password utility, you can change the password of sys user (which is in database) which is "change_on_install" when you create a database.
    You can change this password.

  • Sys User cannot connect to DataBase10g through ODBC

    Hi guys ,
    am making ODBC connection of Oracle 10g2 with sys user from xp administrative tools(Data sources ODBC) but it's giving me error.
    ORA-01017:invalid username/password ;login denied.
    with the same user /password i connect many times at sql* plus.
    Please guide me why its all happening.
    Note=ODBC connection with other user HR/Scott have no problem.

    Using sql can very well mislead. See below,
    E:\Documents and Settings\aristadba>sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Wed Jan 13 10:22:00 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> sqlplus shakeel/khan as sysdba
    SP2-0734: unknown command beginning "sqlplus sh..." - rest of line ignored.
    SQL> connect shakeel/khan as sysdba
    Connected.
    SQL> connect tom/kyte as sysdba
    Connected.
    SQL> conn aman/sharma as sysdba
    Connected.
    SQL>So would suggest that change the password while being connected as Sys from sqlplus (easiest way) or through recreating the password file and retry the connection.
    HTH
    Aman....

  • Need help in resolving CONNECT BY loop in user data in Oracle 9.2.0.5 Ver

    Hi Everyone,
    Below are the scripts to reproduce the error
    CREATE TABLE TESTING
    C1 NUMBER,
    C2 NUMBER,
    GRP NUMBER
    Insert into TESTING
    (C1, C2, GRP)
    Values
    (1, 2, 100);
    Insert into TESTING
    (C1, C2, GRP)
    Values
    (1, 3, 100);
    Insert into TESTING
    (C1, C2, GRP)
    Values
    (2, 5, 200);
    Insert into TESTING
    (C1, C2, GRP)
    Values
    (3, 11, 200);
    Insert into TESTING
    (C1, C2, GRP)
    Values
    (11, 1, 400);
    COMMIT;
    SELECT sys_connect_by_path(C1,'/') AS C1,C2
    FROM TESTING
    CONNECT BY C1 = PRIOR C2
    I am getting "ORA-01436: CONNECT BY loop in user data" because of Recurssion.
    My Oracle Version is 9.2.0.5, can you guide me how to resolve in 9.2.0.5
    In Oracle 10g I have read that we can achieve through NOCYCLE option
    Can you please guide me how to solve this in Oracle 9.2.0.5 Version
    Thanks in Advance,
    Sankar

    SQL> SELECT     SYS_CONNECT_BY_PATH (c1, '/') AS c1, c2
      2        FROM testing
      3  CONNECT BY  c1 = PRIOR c2 AND (c2 >= PRIOR c1);
    C1                                                         C2
    /1                                                          2
    /1/2                                                        5
    /1                                                          3
    /1/3                                                       11
    /2                                                          5
    /3                                                         11
    /11                                                         1
    7 ligne(s) sélectionnée(s).
    SQL>

  • ORA-01436 CONNECT by loop in user data Oracle HRMS - How do I prevent this?

    I am getting from time to time an error when users are performing tasks in Oracle HRMS that comes back as ORA-01436 CONNECT by loop in user data.
    This issue is caused when there exists a loop in the Supervisor hierarchy.
    For ex: Emp A reports to Emp B and Emp B reports to A
    OR
    Emp A reports to B and B reports to C and C reports to A.
    It can be any of the above or if there are more approvers then there can be a
    bigger loop.
    This is described on Oracle Metalink Doc ID: 275819.1
    This happens to us regularly; someone puts the manager of an employee as the subordinate of the 1st employee - of course this is not logically possible!
    My question is how do i prevent this in the HRMS Manager tool or the Self Service functionality - I want the user to be informed and prevented from creating these infinite loops in the first place ...any ideas?

    Hi,
    We suffer same the kind of issue but as you might have seen there is no immediate answer from Oracle about implementing a check within the Application forms/SS. In the end we wrote a report to hunt to locate loops in employee supervisor chain and report any circular references it finds. This report is scheduled to run every day and the customer reviews the output and then fixes the loops. Not ideal but we've not had chance to investigate a custom trigger say on the per_all_assignments_f table.

  • Solaris 10,oracle 10g question- can't connect with non-dba user

    Hi
    I've installed the Oracle10g suite, enterprise edition ( 10.2.0.1). I've created a database called qa10g, which I can connect to as user 'oracle' once I export the ORACLE_SID and the ORACLE_HOME
    export ORACLE_HOME=/oracle/10g2
    export ORACLE_SID=qa10g
    then I type in the following at it puts me into sqlplus:
    $ORACLE_HOME/bin/sqlplus system/system
    so that works fine..now whan I try to log in as another user that isn't a member of the dba group, and I export the ORACLE_HOME and ORACLE_SID variables, I can't get in to the database using $ORACLE_HOME/bin/sqlplus system/system, I get the following errors:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Enter user-name:
    BUT, when I put the connector string at the end, I can get in:
    $ORACLE_HOME/bin/sqlplus system/system@qa10g
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engin
    e options
    SQL>
    so obviously, it is an enviromnet variable that isn't getting set properly, perhaps even ORACLE_SID=qa10g isn't working properly for the non-dba user ( in this case, the user is called ctronsys)
    for the work I need to do on this databse, I need to have the user I select to be able to log into the database with sqlplus commands like the ones listed above, without the connector string added at the end..the SID gets exported first..
    any help would be greatly appreciated, I'm a newbie to Oracle!
    thanks!
    Rob

    There is a possibility that you could be hitting bug 4516865....
    Bug 4516865 "WRONG PERMISSIONS AFTER INSTALLATION IN OH AND SUBSEQUENT DIRECTORIES".
    Described in <Note.4516865.8> Bug 4516865 - Wrong permissions after install of 10gR2 (10.2.0.1)
    -Ramesh

Maybe you are looking for

  • Font in SWF file different once inserted and previewed in Captivate 5

    I have inserted a SWF File as an animation into my captivate 5 movie. When I view the SWF file independently, thus, outside of Captivate, the font looks exactly as it should: in Arial. However, once I have inserted the SWF file into Captivate and pre

  • Subscribing new users to my podcast in iTunes

    We're having an event. I'd love to get the people coming to subscribe to my podcast in iTunes, however, if they don't have their computer... how can they subscribe from my computer? Can't right? Is there a work around for this? G5 dual 2.5.g   Mac OS

  • OpenCL/MacBook Pro/Mac OS 10.8.4

    MacBook Pro 15"/Early 2011 Processor  2.2 GHz Intel Core i7 Memory  8 GB 1333 MHz DDR3 Graphics  AMD Radeon HD 6750M 1024 MB Software  OS X 10.8.4 Premiere Pro CC Am I right in assuming that OpenCL is not working with Premiere Pro CC and OS X Mountai

  • Projectile

    Hi, I'm doing a re-work of 'Scorched Earth' and am having problems with the projectile motion. Basically a tank is generated at a random position on the map, and user inputs desired angle and power of the missile. I simply want to call a function pas

  • Brand new PC laptop but Flash keeps crashing on 2 different browsers. Help!

    Hello! Flash keeps crashing on my brand new PC laptop. It has crashed on both Chrome and Firefox. I have updated everything I can think of on this PC, including drivers. I have made sure flash is up to date and the browsers I just recently installed