isqlplus connection as sysdba
HelloI use oracle 10.2 and when I tried to connect as sysdba this link ' http://administrator:5560/isqlplus/dba.
a pop up comes a request me to enter the user name and password.
Tha window is labeled as 'Connect to administrator.
isql * more s/n
a pa
can Sombody you tell me how I can go through this layer of security
Thank you & respect
Just to put in a simple format of what Paul said.
Do all this, step by step. What follows is based on Linux.
$export JAVA_HOME=$ORACLE_HOME/jdk
--Change to this directory
$cd $ORACLE_HOME/oc4j/j2ee/isqlplus/application-deployments/isqlplus
--Run this command without changing anything. Note that this is case sensitive.
$JAVA_HOME/bin/java -Djava.security.properties=$ORACLE_HOME/oc4j/j2ee/home/config/jazn.security.props -jar $ORACLE_HOME/oc4j/j2ee/home/jazn.jar -user "iSQL*Plus DBA/admin" -password welcome -shell
--It will bring you to this prompt
JAZN> adduser "iSQL*Plus DBA" username password
--Here you need to replace the username passowrd with any new username and password. This user would be used to authenticate your isqlplus session.
--Grant hte new user, Webdba role , replace teh username with your created user name.
JAZN> grantrole webDba "iSQL*Plus DBA" username
JAZN> exit
Once you have done above, simply go to the same connection isqlplus/dba. In the pop-up, pass the user name and password of the user that you created. If everything works well, you would be brought to the top page isqlplus where there is an option to enter with his password for the Sys user.
HTH
Aman...
Tags: Database
Similar Questions
-
ORA-12514 attempts to connect "/ as sysdba" to closed db
I'm getting ORA-12514 when I try to do a DOB connection by using "/ as sysdba" to a clos 12.1.0.2 database:
[oracle@localhost ~] $ which sqlplus
~/app/Oracle/product/12.1.0/dbhome_1/bin/sqlplus
[oracle@localhost ~] $ sqlplus/nolog
SQL * more: Production release 12.1.0.2.0 on Sat Mar 28 08:54:09 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
SQL > conn / as sysdba
ERROR:
ORA-12514: TNS:listener is not currently of service requested in connect
descriptor of
[oracle@localhost ~] $ env | grep-i ora
OLDPWD = / home/oracle
USER = oracle
ORACLE_SID = cdb1
MAIL = / var/spool/mail/oracle
PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/Home/Oracle/bin:/Home/Oracle/app/Oracle/product/12.1.0/dbhome_1/bin:/usr/local/Apache-Ant-1.9.3/bin
PWD = / home/oracle
HOME = / home/oracle
LOGNAME = oracle
ORACLE_HOME=/home/Oracle/app/Oracle/product/12.1.0/dbhome_1
I really don't understand what is happening here. The connection "/ as sysdba" should not be using the headset at all. It should take a DOB connection to db identified by ORACLE_SID, IE cdb1.
What is happening on one of the pre-configured Oracle Developer VMs - the VM of Application development.
Anyone seen this before? Any tips or hints appreciated!
Thank you
Natálka-
If TWO_TASK environment variables or PREMISES have been defined, they will take precedence over ORACLE_SID
DOB is only ORACLE_SID.
----------
Sybrand Bakker
Senior Oracle DBA
-
can not connect as sysdba or sys - insufficient privileges - Oracle 10g
Hi guys.
While I was learning about the roles I had created a role and give to some users to this role. That's all is OK but after some time w I could not connect as sysdba/sys as sysdba or sys. They all said no sufficient privileges.
Could you help me with this please?
You're confused OS users and users of data.
'Scott' is a database user "SYS" is a database user.
You must be connected to the server using an OS account that is in the Group dba (ora_dba in Windows), or you will not have sufficient privileges.
----------
Sybrand Bakker
Senior Oracle DBA
-
Hello
on 8i on Win2003.
with my Win user (ora_dba group)
I can connect using the @ (tnsnames and listener), but when you use ORACLE_SID I get ORA-12560:
C:\Windows > set ORACLE_SID = ORCL
C:\Windows > sqlplus/nolog
SQL * more: Release 8.1.7.0.0 - Production on Wednesday, March 5 09:37:22 2014
(c) Copyright 2000 Oracle Corporation. All rights reserved.
SQL > connect / as sysdba
ERROR:
ORA-12560: TNS:protocol adapter error
SQL > connect sys@orcl as sysdba
Enter the password:
Connected.
========
Here are the contents of my sqlnet.ora:
#SQLNET. AUTHENTICATION_SERVICES = (NTS)
SQLNET. AUTHENTICATION_SERVICES = (NONE)
NAMES. DIRECTORY_PATH = (TNSNAMES, ONAMES, HOSTNAME)
Thank you.
It is not my decision. He is Executive Director.
If EE working means that 8iEE is supported (compatible) on Win 2003.
Have we not confirmation that 8i that is not on Win 2003?
Kind regards.
-
Hello
I use oracle 10g on windows before, that I was able to connect to the database as sysdba but now I am not able to connect as sysdba.
Here is the log.
Please help resolve this error.
Microsoft Windows [Version 5.2.3790]
Copyright (C) 1985-2003 Microsoft Corp.
C:\Documents and Settings\swkulkarni > set oracle_sid = devdb
C:\Documents and Settings\swkulkarni > sqlplus "virtue sysdba".
SQL * more: Release 10.2.0.4.0 - Production on Thu Sep 5 06:50:59 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter the user name:
ERROR:
ORA-01017: name of user and password invalid. connection refused
Enter the user name:
ERROR:
ORA-01017: name of user and password invalid. connection refused
SP2-0157: unable to connect to ORACLE after 3 attempts, leaving SQL * more
C:\Documents and Settings\swkulkarni >
C:\Documents and Settings\swkulkarni >
C:\Documents and Settings\swkulkarni >
I have admin rights and I am also present in the dba group.
When I try to connect with EZCONNECT chain it works.
Thank you.
You try to use the OS authentication to connect to the database. It is disabled. to connect to the database, you will need to login as "sys as sysdba" and provide the password.
to do this, check your file sqlnet.ora for the sqlnet.authentication_services parameter
-
Go crazy with connection remote sysdba in my config RAC
Hello
Sorry for this question sounds stupid but here's my problem.
I can't connect to a dummy on node1 (for example) my cluster instance by using password file and the connection remote sysdba to prepare a DG config
Here's what I did:
Create a password file:
orapwd file = $ORACLE_HOME/dbs/orapwSID password = mypassword entries = force 10 = y
I have check the password file and that's ok
Create a static entry earphone in the infrastructure of grid as follows
Listener = (Description = (ADDRESS_LIST = (Address = (Protocol = IPC) (Key = Listener))) # line added by Agent
LISTENER_SCAN3 = (Description = (ADDRESS_LIST = (Address = (Protocol = IPC) (Key = LISTENER_SCAN3))) # line added by Agent
LISTENER_SCAN2 = (Description = (ADDRESS_LIST = (Address = (Protocol = IPC) (Key = LISTENER_SCAN2))) # line added by Agent
LISTENER_SCAN1 = (Description = (ADDRESS_LIST = (Address = (Protocol = IPC) (Key = LISTENER_SCAN1))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1 = ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2 = ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3 = ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON # line added by Agent
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = TST_DGMGRL.jkolicorne.fr)
(ORACLE_HOME = oracle/grid/11.2.0.3.0)
(SERVICE_NAME = TST_DGMGRL.jkolicorne.fr)
(SID_NAME = TST)
)
)
[grid@node1 admin] $ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on March 24, 2013 10:24:31
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start date March 23, 2013 23:04:38
Uptime 0 days 11 h 19 min 53 s
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /oracle/grid/11.2.0.3.0/network/admin/listener.ora file
The listener log file /Oracle/gridbase/diag/tnslsnr/Node1/listener/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = LISTENER)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.1.40) (PORT = 1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.1.41) (PORT = 1521)))
Summary of services...
Service '+ ASM' a 1 instance (s).
Instance '+ ASM1' READY State, has 1 operation for this service...
Service 'TST_DGMGRL.jkolicorne.fr' has 1 instance (s).
Instance "TST", status UNKNOWN, has 1 operation for this service...
The command completed successfully
I create the entry in tnsname.ora as follows
TST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = node1.jkolicorne.fr) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = TST)
)
)
When I try to connect, I get this:
[oracle@node1 dbs] $ sqlplus sys/Copine@tst as sysdba
SQL * more: Production release 11.2.0.3.0 on Sun Mar 24 10:25:41 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter the user name:
I did the same configuration in one instance and it works very well, the only difference is the listener as follows:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.88)(PORT = 1523))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = TST_DGMGRL)
(ORACLE_HOME = home/app/product/11.2.0/grid)
(SERVICE_NAME = TST)
(SID_NAME = TST)
)
)
Any idea?
Thnks a lot
jkoThis is (at least partially) the problem:
SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = TST_DGMGRL.jkolicorne.fr) (ORACLE_HOME = /oracle/grid/11.2.0.3.0) (SERVICE_NAME=TST_DGMGRL.jkolicorne.fr) (SID_NAME = TST) ) )
the ORACLE_HOME must point to the House of RDBMS, not the House of GI.
-
Want to connect as sysdba in sql * more
Hello world
Greetings...
I want to connect as sysdba in sql * plus, because I am trying to install oracle Apex in my system.
Could you please someone.sqlplus sys/password as sysdba
or
sqlplus / as sysdba
with OS authentication enabled
-
Get "ORA-12534: TNS:operation unsupported ' connect as sysdba
Hello
We get "ORA-12534: TNS:operation not supported" error when connecting as sysdba.
Bash-2. $03 sqlplus "virtue sysdba".
SQL * more: Release 10.2.0.4.0 - Production Thu Feb 23 10:16:16 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
ERROR:
ORA-12534: TNS:operation unsupported
Enter the user name:
I can able to connect to the database using tns entry without any problem.
SQLNET. Contents of the ORA:
====================
Bash-2. $03 cat /var/opt/oracle/sqlnet.ora
ENCRYPTION_WALLET_LOCATION=(source=(method=file)(METHOD_DATA=(Directory=/dboracle/ORABASE/product/10.2.0/dbs/wallet/)))
SQLNET. WALLET_OVERRIDE = TRUE
SSL_CLIENT_AUTHENTICATION = FALSE
SSL_VERSION = 0
I'm not aware of the portfolio. Please, help me to solve this problem.
Thank you.
Kind regards
National Stadium>
SQLNET. Contents of the ORA:
====================
Bash-2. $03 cat /var/opt/oracle/sqlnet.ora
ENCRYPTION_WALLET_LOCATION=(source=(method=file)(METHOD_DATA=(Directory=/dboracle/ORABASE/product/10.2.0/dbs/wallet/)))
SQLNET. WALLET_OVERRIDE = TRUE
SSL_CLIENT_AUTHENTICATION = FALSE
SSL_VERSION = 0
>You can replace the keyword ENCRYPTION_WALLET_LOCATION with just WALLET_LOCATION in your file sqlnet.ora.
EWL is only used for transparent encryption of data, but if you want to use the external password store, you will need to use WALLET_LOCATION rather than ENCRYPTION_WALLET_LOCATION. However, if you want to use TDE and external repository of password, then make sure that your sqlnet.ora file has two entries ENCRYPTION_WALLET_LOCATION and WALLET_LOCATION
Concerning
Vincent -
Hello
I have a 11g database.
I need to connect as sysdba without specifying a password.
Kind regardsHello
The user must be a member of the administrator group and the ORA_DBA group.you can find
'ORA_DBA' group under the 'Computer management' icon 'Administrative Tools' windows and add the user 'oracle '. It will be useful.Best regards
Rafi.
http://rafioracledba.blogspot.com/ -
What is connect as SYSDBA?
Hello
When I connect my diagram, there is an option to connect as SYSDBA. What is c?what is the query to see the set privileged that are inside a role ?
SELECT * FROM USER_ROLE_PRIVS;
A most important SQL
SELECT * FROM DICTIONARY;
You will find most useful views / synonyms / tables that provide additional information about a schema / DB with this SQL help. USER_ROLE_PRIVS is also listed in it.
* 009 *.
Published by: 009 on June 16, 2010 23:10
-
Connect / as sysdba does not work
I have 2 databases in the server. We're already down (PROD). I would like to connect PROD by the command
Connect / as sysdba, but TRAN database connection. where can I specify the name of the service in SQLPLUS promt. Kindly give me how solve it because it is the production database. It of down now. It was working fine before, I liquidated her ARCHIVELOG mode.Try to use
"sqlplus sys@PROD as sysdba".
While it is askoing password just press on enter.
-
' connect / as SYSDBA ' gives the error ORA-12154
Hello
Oracle XE can not access the database via "connect / as SYSDBA.
I have to use 'connect SYS' / "" & & sysPassword"@XE as SYSDBA" instead. "
No idea why ' connect / as SYSDBA ' gives me this error:
SQL > connect / as sysdba
ERROR:
ORA-12154: TNS: could not resolve the connect identifier specified
But it works:
SQL > conn system/password@XE as sysdba
Connected.
Thank you.I think that LOCAL should generally not be set.
Try:
C:\ > LOCAL value =
C:\ > set oracle_sid = XE
C:\ > sqlplus / as sysdbaThat should do :)
-
Why would running see the 'idle' instance when you connect / as sysdba?
I am a little confused on this one.
I have an oracle SID instance is say, 'FRED '.
I can conect to my local box via sqlplus connect system@fred and do all the things I need. Fred is indeed running.
However, if I go directly to logon to the box, I put the sid
export ORACLE_SID = fred
sqlplus/nolog
Connect / as sysdba
It is for me a 'connected to an idle instance.
Any ideas on that?
Thanks in advance,
CayenneCayenne,
The post, it seems you're on some * nix platform and on these operating systems, FRED is waaaay different from fred, FreD and all other combinations possible. When you mentioned the 'bad' SID, oracle has simply assumed that the SID said is not started and shows you the State of rest. In other words, this means for oracle, you must always start the db. It would be even if you change SID to rock, tom, robert or same aman too :-).
HTH
Aman... -
(9.2.0.7)
Hi guys,.
can someone please explain to me why the following work? Basically, I connect to the database server using the oracle unix user and then I do the following, but I can still connect. Why?
Thank you
* > sqlplus *.
SQL More: Release 9.2.0.7.0 - Production on Mon Nov 17 08:26:29 2008 *.
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter the user name: anyoldrubbish as sysdba
Enter the password:
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64 bit Production
With partitioning, OLAP and Oracle Data Mining options
Release 9.2.0.7.0 - Production jserver
TEST_DB >Hello
Yes, I think,
[ppoker@zugspitzevir7 ppoker]$ sqlplus SQL*Plus: Release 10.2.0.4.0 - Production on Mon Nov 17 03:55:44 2008 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. Enter user-name: ara Enter password: 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> show user USER is "ARA" SQL> [ppoker@zugspitzevir7 ppoker]$ sqlplus SQL*Plus: Release 10.2.0.4.0 - Production on Mon Nov 17 03:56:12 2008 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. Enter user-name: ara as sysdba Enter password: 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> show user USER is "SYS" SQL>
Wait a second, I may be wrong I would check the user groups...
Basically, see when you "username as sysdba", it the user respected switching as user "sys" and verification is done as user level operating system, the user sys. If watch you the demo, the "ARA" user does not exist in the list of users of OS and if it has connected as sysdba' I do not gave the password to all the but still logged, re-directed to account DBA OS Sys.
-Pavan Kumar N
Published by: pounet on November 17, 2008 14:29
Published by: pounet on November 17, 2008 14:49
-
Hi all
I'm connected to a server with the remote desktop connection windows. Here when I try to log into the database with a general user I managed to connect to the database. But when I try to log in with "/ as sysdba" it fails. Plesae suggest.
Thank you
Saurabh
C:\users\administrator>sqlplus / as sysdba
SQL * more: release 10.2.0.3.0 - Production Tue Oct 22 03:05:20 2015
Copyright (c) 1982, 2006, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:protocol adapter error
These errors are USUALLY due to not having the set ORACLE_SID environment variable:
C:\Users\Documents\Oracle_stuff\examples >set ORACLE_SID = "" "
C:\Users\Documents\Oracle_stuff\examples>sqlplus / as sysdba
SQL * more: Production of liberation 12.1.0.2.0 Tue Oct 22 09:18:18 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:protocol adapter error
Defining the ORACLE_SID often 'fixed' this 'problem ':
C:\Users\Documents\Oracle_stuff\examples >set ORACLE_SID = smedley
C:\Users\Documents\Oracle_stuff\examples>sqlplus / as sysdba
SQL * more: Production of liberation 12.1.0.2.0 Tue Oct 22 09:20:14 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL >
Note that once the ORACLE_SID is defined no TNS error was generated.
You must check your environment when you get this TNS error as it is likely due to not having the set ORACLE_SID. You CAN also connect without going through the set ORACLE_SID, but you must have the tnsnames.ora file configured with your local database information:
C:\Users\Documents\Oracle_stuff\examples>sqlplus /@smedley as sysdba
SQL * more: Production of liberation 12.1.0.2.0 Tue Oct 22 09:25:14 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL >
This example uses a syntax of "remote" login for access to the local database through the tnsnames.ora Configuration entry.
I hope that was helpful.
David Fitzjarrell
Maybe you are looking for
-
Do not put ink on paper from the printer. Printer e-all-in-one Photosmart HP 5520
Product name/number:
-
Try to get a signal input of 60 Hz on SDP92SKY portable DVD player
Hi, I hope someone here can help a lot. I have a 9 '' portable DVD SDP92SKY player and was hoping to use it to play my xbox 360 (I know, it's a small screen but I spend long periods away from home). The Xbox360 has the exit optionpour 50 Hz PAL and t
-
No camera found... HDR-TD20 - PlayMemories home
Hello I try to install PlayMemories House and at one point it prompts connect me the camera to the computer. Camera is already connected to the computer, but I re - connect and the error persists. The exact message is: "No camera found. Check that yo
-
Far Cry installation on 64 bit Vista machine problems
I have a 64 bit vista (SP1) computer. I have "Far Cry". I have a lot of speed, memory, and all that. When I start the installation process, I get the error "run setup32.exe on windows 32-bit or setup64.exe on 64-bit windows!". There is no "setup64.e