I coud not connect by sqlplus / as sysdba
export ORACLE_SID=prod
sqlplus / as sysdbait gives the following error:
ora-01030:insufficient privilege
how could i login by / as sysdba? do i need some setting?
You should create a special group for 'dba'.
Some installations also prefer you create an 'oinstall', but I prefer not to use it myself.
Rather, I just use the 'dba' group.
You should have an entry in your /etc/group file similar to:
dba:!:201:oracle
Then, in your password file, you should see the 'group' field (4th field) with the group ID that is in the /etc/group file.
oracle:!:215:201::/home/oracle:/usr/bin/ksh
Above, notice that the password entry notes the Oracle User ID (UID) is 215, and the Group ID (GID) is 201.
This is just an example (of course), and yours will be different.
As a recommendation, you might make a DBA group with ID 501 and then change the Oracle group ID to 501.
Similar Messages
-
Cannot connect via sqlplus as sysdba
Hi,
I have Oracle 10g setup on Redhat Enterprise v4. I was able to do everything I needed until I rebooted. Now I can't connect using sqlplus. I get error ora-01031 when I type "connect system/*** AS SYSDBA" Anyone know what why this is happening?
Any help would be appreciated.
Thanks,
AdamAccording to me this should be dba, why its showing the group as oracle?I'm not sure why it's showing up as oracle. Do I need to change this? As far as I can tell, oracle is a group that no user is a member of.
Did you ever able make connection using / as sysdba?On this computer, I don't think I ever logged in as sysdba other than just as a system user.
What group did you specify while installing the software?groupadd oinstall
groupadd dba
groupadd oper
usermod -g oinstall -G dba oracle
Pretty much followed http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnRedHatAS4.php and the oracle docs on installation.
Message was edited by:
user529261 -
Could not connect from SQLPLUS
hi guys, i have a problem with my Oracle
My Database 10g database is on AIX 5L, I can connect to this database from local and i can connect from others computer, but i have a problem when i want connect from one oh my server which is installed with Oracle 10g as well. here is the error
ora10g@prod01:/home/ora10g> sqlplus system@devbant01
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 28 15:02:38 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-00600: internal error code, arguments: [kssadd_stage: null parent], [], [],
ERROR:
ORA-00600: internal error code, arguments: [kssadd_stage: null parent], [], [],
Error accessing package DBMS_APPLICATION_INFO
SP2-0575: Use of Oracle SQL feature not in SQL92 Entry Level.
SQL>
anyone knows about this problem and how to fixed it?..it could not connect only from this server where others i can connect
please help
ThanksSeems a bug described in the metalink note 419992.1 solved by applying patchset 10.2.0.3.
Nicolas. -
ORA-01031: insufficient privileges when loggin in as sqlplus "/ as sysdba"
I have recently got a brand new Solaris Box. Have restored the ORacle Home from a live server.
then gone to restore a database from Tape.
All done fine.
However I cannot seem to login as
$>sqlplus "/ as sysdba"
I can only seem to login as
$>sqlplus /nolog
then
SQL>connect sys/password as sysdba
I have shut the Database down and recreated the password file
orapwd file=$ORACLE_HOME/dbs/orapwFMZ password=passowrd entries=50
Tried again but the same response... a spool of which is below.
$ sqlplus "/ as sysdba"
SQL*Plus: Release 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 user-name: ^C^X^Z
SQL> connect / as sysdba
ERROR:
ORA-01031: insufficient privileges
$ sqlplus /nolog
SQL*Plus: Release 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
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 68386816 bytes
Fixed Size 729088 bytes
Variable Size 54525952 bytes
Database Buffers 12582912 bytes
Redo Buffers 548864 bytes
Database mounted.
Database opened.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
I have inlcuded a list of parameters below FYI
SQL> show parameter remote
NAME TYPE VALUE
remote_archive_enable string true
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string SHARED
remote_os_authent boolean TRUE
remote_os_roles boolean FALSE
Please can someone help.
Best Regards,
M
Edited by: user5856470 on Apr 5, 2012 2:11 AMI have tried what has been suggested but with no result
SQL> alter system set remote_login_passwordfile=exclusive scope=spfile;
SQL> show parameter remote_log
NAME TYPE VALUE
remote_login_passwordfile string EXCLUSIVE
SQLNET.AUTHENTICATION_SERVICES = (ALL)
NAMES.DIRECTORY_PATH= (TNSNAMES)
Bounced the database but no result...
$ sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.8.0 - Production on Tue Apr 10 15:54:37 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
I have reset the parameters back to original. As this is the parameters in the source database system which is working with sqlplus "/ as sysdba"
As you can see, I can log in as below but not with remote authentication....
$ sqlplus
SQL*Plus: Release 9.2.0.8.0 - Production on Tue Apr 10 15:54:42 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter user-name: sys/password as sysdba
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
FYI.
I did delete the password file and recreated it as well. But cannot still connect as sqlplus "/ as sysdba"
Any Ideas??? -
Dears
i would like to log in sqlplus (user)/(password) as sysdba without writing the user and password just want to write " sqlplus / as sysdba "
any help???
thank you dearsHi,
In the Oracle server you are able to connect using sqlplus / as sysdba. From a client, you can create a Wallet in order to use the Secure External Password Store
When clients are configured to use the secure external password store, applications can connect to a database with the following CONNECT statement syntax, without specifying database login credentials: connect /@db_connect_string where db_connect_string is a valid connect string to access the intended database, such as the service name, URL, or alias as illustrated in the earlier examples.
Cheers
Legatti -
Cannot connect to sqlplus as / as sysdba
Dear Folks,
I am not able to connect to sqlplus as / as sysdba .I can see remote_os_authent=true,in the sqlnet.ora SQLNET.AUTHENTICATION_SERVICES= (NTS)
but for some reasons i am not able to connect it with / as sysdba.Kindly help me with this issue .Thanks in advance.
my enviroinment .
oracle 10.2.04 sparc 64 bit
sun solaris 10 sparc 64 bitPrasanna.N wrote:
Dear Folks,
I am not able to connect to sqlplus as / as sysdba .I can see remote_os_authent=true,in the sqlnet.ora SQLNET.AUTHENTICATION_SERVICES= (NTS)
but for some reasons i am not able to connect it with / as sysdba.Kindly help me with this issue .Thanks in advance.
my enviroinment .
oracle 10.2.04 sparc 64 bit
sun solaris 10 sparc 64 bitAnd what error you get?!
Kamran Agayev A.
Oracle ACE
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/ -
Oracle instance is running but sqlplus "/as sysdba" says connected to idle.
Hi,
Oracle RAC is running(started the RAC using "srvctl start database -d hacmp") but when i am trying to connect to database using sqlplus "/as sysdba" it says "connected to idle instance".
Any idea what could be the issue here?
I have ORACLE_SID exported.
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 "/as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Sep 14 17:24:43 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
SQLIt's not a SQL*Plus bug but a Oracle feature: when you try to connect to a local Oracle instance Oracle computes the shared memory key (used by the instance SGA) using ORACLE_HOME and ORACLE_SID: if you add a character to ORACLE_HOME, the shared memory key will be different and Oracle does not find the instance and says "connected to an idle instance".
-
Unable to connect to Oracle using OS authentication (sqlplus / as sysdba)
Hello,
When I try to connect locally ,using OS authentication ( sqlplus / as sysdba ), on a Oracle database, I get "ORA-01031: insufficient privileges" error.
OS: Windows XP
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod.
connecting as sysdba using sys/pasword works.
I have setup :
-> Log on as a batch job
-> Log on as a service
I am also member of ORA_DBA group.
I mention that connecting "/ as sysdba" worked many months after I've installed the Oracle database. But at some moment in time connecting "/ as sysdba" was no longer possible.
C:\>sqlplus / as sysdba
SQL*Plus: Release 10.1.0.3.0 - Production on Wed May 23 11:08:52 2007
Copyright (c) 1982, 2004, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges.
Thank you for any suggestion.Hi,
I have the same issues from the beginning..
I have two Oracle homes ( One for earlier installed SOA10g, and another for current installing SOA11g).
I have the right sqlora.net file. I have removed the old path and reset to point the new oracle home. I have this home entry as the first entry in my Universal installer too.
I AM ABLE TO CONNECT WITH sys USER AS SYSDBA on THE SAME SYSTEM ( I MEAN WHERE i INSTALLED THE DATABASE) USING THE command prompt.
But I am not able to connect as the SYSDBA with sys ACCOUNT through the SQLDeveloper tool. or RCU tool? Any help please. Again I am able to connect as a normal user through the SQL developer using the SYSTEM account.
-- Khaleel -
Connect to sqlplus not validating username/password
Hello,
I have a sql script that I'm executing on the sqlplus command line after issuing a <b>sqlplus /nolog</b> command.
I'm passing in the username and password, as follows, to connect:<br><br><b>
connect &DBAUSERNAME1/&DBAPASS1 as sysdba;
<br><br></b>
But I do not understand why, if I enter an invalid username or password, it connects me anyways? Why is it not validating the username/password combination I supply?
Thank you,
LauraBecause of your "as sysdba" option. You're connected
like SYS.
SQL> conn sys/oracle@ora102 as sysdba
Connected.
sys@ORA102> conn sys/hello@ora102 as sysdba
ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
sys@ORA102>Because you connect locally and os authentification (i.e. your are in the trusted os group) is used. In this case password will not be verified.
Best regards
Maxim -
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!
Thanks1) 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. -
Hi ,
I have installed Oracle 11.2.0 . When connecting to sqlplus with sys as sysdba . Getting error as NO listener .
I started listener . But finally getting the message as
The listener supports no services
The command completed successfully
Kindly helpI am getting the same message
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/oracledb/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracledb.example.com)(PORT=1521)))
The listener supports no services
The command completed successfully
I don't find the services entry here . -
SQLPlus COPY error: ORA-03114: not connected to ORACLE
This is what I'm trying to do:
I'm logged into an Oracle 8.1.6 database on a Windows 2000 Professional box and trying to copy data and tables from an Oracle 7.3.4 database on an HP/UX box.
I log into my 8.1.6 SQLPlus as:
scott/tiger@testdb
Then I run the following:
SQL> set copycommit 1
SQL> set arraysize 1000
SQL> copy from user/user1@devp1 -
create reps_t -
using -
select * from reps_tThis is my error:
ORA-03114: not connected to ORACLE
Can someone give me a better understand how SQLPlus COPY works and give me an idea how to locate the problems.
Thanks,
Laith E.H.
nullI think this combination user/user1@devp1
is not ok.
U can get good material about copy command
from technet itself. Just search for Copy -
Sqlplus "/as sysdba" is not working
We created oinstall group & oracle user (group is oinstall) on Solaris 10, 64bit SPARC box. And installed oracle 10g release 2. From the UNIX box sqlplus "/as sysdba" is not working.
sqlplus
Enter user-name: sys as sysdba
Enter password:
is working fine.
What could be the problem? Please help.
Thanks,
PrasadFor any of a number of reasons, you do not have 'operating system authentication' enabled.
This setup is fairly well described here http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dba.htm#sthref149 -
Why sqlplus / as sysdba create 4 connections?
Hi all,
I have a 4 node rac set-up running 11.2.0.2.
If I log on to one of the 4 servers and connect to the database using sqlplus "/ as sysdba" it connects to the local database but also
creates another 4 connections (one on each instance) so I end up with 5 connections. I wanted to know
a) why it does this,
b) how it does this
c) can I stop it doing this (if I just so wanted to?)
Many thanksHi Billy,
your response made me dig a bit deeper, and I found out what it was!
My query to return sessions was from gv$session, and I was using the gv$session.module column to show the connection.
However, if I changed this from module to gv$session, it returned the oracle PZ99 process.
Looking on Metalink, I see this process is used to return data from remote nodes and was introduced in 10g RAC.
Looking at the columns together, you will see way I thought the way I did originally!
Inst SID SERIAL# USERNAME MODULE PROGRAM
1 35 17861 SYS sqlplus@db01 (TNS V1-V3) sqlplus@db01 (TNS V1-V3)
3 324 34635 SYS sqlplus@db01 (TNS V1-V3) oracle@db03 (PZ99)
2 320 46165 SYS sqlplus@db01 (TNS V1-V3) oracle@db02 (PZ99)
1 641 36247 SYS sqlplus@db01 (TNS V1-V3) oracle@db01 (PZ99)
4 639 39893 SYS sqlplus@db01 (TNS V1-V3) oracle@db04 (PZ99)Thanks -
SqlPlus 3.3 not connects to 10gR2 on Linux in WmWare
hi Gurus,
when trying to connect with SqlPlus 3.3 (oracle 7) on windows XP to a RDBMS 10gR2 (10.2.0.4) on Linux in WmWare, the window with SqlPlus 3.3 simply disappears...
Does anybody know what is happening?
Best regards.
Roberto.user8873789 wrote:
hi Gurus,
when trying to connect with SqlPlus 3.3 (oracle 7) on windows XP to a RDBMS 10gR2 (10.2.0.4) on Linux in WmWare, the window with SqlPlus 3.3 simply disappears...
Does anybody know what is happening?
Best regards.
Roberto.Oracle 7 was DEsupported before XP was a gleam in Bill Gates' eye. Even if you could get it started (on a platform for which it was designed) it won't connect to Oracle 10 databases.
Maybe you are looking for
-
Report Application Server (RAS) is online but inactive
Hi, Our BO runs on Unix. AIX5.3. A ccm.sh -start all starts all the servers without any error messages on screen or on the logfiles. However, the RAS is inactive according to the server status page and I can't view a report in infoview. The server ho
-
I was watching the tutoarial about Photoshop, and when he talked about Selection Colorization, I didn't understand why he put Blach in the RGB tab! Can anyone tell me, please?
-
Hi All, I am trying to use the @Match function within Datacopy but it gives me an error. Here is my code. Any help is appreciated. FIX (No_GEO, Plan, Functional) Datacopy @Match(Entity, "CC_????_S") TO @Match(Entity, "CC_????"); ENDFIX
-
(-69) Error when trying to upload songs on to iPod
All of the sudden when I try to upload songs on to my iPod I get a messages that says, and I quote, "Attempting to copy to the disk "Rob's iPod" failed. An unknown error has occered (-69). I went to apple store thinking it was a problem with the hard
-
GUID generator for database key entry?
I need to generate my own GUID (Globally Unique Identifier) which is required when I submit a test record to the SQL database. I've searched for info on this subject and come up empty handed. Is there any native functions or simple means of doing t