Solved

After setting REMOTE_LOGIN_PASSWORDFILE=NONE can't login to SYS as SYSDBA

Posted on 2010-08-28
7
1,835 Views
Last Modified: 2012-05-10
Oracle 10g

ran: ALTER SYSTEM SET remote_login_passwordfile=NONE scope=SPFILE;

Then rebooted the server.

Now everything works but when I try to log into sqlplus or the dbconsole with SYS as SYSDBA it says "insufficient privileges" in sqlplus and "invalid password" on the dbconsole login screen.

I did NOT change the SYS password and I was logged in as SYS when I ran the ALTER SYSTEM command so I know that I had the right password at that time.

All other logins, including SYSTEM, still work.

Any ideas on what happens here and how I can fix it?

Thanks.

0
Comment
Question by:gateguard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 8

Expert Comment

by:Chakravarthi Ayyala
ID: 33550995
The following will be the behaviour for "NONE" option.

none The default value. In this case, Oracle will ignore the password file, and only local privileged logins will be recognized for sysdba access.

Also, if you are connecting from DB console, are you giving the password and using a connect string?
Did you set your ORACLE_SID environment variable and try to connect just using the following?

sqlplus "/ as sysdba" ?
0
 
LVL 8

Accepted Solution

by:
Chakravarthi Ayyala earned 250 total points
ID: 33550998
The following will be the behaviour for "NONE" option.

none The default value. In this case, Oracle will ignore the password file, and only local privileged logins will be recognized for sysdba access.

Also, if you are connecting from DB console, are you giving the password and using a connect string?
Did you set your ORACLE_SID environment variable and try to connect just using the following?

sqlplus "/ as sysdba"
0
 

Author Comment

by:gateguard
ID: 33552355
when I try to log into sqlplus or the dbconsole with SYS as SYSDBA it says "insufficient privileges" in sqlplus and "invalid password" on the dbconsole login screen

I always use "as sysdba" with sys and my environment variable ORACLE_SID always as the correct value on this server.  This server has only one Oracle instance and I've checked the ORACLE_SID value many times while working on this problem.  It's always correct.
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 8

Assisted Solution

by:Rindbaek
Rindbaek earned 250 total points
ID: 33556495
is your user member of the OS DBA group? Typical  dba (on unix) and ora_dba on windows
0
 

Author Comment

by:gateguard
ID: 33562044
Yes, my local windows administrator login (that I use to log into the machine) is in the ora_dba group.

It was already there.  I didn't have to add it.

Still can't log in as SYS ("as SYSDBA") from anywhere on the server into this database.
0
 
LVL 8

Expert Comment

by:Rindbaek
ID: 33565358
have you deleted or renamed the password file?
0
 

Author Comment

by:gateguard
ID: 33647091
I played around with all these suggestions and finally got it working (though I didn't knowingly do anything differently than when it wasn't working).

Anyway, it's working now, somehow.  Thanks for your help.
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question