sqlplus virtue sysdba problem
HelloServer: windows
version (Oracle): 10.1.0.2.0
Its not letting me connect using sqlplus / as sysdba command...
However I can connect with the connection string using sys...
I added in the ora_dba under Computer Management Group
SQLNET.ora also contains the NTS parameter
Help, please
Arun Kumar
Hi Arun,
: \>sqlplus ' [email protected]/sys as sysdba'
Here the name of your db is BPPR but you set local C:\>set = bprr and try?
Ravi
Tags: Database
Similar Questions
-
Oracle instance is running but sqlplus "virtue sysdba" says connected to idle.
Hello
Oracle RAC is running (started the CARS with "srvctl start database hacmp - d") but when I am trying to connect to the database using sqlplus 'virtue sysdba' he says 'connected to an idle instance.
No idea what could be the problem here?
I have exported ORACLE_SID.
bash-3. $00 ps - ef | grep pmon
Oracle 507946 798870 0 17:23:42 pts/0 0:00 grep pmon
Oracle 872584 1 0 17:03:16 - 0:00 ora_pmon_hacmp1
bash-3. $00 echo $ORACLE_HOME
/ u01/app/oracle /.
bash-3. $ 00
bash-3. $00 echo $ORACLE_SID
hacmp1
bash-3. $ 00
bash-3. $ 00
bash-3. $00 sqlplus "virtue sysdba".
SQL * more: Release 10.2.0.4.0 - Production on Mon Sep 14 17:24:43 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connect to an instance is idle.
SQLTry to remove the ending ' / ' the ORACLE_HOME environment variable.
-
sqlplus 'virtue sysdba' = >; ora-01017
Hi all
I have a 11.2.0.4 database installed on Linux 6.5 customer virtualbox.
I access the database through the client linux itself.
I was able to initially managed to connect as SYS, and I've updated the password using the alter command.
However, I am now unable to connect externally as SYS using third-party applications such as developer of Toad or sql. (Yes I put it to SYSDBA) (I can connect applications, so external connections are accepted).
And when I try to open a session with the command of "virtue sysdba" sqlplus, I get the error message ora-0107 name username/password invalid.
I logged in as the SYSTEM user and changed the password once again, but still no luck. I made sure that we do not use a password file.
Can anyone suggest anything else to try?
See you soon,.
Russ.
sqlplus sys/password@EBSDB AS SYSDBA
-
Security problem for sqlplus / as sysdba
Hi all
11.2.0.1
My boss is not comfortable with the command "sqlplus / as sysdba. It seems would prefer that a name of user and password be used or forced? as in 'sqlplus sys/change_on_install as sysdba'
Is there really an advantage or a drawback of this command in terms of security?
Your comment is very much appreciated.
Merry Christmas to all!
Thank you
pK
In addition to the response of Hemant see this demo:
C:\Windows\System32>sqlplus / as sysdba
SQL * more: Production release 11.2.0.1.0 Thu Dec 26 10:58:07 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
C:\Windows\System32>type E:\app\serverroom\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
sqlnet.ora # Network Configuration file: E:\app\serverroom\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers can opt for
# install 'Software Only', this file does not 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)
I am able to connect as / dBA because I SQLNET. AUTHENTICATION_SERVICES = (NTS)
OK, now I am just cheigng NTS to ZERO and now tries to connect / as sydba:
C:\Windows\System32>type E:\app\serverroom\product\11.2.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
sqlnet.ora # Network Configuration file: E:\app\serverroom\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers can opt for
# install 'Software Only', this file does not exist and without the native
authentication #, they will not be able to connect to the database on NT.
SQLNET. AUTHENTICATION_SERVICES = (NONE)
NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
C:\Windows\System32>sqlplus / as sysdba
SQL * more: Production release 11.2.0.1.0 Thu Dec 26 11:02:31 2013
Copyright (c) 1982, 2010, 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
SYS C:\Windows\System32>sqlplus / * as sysdba
SQL * more: Production release 11.2.0.1.0 Thu Dec 26 11:02:43 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
C:\Windows\System32 >
So, just change SQLNET. AUTHENTICATION_SERVICES (NTS) in SQLNET. AUTHENTICATION_SERVICES (None) in sqlnet.ora and you did.
Concerning
Girish Sharma
-
I am faced with the following question:
On a database of eBS 11.1 data, I see that all known "sqlplus / as sysdba ' does not work, he responds with: become insufficient
I have the password and as far as I can see, so the SYS password gets validated positively, but then he says I have to use the SYSDBA role to login as SYS, and that's the problem.
So, I'm looking for a solution for this problem. Maybe if I can connect as SYS, but WITHOUT the SYSDBA role, which can solve the problem as well.
What happened to cause this (because it must have worked in a first time), there was a database upgrade, which may have been the cause of this problem.
The eBS environment is a Vision 12.1.3
It is not a production, or a copy of a production database (to be clear about this)
PL see the troubleshooting steps in MOS Docs 761830.1 and 730067.1
HTH
Srini -
sqlplus / as sysdba - how it works
When connect us as
sqlplus / as sysdba
connect us as user SYS, but how no user name or password is given, but still we log on as user SYS?There is no problem, but my question is if I give the oracle sysdba privileges $ ops, should I logged under oracle not sys...
(correct me if I'm wrong :(Try to query
SELECT * FROM V$ PWFILE_USERS;You will see the user SYS will be give SYSDB privs, so everything you create or login. (.in your oracle of $ ops cases), but when you are login "* as sysdba * ', you will be connected as SYS.
:) -
sqlplus / as sysdba with insufficient privileges error
I installed Oracle 10.2.0.1 on Windows XP. I then installed 10g Release 2 (10.2.0.4) Patch Set 3 for Microsoft Windows (32-bit). I imported a database using pump data and then tried to connect in Windows XP box so I could change the sys using password:
but I get the following error:sqlplus / as sysdba
My Windows XP box has access to two other databases that are located on a separate server. I then tried to connect using sqlplus to a user account that was on one of the other databases and it me connected. So my problem seems to be that when I enter:sqlplus / as sysdba SQL*Plus: Release 10.2.0.4.0 - Production on Mon Dec 6 07:58:51 2010 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. ERROR: ORA-01031: insufficient privileges
He thinks I'm trying to connect to one of the other servers. How to connect using the command above and the target of the Windows XP box, I'm trying to connect from? How can I specify the server that I want to connect to in the above command?sqlplus / as sysdba
Just found it!
Check $ORACLE_HOME/network/admin/sqlnet.ora file it provide SQLNET. AUTHENTICATION_SERVICES = (NTS)
then try again
-
sqlplus / as sysdba on command prompt
Hello
I am new to oracle db on the Windows environment. I've done a set ORACLE_SID = DGSC
then a sqlplus / as sysdba
I had insufficient privileges error. Can you get it someone please let me know where is the problem?This may be useful documentation
You can try to connect to sqlplus sys/password as sysdbaREAD
http://download.Oracle.com/docs/CD/B14117_01/server.101/b10739/DBA.htm#sthref98SS
-
How to activate the connection with sqlplus / as sysdba?
Hello
I downloaded the virtual appliance of the developer day since that's Developer Day - hands-on data application development
Connection with sqlplus sys/oracle as a sysdba work
But for our scripts, I need to connect to sqlplus / as sysdba (os user's oracle).
If I try to open a session with / as sysdba I get this:
[oracle@localhost ~]$ sqlplus / as sysdba SQL*Plus: Release 12.1.0.2.0 Production on Tue Nov 3 02:13:34 2015 Copyright (c) 1982, 2014, Oracle. All rights reserved. ERROR: ORA-01017: invalid username/password; logon denied Enter user-name:
How can I activate the oracle user to login with / as sysdba?
Thank you
Al
It seems that I found the solution:
http://www.stojanveselinovski.com/blog/2014/07/07/Oracle-12C-developer-days-VM/
Very funny this TWO_TASK / ORACLE_SID. :-)
CurrentY I can connect to sqlplus / as sysdba - I'm going to restore the virtual machine and try again if this is really the solution. :-)
-
RMAN target / and sqlplus / as sysdba
Hello
Oracle Database 12 c Release 1 under Oracle Linux. 64 bit. Running on Virtual Box using Oracle OTN Developer day pre-defined VM.
[oracle@localhost ~]$ sqlplus hr/oracle SQL*Plus: Release 12.1.0.1.0 Production on Sat May 23 14:50:17 2015 Copyright (c) 1982, 2013, Oracle. All rights reserved. ERROR: ORA-28002: the password will expire within 7 days Last Successful login time: Sat May 23 2015 13:56:37 -04:00 Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options PDB1@ORCL> select status from v$instance; STATUS ------------ OPEN
[oracle@localhost ~]$ sqlplus / as sysdba SQL*Plus: Release 12.1.0.1.0 Production on Sat May 23 14:56:15 2015 Copyright (c) 1982, 2013, Oracle. All rights reserved. ERROR: ORA-01017: invalid username/password; logon denied Enter user-name:
[oracle@localhost ~]$ rman target / Recovery Manager: Release 12.1.0.1.0 - Production on Sat May 23 14:57:32 2015 Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved. RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-00554: initialization of internal recovery manager package failed RMAN-04005: error from target database: ORA-01017: invalid username/password; logon denied [oracle@localhost ~]$
secondary groups are oper, s/n, oracle oinstall is the main group of the oracle user
groupadd oper usermod -g oinstall -G dba,oracle,oper oracle
that will allow me to connect to the user sys using sqlplus and rman with rman target /.
?
Thank you
I guess you TWO_TASK env var set, pointing perhaps to a service PDB name?
echo $TWO_TASK
unset TWO_TASK
sqlplus / as sysdba
-
ORA-01031: insufficient when privileges loggin under sqlplus "/ as sysdba".
I recently got a brand new box of Solaris. Have restored the ORacle home from a live server.
then went to restore a database to a tape.
Everything is made of fine.
However I can't seem to open as
$> sqlplus "/ as sysdba".
I can only open as
$> sqlplus/nolog
then
SQL > connect sys/password as sysdba
I closed the database and recreated password file
orapwd file = $ORACLE_HOME/dbs/orapwFMZ password = entries passowrd = 50
Tried but the same answer... a coil which is below.
$ sqlplus "/ as sysdba".
SQL * more: version 9.2.0.8.0 - Production on Thu Apr 5 09:49:23 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter the user name: ^ C ^ X ^ Z
SQL > connect / as sysdba
ERROR:
ORA-01031: insufficient privileges
$ sqlplus/nolog
SQL * more: version 9.2.0.8.0 - Production on Thu Apr 5 09:49:36 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL > connect sys/password as sysdba
Connect to an instance is idle.
SQL > startup
ORACLE instance started.
Total System Global Area 68386816 bytes
Size bytes 729088 fixed
54525952 variable size bytes
Buffers data 12582912 bytes
Redo buffers 548864 bytes
Mounted database.
Open database.
SQL > shutdown immediate
The database is closed.
The database is dismounted.
ORACLE instance stops.
I've included a list of parameters below FYI
SQL > show the distance parameter
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
real chain of remote_archive_enable
remote_dependencies_mode string TIMESTAMP
remote_listener chain
Remote_login_passwordfile channel SHARED
REMOTE_OS_AUTHENT Boolean TRUE
remote_os_roles boolean FALSE
Please can someone help.
Best regards
M
Published by: user5856470 on April 5, 2012 02:11There is something wrong at the level of the BONE. Check if the user that you are connected to the computer (usually oracle) is part of the ORA_DBA group.
Good luck
Nirmal
-
sqlplus / as sysdba not connect after oracle xe name sid and service change
Hello
I changed the SID and Service name of Oracle XE "XE" to "CTR".
After that, I couldn't connect is no longer at the "sqlplus / as sysdba.
ERROR:
ORA-12560: TNS:protocol adapter error
My tnsnames.ora:
CTR =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = ng-w2405ztfio0d)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CTR)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
My listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(= Extproc PROGRAM)
)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(= Extproc PROGRAM)
)
(SID_DESC =
(SID_NAME = CTR)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP) (HOST = ng-w2405ztfio0d)(PORT = 1521))
)
)
DEFAULT_SERVICE_LISTENER = (CTR)
Help me please
I thankHello
Yes, the host is Windows Server 2003.
I created a new service for the new SID. Followed all the steps to make the changeHow did you create the Oracle database Service? Have you used ORADIM to remove and create the new Instance?
http://download.Oracle.com/docs/CD/B19306_01/win.102/b14304/create.htm#i1006533
If you have created the new OracleServicePRTLservice, check who is started correctly.
Then try a connection as follows from a DOS window:
set ORACLE_SID=PRTL sqlplus / nolog connect / as sysdba
Hope this helps.
Best regards
Jean Valentine -
How to put a password on sqlplus / as sysdba
Hi guys,.
Is it possible to put a password when you connect to sqlplus using sysdba?
ex: sqlplus / as sysdba
This will directly connect you to sqlplus.
Kind regards
DexterEdit the sqlnet.ora
$ORACLE_HOME/network/admin/sqlnet.ora
#sqlnet.authentication_services = none -
Question about the connection using the "sqlplus / as sysdba.
Good afternoon
The command:
worked very well for the Oracle server. When I go to a client, it does not work even if I specify the correct instance. On the client, I can able to connect using one of these two commands:sqlplus / as sysdba
The question is: is the form "/ as sysdba" limited to used on the Oracle server and not available for customers?sqlplus.exe sys/abc123@"orahost.john.local:1521/dbca.john.local" as sysdba or sqlplus.exe sys/abc123@dbca as sysdba but not sqlplus / as sysdba or sqlplus /@dbca as sysdba
Thank you for your help,
John.is the form "/ as sysdba" limited to use on the Oracle Server
Yes
and not available for customers?
Yes
-
difference between sqlplus /nolog and sqlplus "/ as sysdba".
HI ppl,
Please help me with this... This is an emergency of lill
On the oracle 10g platform, what is the difference between sqlplus /nolog and sqlplus "/ as sysdba".
concerningZombie says:
Thnx for the people of responses,but not giving sqlplus/nolog... Disable writing to the Oder, the session is opened in mode nologing IE?
concerning
Laughing out loud
Do not assume that everywhere where NOLOG is mentioned it means no. LOGGINg:-D. By sqlplus / nolog, you did nothing but had just the sql command prompt without really connecting as any user. You will still need to connect, by some users to start your work. This has NOTHING to do with do it again / cancel and anything else.
The other command will actually to connect as user Sys with Sysdba role.
That said, I STRONGLY suggest you to read this book for sure.
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/TOC.htmHTH
Aman...
Maybe you are looking for
-
How can I contact Toshiba service by e-mail?
I met big problem after updating the bios from toshiba Web site.I asked for help, but it seems that my problem is complicated.So, how can I contact with tosiba engineers? Bios 1.30 is far from perfect. Satellite A110-275: more a low-memory graphics c
-
Excerpt from my table using the loop For
Hello I have this loop to create a 2D array. The result is on the table below. I want that this 2D table should be fully completed and compiled, then it will be sent out of the loop. I don't want to extract the value of table 2D is a loop. This is th
-
Error updating service runs is not impossible to install Windows update
Original title: Windows Update Windows Update may not work because the update service is not running. There is no error message for this error number.
-
Unable to connect Readyshare via netgear WNDR3700v2
Original title: v Readyshare Win7 64bits I have a netgear WNDR3700v2 which I hooked a USB up to. My Samsung TV and laptop XP see the end drive - laptop can read and write. My problem is with my main computer that is running Windows 7 64 bit. I can
-
How to use drawFilledPath() to draw several paths
Hello I am able to draw several paths using the drawPathOutline(), but the same code for the drawFilledPath() throws the exception with invalid arguments. My code below. Bitmap img1 = new Bitmap (500,500);Graphics gt = Graphics.create (img1);